Postsync update gentoo
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST cider-v3.1.8-linux-x64.deb 118940192 BLAKE2B c9c468388e7d451122231a2aeec73eaac089f58876de11626f2fbd5981c346a8e28d2a67183267e02dcd8fbb9d9abde3e42e31b28bbae52e80bf08408d3fa863 SHA512 f628cd62298e9a8fb7de7b25ce8109d90114ac43f57e1a2de5963636768a9f4b334ba9a8fe19465a1a768866c8ea276c0f6bdb9f9d77a4c8c83412f6f119dff3
|
||||
DIST cider-v4.0.9.1-linux-x64.deb 122486484 BLAKE2B a4b05e996d412fb70762356e259dba132b706a8fa21f323a6532686eb2425127f7bf5d662e4ee64e8841bde1e61b9a529626da60336ca4f1b5513ef49c8dda21 SHA512 f5c21496d62ef68e5c4c7e06aaf2b8557623f7a6f1b33c2996edb101828cf21b08931e4ff9e9808c9c543ba5404c270d98a4a6eafa3a2cbce1d819b8ac3e6a96
|
||||
|
||||
@@ -0,0 +1,95 @@
|
||||
# Copyright 2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit desktop optfeature unpacker xdg
|
||||
|
||||
DESCRIPTION="A cross-platform Apple Music experience built on Vue.js (Proprietary V4)"
|
||||
HOMEPAGE="https://cider.sh/"
|
||||
|
||||
SRC_URI="https://repo.cider.sh/apt/pool/main/cider-v${PV}-linux-x64.deb"
|
||||
S="${WORKDIR}"
|
||||
LICENSE="all-rights-reserved"
|
||||
SLOT="0"
|
||||
KEYWORDS="-* ~amd64"
|
||||
|
||||
# RESTRICT:
|
||||
# - bindist: License forbids redistribution.
|
||||
# - strip: Do not strip bundled libraries (breaks integrity/DRM).
|
||||
RESTRICT="bindist mirror strip"
|
||||
|
||||
# RDEPEND:
|
||||
# - gtk+:3[X]: Ensure GTK supports X11 (required by the binary).
|
||||
# - virtual/libudev: Required by Electron for device detection.
|
||||
RDEPEND="
|
||||
app-accessibility/at-spi2-core
|
||||
app-crypt/libsecret
|
||||
dev-libs/expat
|
||||
dev-libs/glib:2
|
||||
dev-libs/nspr
|
||||
dev-libs/nss
|
||||
media-libs/alsa-lib
|
||||
media-libs/mesa[gbm(+)]
|
||||
net-print/cups
|
||||
sys-apps/dbus
|
||||
virtual/libudev:=
|
||||
x11-libs/cairo
|
||||
x11-libs/gdk-pixbuf:2
|
||||
x11-libs/gtk+:3[X]
|
||||
x11-libs/libX11
|
||||
x11-libs/libXcomposite
|
||||
x11-libs/libXdamage
|
||||
x11-libs/libXext
|
||||
x11-libs/libXfixes
|
||||
x11-libs/libXrandr
|
||||
x11-libs/libXScrnSaver
|
||||
x11-libs/libXtst
|
||||
x11-libs/libdrm
|
||||
x11-libs/libxcb
|
||||
x11-libs/libxkbcommon
|
||||
x11-libs/pango
|
||||
x11-libs/libnotify
|
||||
x11-misc/xdg-utils
|
||||
"
|
||||
|
||||
# Silence QA warnings about the bundled ELF files.
|
||||
QA_PREBUILT="
|
||||
/opt/cider/Cider
|
||||
/opt/cider/chrome-sandbox
|
||||
/opt/cider/chrome_crashpad_handler
|
||||
/opt/cider/libEGL.so
|
||||
/opt/cider/libGLESv2.so
|
||||
/opt/cider/libffmpeg.so
|
||||
/opt/cider/libvk_swiftshader.so
|
||||
/opt/cider/libvulkan.so.1
|
||||
"
|
||||
|
||||
src_unpack() {
|
||||
# Unpack the deb file defined in SRC_URI.
|
||||
# The .deb contains 'data.tar.zst', which unpacker.eclass handles automatically.
|
||||
unpack_deb "${DISTDIR}/${A}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
domenu usr/share/applications/cider.desktop
|
||||
doicon usr/share/pixmaps/cider.png
|
||||
|
||||
insinto /opt
|
||||
doins -r usr/lib/cider
|
||||
|
||||
dosym ../../opt/cider/Cider /usr/bin/cider
|
||||
|
||||
fperms +x /opt/cider/Cider
|
||||
|
||||
# Chrome Sandbox (Requires SUID)
|
||||
if [[ -f "${D}/opt/cider/chrome-sandbox" ]]; then
|
||||
fperms 4755 /opt/cider/chrome-sandbox
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_pkg_postinst
|
||||
optfeature "Wayland support" "x11-libs/gtk+:3[wayland]"
|
||||
optfeature "Trash support" app-misc/trash-cli
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
DEFINED_PHASES=install postinst postrm preinst unpack
|
||||
DESCRIPTION=A cross-platform Apple Music experience built on Vue.js (Proprietary V4)
|
||||
EAPI=8
|
||||
HOMEPAGE=https://cider.sh/
|
||||
IDEPEND=dev-util/desktop-file-utils x11-misc/shared-mime-info
|
||||
INHERIT=desktop optfeature unpacker xdg
|
||||
KEYWORDS=-* ~amd64
|
||||
LICENSE=all-rights-reserved
|
||||
RDEPEND=app-accessibility/at-spi2-core app-crypt/libsecret dev-libs/expat dev-libs/glib:2 dev-libs/nspr dev-libs/nss media-libs/alsa-lib media-libs/mesa[gbm(+)] net-print/cups sys-apps/dbus virtual/libudev:= x11-libs/cairo x11-libs/gdk-pixbuf:2 x11-libs/gtk+:3[X] x11-libs/libX11 x11-libs/libXcomposite x11-libs/libXdamage x11-libs/libXext x11-libs/libXfixes x11-libs/libXrandr x11-libs/libXScrnSaver x11-libs/libXtst x11-libs/libdrm x11-libs/libxcb x11-libs/libxkbcommon x11-libs/pango x11-libs/libnotify x11-misc/xdg-utils
|
||||
RESTRICT=bindist mirror strip
|
||||
SLOT=0
|
||||
SRC_URI=https://repo.cider.sh/apt/pool/main/cider-v4.0.9.1-linux-x64.deb
|
||||
_eclasses_=desktop e447b5f77146d69797e9f03ff177f3f1 optfeature 58cc13bdc4e9a204077e1e7c9a1d7988 eapi9-pipestatus d2c134036ac31c3085aebc9147f572bd multiprocessing 45d0620f25c2f063ad6276ecd9ed9399 toolchain-funcs 58a918e3a42d0156f010dcfd43725be5 unpacker a89c769f7dcf68bd2a6d23da9ede2ad2 xdg-utils 42869b3c8d86a70ef3cf75165a395e09 xdg 3ef49a87c52c8b77c476351195dfe575
|
||||
_md5_=a26a40baed7b6d80893893ae7f39ad53
|
||||
Reference in New Issue
Block a user