X-Git-Url: https://gitweb.arthurtaft.net/custom-tools.git/blobdiff_plain/77d2eac56393f10d34e6e2c0ccc4d64510d6a319..8924374173dee6118990afed86e31c7962906da4:/media-sound/cider/cider-3.0.0.ebuild diff --git a/media-sound/cider/cider-3.0.0.ebuild b/media-sound/cider/cider-3.0.0.ebuild index d507342..1729b4a 100644 --- a/media-sound/cider/cider-3.0.0.ebuild +++ b/media-sound/cider/cider-3.0.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -12,7 +12,7 @@ inherit chromium-2 desktop multilib-build pax-utils unpacker xdg DESCRIPTION="A new cross-platform Apple Music experience based on Electron" HOMEPAGE="https://cider.sh" -SRC_URI="cider-v3.0.0-linux-x64.pkg.tar.zst" +SRC_URI="${P}-linux-x64.pkg.tar.zst" S="${WORKDIR}" LICENSE="all-rights-reserved" @@ -59,27 +59,7 @@ pkg_nofetch() { einfo "and place it into your DISTDIR directory" } -#src_prepare() { -# default -# pushd lib/cider/locales || die "pushd failed" -# chromium_remove_language_paks -# popd || die "popd failed" -# -# rm lib/cider/LICENSES.chromium.html \ -# || die "rm licenses failed" -# -# if ! use suid ; then -# rm lib/cider/chrome-sandbox || die "rm failed" -# fi -#} - src_install() { - doicon usr/lib/cider/resources/public/icon.png - dosym usr/lib/cider/resources/public/icon.png \ - /usr/share/pixmaps/cider.png - - domenu usr/share/applications/cider.desktop - insinto /opt/Cider doins -r usr/. fperms -R +x /opt/Cider/bin/cider /opt/Cider/lib/cider/chrome_crashpad_handler \ @@ -87,7 +67,10 @@ src_install() { /opt/Cider/lib/cider/libvulkan.so.1 use suid && fperms u+s,+x /opt/Cider/lib/cider/chrome-sandbox - dosym ../Cider/bin/cider usr/bin/cider + domenu /opt/Cider/share/applications/cider.desktop + dosym /opt/Cider/bin/cider /usr/bin/cider + dosym /opt/Cider/lib/cider/resources/public/icon.png /usr/share/pixmaps/cider.png + newicon -s 256 /opt/Cider/lib/cider/resources/public/icon.png cider.png pax-mark -m "${ED}"/opt/Cider/cider }