app-misc/spicetify-cli: drop 2.34.0
Signed-off-by: Alfred Wingate <parona@protonmail.com>
This commit is contained in:
parent
a5bb958844
commit
d73116b02a
@ -1,5 +1,3 @@
|
|||||||
DIST spicetify-cli-2.34.0-deps.tar.xz 5205496 BLAKE2B 4273d37d1d8cb76c55864a65e9ecf9a51773c234e1af4ccb5dd0fc00c986aa8c30790c7604ff8c36c79625010d02d8f38122ac385036752d23e51151e06ca947 SHA512 0dcefdc93be422a1272085e577afb1fdd8aeaf18d4f57ebb26841655c9404813d1ded8768e226627c35891a9d3de5c45f97a42cec764b92a4f767d1d6a423c82
|
|
||||||
DIST spicetify-cli-2.34.0.tar.gz 2011611 BLAKE2B db7e0687c32d21f8e1a7a3794173f6a0aa7976dfa6e24f032d930f2a76535434dc32907d9b39054bbb54127418676f4ece40b71ba24a3777f474ad4ac1e0d7a0 SHA512 1e72eb37cc06b424f29fd4b800cdeb923b599c2777cd7523fdc2da559de46b3ef8cdce87796c98a8009bb23eda5a6b45484388dcad5dc5c1e9366823dd06282a
|
|
||||||
DIST spicetify-cli-2.34.1-deps.tar.xz 5205568 BLAKE2B e4810d4d0486a853362d3f4937f712cccdaf703f8cd7825f80970ebbbbba1d53f81d4f2ee4872d94fda68e758ed43787b63e6891e8fe799288bdc1fdb60eced9 SHA512 316e244d0b0ab1dc558b9eaa7f7ceec113782931828190a6a1969c3735b8a1f557e143bfc6c910886adea303f5634e18013ac9597dfd03749b091e4218d92722
|
DIST spicetify-cli-2.34.1-deps.tar.xz 5205568 BLAKE2B e4810d4d0486a853362d3f4937f712cccdaf703f8cd7825f80970ebbbbba1d53f81d4f2ee4872d94fda68e758ed43787b63e6891e8fe799288bdc1fdb60eced9 SHA512 316e244d0b0ab1dc558b9eaa7f7ceec113782931828190a6a1969c3735b8a1f557e143bfc6c910886adea303f5634e18013ac9597dfd03749b091e4218d92722
|
||||||
DIST spicetify-cli-2.34.1.tar.gz 2011655 BLAKE2B c1426abdd387aaac0990004b18c535cfde08bc6fc5b505a41b9991cb27afbbf8fd3174cdb9a8a73ee820c6b137b99c9d70011a25af399befc81ce9facd4786c0 SHA512 4679b37e23d858de343f708726b9696f03eecf8030ce8b784019f7c2b87175deece5dd5ee928173573de13d324860896b7b2154b5cd2ae5180519daebee27416
|
DIST spicetify-cli-2.34.1.tar.gz 2011655 BLAKE2B c1426abdd387aaac0990004b18c535cfde08bc6fc5b505a41b9991cb27afbbf8fd3174cdb9a8a73ee820c6b137b99c9d70011a25af399befc81ce9facd4786c0 SHA512 4679b37e23d858de343f708726b9696f03eecf8030ce8b784019f7c2b87175deece5dd5ee928173573de13d324860896b7b2154b5cd2ae5180519daebee27416
|
||||||
DIST spicetify-cli-2.35.0-deps.tar.xz 5205260 BLAKE2B bed069c05081152e6255fcac3ab716dc1a20d4e02b4be1fe4e46e04805f2d185cf3cbe5f8daee58e00bb52a45ad62938025173661afab0fefd15d17fd7ff2846 SHA512 787a6e71931fb137f413aa33f14703a48a4f09c40c435cf7a32f21a83a3a0f7983cc44e0bf0e8fc6e27b68684cf676446f13547c971fb6c13bc5ab931144f4f4
|
DIST spicetify-cli-2.35.0-deps.tar.xz 5205260 BLAKE2B bed069c05081152e6255fcac3ab716dc1a20d4e02b4be1fe4e46e04805f2d185cf3cbe5f8daee58e00bb52a45ad62938025173661afab0fefd15d17fd7ff2846 SHA512 787a6e71931fb137f413aa33f14703a48a4f09c40c435cf7a32f21a83a3a0f7983cc44e0bf0e8fc6e27b68684cf676446f13547c971fb6c13bc5ab931144f4f4
|
||||||
|
@ -1,99 +0,0 @@
|
|||||||
# Copyright 1999-2024 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
inherit go-module
|
|
||||||
|
|
||||||
WHITELIST_VERSIONS=(
|
|
||||||
"<> 1.2.8 1.2.33"
|
|
||||||
)
|
|
||||||
|
|
||||||
whitelist_versions() {
|
|
||||||
local version_spec version1 version2
|
|
||||||
local -a deps
|
|
||||||
|
|
||||||
SPOTIFY_VERSIONS=
|
|
||||||
|
|
||||||
# Iterate in reverse for elog
|
|
||||||
for ((index = $(( ${#WHITELIST_VERSIONS[@]} - 1 )); index >= 0; index--)); do
|
|
||||||
read -r version_spec version1 version2 <<< "${WHITELIST_VERSIONS[${index}]}"
|
|
||||||
|
|
||||||
case ${version_spec} in
|
|
||||||
"<>")
|
|
||||||
deps[$index]="( <=media-sound/spotify-${version2} >=media-sound/spotify-${version1} )"
|
|
||||||
SPOTIFY_VERSIONS+="${version1} -> ${version2}"
|
|
||||||
;;
|
|
||||||
"~")
|
|
||||||
deps[$index]="~media-sound/spotify-${version1}"
|
|
||||||
SPOTIFY_VERSIONS+="${version1}"
|
|
||||||
;;
|
|
||||||
*)
|
|
||||||
die "Invalid version specifier in WHITELIST_VERSIONS"
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
if [[ ${index} == 0 ]]; then
|
|
||||||
SPOTIFY_VERSIONS+=". "
|
|
||||||
elif [[ ${index} == 1 ]]; then
|
|
||||||
SPOTIFY_VERSIONS+=" and "
|
|
||||||
else
|
|
||||||
SPOTIFY_VERSIONS+=", "
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
|
|
||||||
RDEPEND=" || ( ${deps[@]} )"
|
|
||||||
}
|
|
||||||
whitelist_versions
|
|
||||||
|
|
||||||
DESCRIPTION="Commandline tool to customize Spotify client."
|
|
||||||
HOMEPAGE="https://spicetify.app/"
|
|
||||||
SRC_URI="
|
|
||||||
https://github.com/spicetify/spicetify-cli/archive/v${PV}.tar.gz -> ${P}.tar.gz
|
|
||||||
https://gitlab.com/api/v4/projects/37881342/packages/generic/${PN}/${PV}/${P}-deps.tar.xz
|
|
||||||
"
|
|
||||||
|
|
||||||
LICENSE="Apache-2.0 BSD LGPL-2.1 MIT"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64"
|
|
||||||
|
|
||||||
# no tests
|
|
||||||
RESTRICT="test"
|
|
||||||
|
|
||||||
INSTALLDIR="/opt/${PN}"
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
ego build -ldflags "-X main.version=${PV}"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
insinto "${INSTALLDIR}"
|
|
||||||
doins -r {CustomApps,Extensions,Themes,jsHelper,spicetify-cli}
|
|
||||||
dobin "${FILESDIR}/spicetify"
|
|
||||||
fperms +x "${INSTALLDIR}/spicetify-cli"
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
elog "Spicetify requires a Spotify install that it can modify."
|
|
||||||
elog "To give read and write permissions to everyone on the system to run the following commands as root."
|
|
||||||
elog "# chmod a+wr /opt/spotify/spotify-client"
|
|
||||||
elog "# chmod a+wr /opt/spotify/spotify-client/Apps -R"
|
|
||||||
elog ""
|
|
||||||
elog "WARNING: Do not run spicetify as root please"
|
|
||||||
elog ""
|
|
||||||
elog "Spicetify compatibility is limited to the following Spotify versions:"
|
|
||||||
elog " ${SPOTIFY_VERSIONS}"
|
|
||||||
elog ""
|
|
||||||
elog "Otherwise you can install spotify to a user modifiable location like as a flatpak:"
|
|
||||||
elog " https://spicetify.app/docs/advanced-usage/installation#spotify-installed-from-flatpak"
|
|
||||||
elog ""
|
|
||||||
elog "To install themes see:"
|
|
||||||
elog " https://spicetify.app/docs/advanced-usage/themes"
|
|
||||||
|
|
||||||
if $(has_version -r ">=media-sound/spotify-1.2.25"); then
|
|
||||||
elog ""
|
|
||||||
elog "The New Releases custom app no longer works with Spotify 1.2.25 and higher. As an alternative,"
|
|
||||||
elog "please use What's New which was created by Spotify and can be enabled via Experimental Features"
|
|
||||||
elog "if it isn't already enabled."
|
|
||||||
fi
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user