Postsync update gentoo
This commit is contained in:
Executable
+50
@@ -0,0 +1,50 @@
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit desktop pax-utils unpacker xdg
|
||||
|
||||
DESCRIPTION="Cider is a new cross-platform Apple Music experience built on Vue.js and written from the ground up with performance in mind"
|
||||
HOMEPAGE="https://cider.sh/"
|
||||
SRC_URI="https://repo.cider.sh/apt/pool/main/cider-v3.1.8-linux-x64.deb"
|
||||
S="${WORKDIR}/"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64"
|
||||
IUSE=""
|
||||
RESTRICT="strip"
|
||||
|
||||
BDEPEND="
|
||||
>=dev-util/patchelf-0.10
|
||||
sys-devel/gettext
|
||||
"
|
||||
RDEPEND="
|
||||
"
|
||||
|
||||
QA_PREBUILT="
|
||||
opt/spotify/spotify-client/spotify
|
||||
opt/spotify/spotify-client/libEGL.so
|
||||
opt/spotify/spotify-client/libGLESv2.so
|
||||
opt/spotify/spotify-client/libcef.so
|
||||
opt/spotify/spotify-client/libvk_swiftshader.so
|
||||
opt/spotify/spotify-client/libvulkan.so.1
|
||||
opt/spotify/spotify-client/swiftshader/libEGL.so
|
||||
opt/spotify/spotify-client/swiftshader/libGLESv2.so
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
# Spotify links against libcurl-gnutls.so.4, which does not exist in Gentoo.
|
||||
# patchelf --replace-needed libcurl-gnutls.so.4 libcurl.so.4 usr/bin/spotify \
|
||||
# || die "failed to patch libcurl library dependency"
|
||||
rm -r ./usr/lib/cider/locales
|
||||
rm -r ./usr/share/doc
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto /
|
||||
doins -r ${S}/usr
|
||||
fperms +x /usr/lib/cider/Cider
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user