app-misc/spicetify-cli: drop 2.31.0

Signed-off-by: Alfred Wingate <parona@protonmail.com>
This commit is contained in:
Alfred Wingate 2024-02-11 00:47:01 +02:00
parent ae18f2691a
commit 7339610402
No known key found for this signature in database
GPG Key ID: A12750536B5E7010
2 changed files with 0 additions and 101 deletions

View File

@ -1,5 +1,3 @@
DIST spicetify-cli-2.31.0-deps.tar.xz 5177792 BLAKE2B 1cfc1c659e2f5eb337e232a83b3e1619f9ebfa4c48a5b0a0d374eecaadca33f255badb81860e7817ce9d40a7e29fd30700fc2c548074166ef6f4022a979bb509 SHA512 2f824304d9e539b967a987c7d802d6979030befdf28ab395dd2da5d7142c0aeff1dfd138ae61edc7510fb2aa01e62488d14e6c5229331b51bc9d1811b52a8f57
DIST spicetify-cli-2.31.0.tar.gz 2012768 BLAKE2B 656b3d9c781371bc40d141abc977667e28f3f5366585e9706cc50188051f3973d49f5aecfbf7930d3f2f46c526ad39b1b2bdf1855aa64dff0bdee44350f08f79 SHA512 a93f757ade662d54a0f50e03ef1ecd94d20154787d57b105bffd780ca543dfb6abc644e94e0c36728ccbe3214fc723a14a9016b2d235ef5c6d024ff23e550a61
DIST spicetify-cli-2.31.1-deps.tar.xz 5176176 BLAKE2B 76f9276845011fc92d093150d609a699d1214f46e89844973da89eb1c5806d235707329a1d4dc5ac08560c57af43ce44bc4736ead4e7e81aafd3e3ea62c83217 SHA512 46baae041f19e6eaf2a742c5406a03150572e58b99ee1d3c0c6e1976d2fbd2b7373ae4e5270029c57528bc5d48e175ad39b68840424679a8d3573279ea732083 DIST spicetify-cli-2.31.1-deps.tar.xz 5176176 BLAKE2B 76f9276845011fc92d093150d609a699d1214f46e89844973da89eb1c5806d235707329a1d4dc5ac08560c57af43ce44bc4736ead4e7e81aafd3e3ea62c83217 SHA512 46baae041f19e6eaf2a742c5406a03150572e58b99ee1d3c0c6e1976d2fbd2b7373ae4e5270029c57528bc5d48e175ad39b68840424679a8d3573279ea732083
DIST spicetify-cli-2.31.1.tar.gz 2012625 BLAKE2B 1834fcbba54e63115c66d012ad60395bfbcafea96954f18812f6c226dfcbfba0ed58269e497c643e8f9952e96938514059573b2e6d37e32a05e5307b99989b82 SHA512 aaad88f0573905b8930a4794771ad8f88214505dd162bb81a0a6a31be53128fc57854ccfb804e13854cef5c8838d8dd459bfa5017cc61dc30bffaa436378f885 DIST spicetify-cli-2.31.1.tar.gz 2012625 BLAKE2B 1834fcbba54e63115c66d012ad60395bfbcafea96954f18812f6c226dfcbfba0ed58269e497c643e8f9952e96938514059573b2e6d37e32a05e5307b99989b82 SHA512 aaad88f0573905b8930a4794771ad8f88214505dd162bb81a0a6a31be53128fc57854ccfb804e13854cef5c8838d8dd459bfa5017cc61dc30bffaa436378f885
DIST spicetify-cli-2.31.2-deps.tar.xz 5178132 BLAKE2B 38adc049908a42b9fa6c184515db45f0bf16a4e937b87f2ddc16f8c4b317b9f5fa87e0053c639f682ccb0426ea45a44d706a2ff92535970677dbcf726e273c7a SHA512 abe478080a19e0709dd5e0d232896a6c00f7b2fc756eaac8257c7c5139b027ec2c2f08016b345ce4206f711f3e67fa086fca7d75159350b8dc2d6ff0aa0c0609 DIST spicetify-cli-2.31.2-deps.tar.xz 5178132 BLAKE2B 38adc049908a42b9fa6c184515db45f0bf16a4e937b87f2ddc16f8c4b317b9f5fa87e0053c639f682ccb0426ea45a44d706a2ff92535970677dbcf726e273c7a SHA512 abe478080a19e0709dd5e0d232896a6c00f7b2fc756eaac8257c7c5139b027ec2c2f08016b345ce4206f711f3e67fa086fca7d75159350b8dc2d6ff0aa0c0609

View File

@ -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.30"
)
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
}