app-misc/spicetify-cli: drop 2.36.0
Signed-off-by: Alfred Wingate <parona@protonmail.com>
This commit is contained in:
parent
d2ea13f09a
commit
6c6dc11593
@ -1,5 +1,3 @@
|
||||
DIST spicetify-cli-2.36.0-deps.tar.xz 5206944 BLAKE2B ce5132e5c1ba1506838d0852b778b32c88bb4b696873fabbaa1ace8beeae7e58010ee416ed55d2fa51fac6b5adcc82217da3c9312991f733f7d04d6cf383553f SHA512 0927c9a4a02d0030f6a263a8808b5c5d676ef79375d367589b2903f683e29c600d41d74357c3599bc8602cb19cf20773b3391c96273ef4a35f135a47d6909148
|
||||
DIST spicetify-cli-2.36.0.tar.gz 2015804 BLAKE2B b135539ca626cb56dc1d27773ed3892dadf960dff5feab08f62804b060aacf5f005381d036b2afd0232a9f6e7aa728a31ae138aaef431d81e019a387d0de30d3 SHA512 accd48f18b9a2936ca3ba3b69aa173c8cfdc380314b4873e629ebc83173dbf6edf2ca756873ccf9c4bb68b9b4ecca4b2bdbb925eda6aef58b5768f78e11c88ba
|
||||
DIST spicetify-cli-2.36.1-deps.tar.xz 5206316 BLAKE2B 6af9c2d6f8da07b9dda88775dc98a37d034a66a92144843e709177ab5fc2d5883a66ff2b7a32c7db37366627156843288304dc2cf0ade9b509655c09c1e8f430 SHA512 637bc650a333f68e5bf217dc082d19a17b6d9cd4412f2736dc2be04d0dce146f3cd6854c0e4612cdb45cd921f8c196950e79fb5268cb370cecb0f1572f64f7a5
|
||||
DIST spicetify-cli-2.36.1.tar.gz 2016468 BLAKE2B 3369dabfe087402b8f5f16622934e95d76c6635673f5573a856528e6b6d09d34849c8c1fc7a2d706df3dbb7932054e865711fc2eae88368c8f53391dd8ef2cc8 SHA512 58f6bfbd9db614ef7112e166b623cee3a7f8e9f1987191907237c3f3a097f2cdf125a85db9fb14ac0ae270bb4ebc1cc7db4ebbb153bab72c555eb8fe919a33d0
|
||||
DIST spicetify-cli-2.36.2-deps.tar.xz 5205504 BLAKE2B cd9c42460feee3c9ff73239ee1f6fa272719700123e024e6fb74e9083768a7518ef079bef410143a39e084a23df7919907272de3ea53cd4c18154a1e9a489b68 SHA512 559aa76dd1d8a1adb3d6fe8d67c1e0bd6b81ce4f6bc63a29a648b4494f95ec667ab655ee707e1e8057a14ed8e8e2e1db9ef5b38fee9dafcf7517b5d085ce64f3
|
||||
|
@ -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.34"
|
||||
)
|
||||
|
||||
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