Files
guru/media-sound/jriver/jriver-31.0.83.ebuild
Paul Zander c23791504e */*: update for virtual/zlib
Update done using:

```
git grep -l sys-libs/zlib sys-* | xargs sed -i -e s@sys-libs/zlib@virtual/zlib@g
git grep -l virtual/zlib-ng sys-* | xargs sed -i -e s@virtual/zlib-ng@sys-libs/zlib-ng@g
git diff --name-only | xargs copybump
git diff --name-only | xargs grep -l PYTHON_COMPAT | xargs gpy-impl -@dead
pkgcheck scan --commits -c SourcingCheck,VisibilityCheck --exit error
```

Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com>
2025-11-16 23:26:20 +01:00

58 lines
1.4 KiB
Bash

# Copyright 2023-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit unpacker xdg-utils
DESCRIPTION="A cross-platform media center, famous for high quality of audio."
HOMEPAGE="https://jriver.com/"
SRC_URI="https://files.jriver-cdn.com/mediacenter/channels/v31/latest/MediaCenter-${PV}-amd64.deb"
S="${WORKDIR}"
LICENSE="all-rights-reserved"
SLOT="0"
KEYWORDS="~amd64"
RESTRICT="strip"
REQUIRES_EXCLUDE="libcef.so" # Already inside
# TODO soon brotli dep will be dropped
RDEPEND="
app-arch/brotli
media-libs/alsa-lib
media-libs/libglvnd
virtual/zlib
x11-libs/gtk+
x11-libs/pango
x11-libs/libXrandr
x11-libs/libX11
"
QA_PREBUILT="*"
src_unpack() {
unpack_deb ${A}
}
src_install() {
# To solve this https://bugs.gentoo.org/915528
# "
# * This location is deprecated, it should not be used anymore by new software.
# * Appdata/Metainfo files should be installed into /usr/share/metainfo directory.
# * For more details, please see the freedesktop Upstream Metadata guidelines at
# * https://www.freedesktop.org/software/appstream/docs/chap-Metadata.html
# "
# I wrote to upstream https://yabb.jriver.com/interact/index.php/topic,138293.0.html
mv usr/share/appdata usr/share/metainfo
cp -R "${S}"/* "${D}" || die "Installing binary files failed"
}
pkg_postinst() {
xdg_desktop_database_update
xdg_mimeinfo_database_update
}