From 4857d537c011dff12482cf082f3e83a202190614 Mon Sep 17 00:00:00 2001 From: Alfred Wingate Date: Mon, 11 Sep 2023 08:06:15 +0300 Subject: [PATCH] app-misc/spicetify-cli: drop 2.22.1, 2.22.2, 2.23.0 Signed-off-by: Alfred Wingate --- app-misc/spicetify-cli/Manifest | 6 -- .../spicetify-cli/spicetify-cli-2.22.1.ebuild | 93 ------------------- .../spicetify-cli/spicetify-cli-2.22.2.ebuild | 93 ------------------- .../spicetify-cli/spicetify-cli-2.23.0.ebuild | 93 ------------------- 4 files changed, 285 deletions(-) delete mode 100644 app-misc/spicetify-cli/spicetify-cli-2.22.1.ebuild delete mode 100644 app-misc/spicetify-cli/spicetify-cli-2.22.2.ebuild delete mode 100644 app-misc/spicetify-cli/spicetify-cli-2.23.0.ebuild diff --git a/app-misc/spicetify-cli/Manifest b/app-misc/spicetify-cli/Manifest index 57a8b8d..32f743c 100644 --- a/app-misc/spicetify-cli/Manifest +++ b/app-misc/spicetify-cli/Manifest @@ -1,9 +1,3 @@ -DIST spicetify-cli-2.22.1-deps.tar.xz 4961908 BLAKE2B 99aaf18a1df9e48cbe0e109d611b8fc3998cb8f818e26535373fd2fc7419320e8a1df32de78317ea3ec0ada48be1a7c1361e2fe10cf844e69f898e80258514e9 SHA512 bc807e91718aacf5f66f57a9ee3bff5bac40d553d93ddae37eaebbf9ac69265ab2c1e368d01c700bb707e53b476e4e63f88b91d46e1fc4a364adb91858271dc8 -DIST spicetify-cli-2.22.1.tar.gz 2039587 BLAKE2B 484a27dad2a0922709e21085f63049fa6e46e146577d96ae3a7fb226f1ba1cabc5af37bcd319a2e42985d6083ebe991e7f5a8f10d360de11aa109f228163d417 SHA512 b26334ec1ff83d5425bcb468a91cb5e19c06601d8375d9b8557b737ef5788391922e5c7c264d4a7b7669c67bb33a47b1b1475e2cdee48347a32634595a9df7bc -DIST spicetify-cli-2.22.2-deps.tar.xz 5041544 BLAKE2B b37b4dbc9a1c627a377731223e58744734ab1181c9d4f44d2c096fcbaaea89ff43f647d5ad1566bd9e5141fcc7e8039a645e0b60d4666d396a0f71eb4a0f2480 SHA512 20375b089829aaaf38940e62ab41ad8180e6dee77008c28f1fc425ae1425d1b2c269cd1e5507ca916c18c651b0e27abcd27881e11979e8976f916397507c2bd2 -DIST spicetify-cli-2.22.2.tar.gz 2040613 BLAKE2B 0b0bcd4c88f482aba7830f8af7de7dcaeb29fd4156b1d7f0cc974fb584787f406fbe9bff530ec3c9e0063cd05d38cc6c6fdf84c7b61d03e40d365c8393fa54c4 SHA512 d32883d42381fd0ed5fec857965bdf982587bc1a4f5cfea079260b16e17ed4d6ba20e92a0070d5c88c8023b23d3050f5515ef8b5ff54c795dc97943b69233d3b -DIST spicetify-cli-2.23.0-deps.tar.xz 5071932 BLAKE2B e1890c501194bf78beb524c943fcdb937f94c27b241d6f65d02bb1e6000c2fefaff0e44dafd2e656febfb34b23a1c61871fb5c3a74e30d374b1340ce32f06266 SHA512 8d9aad18045d5e3aac03bb99cda9af9adc7db28d01e3e021729d89ff09a510ff5fea625beb6ca3f8ad87f48991cab619befa648264fea4422328c00bbd006705 -DIST spicetify-cli-2.23.0.tar.gz 2041130 BLAKE2B 047b2455c45bb0fd62b6781f0949304caf8f5143c222758bed7d7aa3e4f9cbab38333978cca5fa6d03def886d1824a46b39ba60c0af0d8724ce551faf711463d SHA512 8e22ea7e5b8e15fb115cf277b1ce95abbe65026decefea39877264b94c050fb3665da337d51d9aba7684e1e1d7d60e3c200afb6d063e21adbcd7e77319776c29 DIST spicetify-cli-2.23.1-deps.tar.xz 5086252 BLAKE2B a192b0dc89dc0ad94f4a45ec61199f317b78e677f7299d955246cea1ca244d55bc7348d0cc88b42949e38390f04506cc063a3acc67f7e61410e80b52f131424c SHA512 c0a0117e3047e13068aea1170cb0944016f3763e4df6be85971f30749d9a581762ecf45a3d5d74d9a33a269e9d1da25336ce2bee2eb78a1e42b8d866ba74e426 DIST spicetify-cli-2.23.1.tar.gz 2041306 BLAKE2B 4ccc04652ad5739b178d21192958ce881a5d27b026fcf862625c5517b0c7f8a37559f731b1c52fc0597755dc12f63fdf43ea62058212a7a2081a43b6fbb85b14 SHA512 a4f1c2e4dce73a8a4b4371f18c4150146e09bd06372b446b91c40e767fb95ae372e41a13f7a16035311729cf3c0bf5c846dd4f93a6bdbda63b8c7ef575185926 DIST spicetify-cli-2.23.2-deps.tar.xz 5086400 BLAKE2B cdf306cee4425c0f645debcd72758de5b02eaf90622876d962805b646171282ac90eed500b5ed662c3f3ef7be0a4342b1d6ca1af7da2cd897171757c2ba9ff52 SHA512 cd489bfb2b40627da434e3f2a983ea7eb4a9a73ae2968af00ff5d36997a0fec022ce05f044b477ec81b20951b1702bdaa65d89a3a78310ed8662c9377da0d7c0 diff --git a/app-misc/spicetify-cli/spicetify-cli-2.22.1.ebuild b/app-misc/spicetify-cli/spicetify-cli-2.22.1.ebuild deleted file mode 100644 index 10bd5ae..0000000 --- a/app-misc/spicetify-cli/spicetify-cli-2.22.1.ebuild +++ /dev/null @@ -1,93 +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.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" -} diff --git a/app-misc/spicetify-cli/spicetify-cli-2.22.2.ebuild b/app-misc/spicetify-cli/spicetify-cli-2.22.2.ebuild deleted file mode 100644 index 10bd5ae..0000000 --- a/app-misc/spicetify-cli/spicetify-cli-2.22.2.ebuild +++ /dev/null @@ -1,93 +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.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" -} diff --git a/app-misc/spicetify-cli/spicetify-cli-2.23.0.ebuild b/app-misc/spicetify-cli/spicetify-cli-2.23.0.ebuild deleted file mode 100644 index 10bd5ae..0000000 --- a/app-misc/spicetify-cli/spicetify-cli-2.23.0.ebuild +++ /dev/null @@ -1,93 +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.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" -}