From 29ec5483dbba569a87e6fd90b13e4ffc1f9073a5 Mon Sep 17 00:00:00 2001 From: Alfred Wingate Date: Tue, 14 Nov 2023 13:46:15 +0200 Subject: [PATCH] app-misc/spicetify-cli: drop 2.26.0 Signed-off-by: Alfred Wingate --- app-misc/spicetify-cli/Manifest | 2 - .../spicetify-cli/spicetify-cli-2.26.0.ebuild | 95 ------------------- 2 files changed, 97 deletions(-) delete mode 100644 app-misc/spicetify-cli/spicetify-cli-2.26.0.ebuild diff --git a/app-misc/spicetify-cli/Manifest b/app-misc/spicetify-cli/Manifest index 0bf0607..c2d555d 100644 --- a/app-misc/spicetify-cli/Manifest +++ b/app-misc/spicetify-cli/Manifest @@ -1,5 +1,3 @@ -DIST spicetify-cli-2.26.0-deps.tar.xz 5125596 BLAKE2B dfdebe9573bd9fb6891103c2e4bc7b950045cf6eb7b524e834a05a4828df0ebb5972accccfce089dea4243a6967d8c5208cb1063f5b87915227f887ee9659b74 SHA512 9431fc358d96041d511653340d2d235f90351bc5ee7c85dd8e439f893cfa77ca8e5caedac90525b2682ed4ebf087f516bfeef3fb0ccae23a52505c082ed72785 -DIST spicetify-cli-2.26.0.tar.gz 2042277 BLAKE2B 0b70583f3b1e62cef6ce5a3a0273e583f8164fe054d2a097d80cb16392c67e2bce58417b8fc70b75ea772617d73fd35b60c68549e8abef3cf8ab4ca36415e623 SHA512 0d88f6f3a1dc3c089c4faa268b2b3d76566697ccf6fff5a51417e38aa587ae8ec156a8a73cb5cffe692b66ed17551174e123404b9146c78d1347a0410a4b9ca9 DIST spicetify-cli-2.27.0-deps.tar.xz 5124844 BLAKE2B e349d894439d2b89a0d574c4a0190f151278d676d3745d1e9b4f6eb956d3eef93e2d1115793b53432abd6ac27453af4cf0d69df607a076861fd79c8b34d08f54 SHA512 3beab19708ae8227a61338f164c5007231354fb61e90e50567b9ed71e2a47db2ccd7ef2dab3b1fd28cc136723f378c48d3f15b883efe719036e9920a6ac0eb2a DIST spicetify-cli-2.27.0.tar.gz 2041179 BLAKE2B f40d477eabe9c3820a23f64d910c8d273e83cf885706ba542b3435f5636f80cc39ebcdf46d3ae7c8a560d5c644b037b012e60276770ac957383c5fd5382158db SHA512 9a0e846c7046a4ffa09ea33eff800135783a54adc4ec5a844def388ee2bbe544fc0da14a896e82dabf041e4e9a21d0da15fa45691e2fe62a0970b47700b9e63d DIST spicetify-cli-2.27.1-deps.tar.xz 5131312 BLAKE2B e1925ebc9fcadac597ae9d655b8e3b8b8de2eb6f5cc6fc27df6752b12dbdaf8e40b95cd5c6b4bd6c7e515c50d9edbd4822ca94c3683f692a8e59594c417b9383 SHA512 0b865a010be66e010a7b9b0bdc40cbb55ab042c47a52ee0ce03e0b75981402219e3dafca59d972281a1c95cff6366a4b97ae3250890c25bfe84684b80b6e6258 diff --git a/app-misc/spicetify-cli/spicetify-cli-2.26.0.ebuild b/app-misc/spicetify-cli/spicetify-cli-2.26.0.ebuild deleted file mode 100644 index 5b3ba39..0000000 --- a/app-misc/spicetify-cli/spicetify-cli-2.26.0.ebuild +++ /dev/null @@ -1,95 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit go-module - -WHITELIST_VERSIONS=( - "~ 1.2.22" - "~ 1.2.20" - "~ 1.2.13" - "~ 1.2.11" - "~ 1.2.9" - "~ 1.2.8" -) - -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." - elog "# chmod a+wr /opt/spotify/spotify-client" - elog "# chmod a+wr /opt/spotify/spotify-client/Apps -R" - 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" -}