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
|
||||
}
|
||||
Reference in New Issue
Block a user