app-misc/spicetify-cli: drop 2.36.4, 2.36.5

Signed-off-by: Alfred Wingate <parona@protonmail.com>
This commit is contained in:
Alfred Wingate 2024-04-25 00:28:22 +03:00
parent 2b9f5c5016
commit 0b90e5fbfc
No known key found for this signature in database
GPG Key ID: A12750536B5E7010
3 changed files with 0 additions and 202 deletions

View File

@ -1,7 +1,3 @@
DIST spicetify-cli-2.36.4-deps.tar.xz 5224528 BLAKE2B 3b61cc51d7467013d53c5d3a0abdff19415f5de3effdb7a304b9508f3a19105b9c31813b03efbc428f20b8516cc9fb48682598911ecc1185a5d1d83f53214418 SHA512 4e53d23db459b38680dfd2b1566ee24555528d4d645e35c78701d18015c078d79ba3ca884b7857302746cce1d4242c8ebbaf76a1c01fa8c6238ddd90d1b0e575
DIST spicetify-cli-2.36.4.tar.gz 2016243 BLAKE2B 7ee8e617b64ef439a6c0b08fae0aaf48418653f676cba21aabbb19f6ef43ee3f4b05e47eea97d62ec81ff388ce98daffa515e02604fc4985ab63ca5868b4bf90 SHA512 611c57bfc255438460ed8bdaf0daca6451893833b54bb5146b305ec34165f1d1a2f7831a4ecf52c5fee583fc274e3de22d2176ab564ea4212f61e41d62c4e867
DIST spicetify-cli-2.36.5-deps.tar.xz 5224276 BLAKE2B 1ab8bc91e25e413c476e3c2e3bcfb381bf0ae76e92b59d891a758bbb1b5ae819dd63783a07eecd5b5c9305e7b91345da2e6b74dbe577780df2bbe2e565a86fbc SHA512 64ec070f75e1abbd1f5018e9ecbe1dc99a09ca57b47359e30d7b31d8a1fc1645d125fd0e1dcbed62adb25e51392785b9001b3c159dcb66640c411a19afc8cf60
DIST spicetify-cli-2.36.5.tar.gz 2016582 BLAKE2B 0f06fb2dd854eadf248670068edec1b3bd9411906ed81e39b702f854ae5bb6a8f0de8146efc75536281ae056293c6325be4008a3da0948a5cf73340658aeceab SHA512 28dbf23b5890f4d88476c73edea6a5c56552f2ac65df010f9aadb19ec0d1f4ba71876820723493514e538c0ddb3ff25f70d5fe58cb1a253cf386325c81120ee1
DIST spicetify-cli-2.36.6-deps.tar.xz 5224416 BLAKE2B 37965a64e57ccdfbc7e4df3d15bbe0ed4a52bc615640ee6ec7256b039ee7c7bc6d2cd9e383cf9361c8366f97f5f78e3d4ea010b2fe194e71a1cb7a7d5eddc49b SHA512 b5ef7a0a92eec5337cffa88e1e7075c966eaca124a0b0256af97f32b855c3a42b5abbb38b5dee95a2a1893aa48b6ac44400adafc46b4b11ef06720e0832965b1
DIST spicetify-cli-2.36.6.tar.gz 2017028 BLAKE2B 4b4e2d564e6ad6e2ee2bdeef34101d91b6aa5d9afcb4242ddf9c1af9752d21bc477330ce63270ece34ea62c0894c02905e822be77d6b2dbee0f7f575cdc1a44c SHA512 6a743dbe309b8300ac0ab3e80524dcdeaba54309f5544ffefaaef2bdd91f2f74790bb64863cf806fbb2c5dc7025cfae3b5c879cfcf5c5b764511b9c3e8b7ccc8
DIST spicetify-cli-2.36.8-deps.tar.xz 5224540 BLAKE2B 0d21bdb32df7c5bdb4402c95071574873693c84dce99ca1c82d45462b4b000b8634f9aac339e118cfc52642b2d9377000c8ec15ffc891f26c50e48377bac301c SHA512 1af6850c11433579a8ec0d25430538fafe89f304aed8fcd1c0ea32162708efeaf1eb62f76be5f228fbe68c59ff7671ec41106c68a786aae7f7bab23b9c081d6d

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

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