From 31dfe9058412e1a9ef18d81a98c6b24e8209c625 Mon Sep 17 00:00:00 2001 From: generalpask Date: Thu, 13 Apr 2023 21:01:12 +0200 Subject: [PATCH] app-misc/spicetify-cli: drop 2.10.2 --- app-misc/spicetify-cli/Manifest | 2 - .../files/add_gentoo_install_dir-2.10.2.patch | 12 ----- .../spicetify-cli/spicetify-cli-2.10.2.ebuild | 48 ------------------- 3 files changed, 62 deletions(-) delete mode 100644 app-misc/spicetify-cli/files/add_gentoo_install_dir-2.10.2.patch delete mode 100644 app-misc/spicetify-cli/spicetify-cli-2.10.2.ebuild diff --git a/app-misc/spicetify-cli/Manifest b/app-misc/spicetify-cli/Manifest index dc8b24c..1583cbf 100644 --- a/app-misc/spicetify-cli/Manifest +++ b/app-misc/spicetify-cli/Manifest @@ -1,4 +1,2 @@ -DIST spicetify-cli-2.10.2-deps.tar.xz 4531756 BLAKE2B ad4a593d2e1d1443168c171fcc380ad4963bdbb739ba94ec49ea8077cb8a35bfae97243e2684c4c2394460d20f730e5a5d454e11d23465bb3abaed4449e0d5f0 SHA512 b21d3c934c83c3a325844f14fd4efb33ae9472125a8aa933886065d8a18ea0dd32d8ebb43de3b128baaeec2c80bed73239a08ae8764ca2b81da8260f81411392 -DIST spicetify-cli-2.10.2.tar.gz 1134027 BLAKE2B b20a32c28d839f4ad68c760f6eba0258da9a8f1bef9ccade098ec38eb7b92af3c9a792400f637c182e88519a988723dcb37cb1864014202360dbf25b9b4b8fd9 SHA512 6847e3c8ce028ac6608068bf6106c0279a4469b04684228e3e37b54a3a4231d279f03c4a0be8a1b1c6b9a54d4b8bd1e74e5ce8034223261b25868089acdba7cf DIST spicetify-cli-2.17.1-deps.tar.xz 4742776 BLAKE2B 07ff8e9e4187b5fc7e65eea2bca5bc887b620a9f2ea9e9167e9dc84308e2932cc94c964aa33ae58e548f48fc9cae19555d31d30e66a24c80d831575fe9856ab8 SHA512 4dd915607f08072f0f9f35b9f38bbb8d1edca26114f25c7e936d5dd70c7bf4eb79b8817ec01283929963030803a697d69d00f4f8d5a26ecdbaddf8bbabc64ec6 DIST spicetify-cli-2.17.1.tar.gz 2010869 BLAKE2B 568c5b0a3593cc748d15448dad579a7736220af723b63ce9061a6826368e028f41e9f88e402b289725bcfd1172a1cc5cf4d28edf49397446eb0f5cf9d9597ed2 SHA512 87e42688f03f3747694bfc57363870f8d1d13a1f638be2272d0d0f268bfe405ff7afba23779f424a4d88c77102710c102e27c4b30fa3bc302072e8cafba961a6 diff --git a/app-misc/spicetify-cli/files/add_gentoo_install_dir-2.10.2.patch b/app-misc/spicetify-cli/files/add_gentoo_install_dir-2.10.2.patch deleted file mode 100644 index ad0a358..0000000 --- a/app-misc/spicetify-cli/files/add_gentoo_install_dir-2.10.2.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff --git a/src/utils/config.go b/src/utils/config.go -index 77118e3..ea1d9a5 100644 ---- a/src/utils/config.go -+++ b/src/utils/config.go -@@ -294,6 +294,7 @@ func linuxApp() string { - - potentialList := []string{ - "/opt/spotify/", -+ "/opt/spotify/spotify-client/", - "/usr/share/spotify/", - "/usr/libexec/spotify/", - "/var/lib/flatpak/app/com.spotify.Client/x86_64/stable/active/files/extra/share/spotify/", diff --git a/app-misc/spicetify-cli/spicetify-cli-2.10.2.ebuild b/app-misc/spicetify-cli/spicetify-cli-2.10.2.ebuild deleted file mode 100644 index 378ee0b..0000000 --- a/app-misc/spicetify-cli/spicetify-cli-2.10.2.ebuild +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 2020-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit go-module - -go-module_set_globals - -DESCRIPTION="Commandline tool to customize Spotify client." -HOMEPAGE="https://github.com/khanhas/spicetify-cli" -SRC_URI=" - https://github.com/khanhas/spicetify-cli/archive/v${PV}.tar.gz -> ${P}.tar.gz - https://gitlab.com/api/v4/projects/37881342/packages/generic/spicetify-cli/${PV}/spicetify-cli-${PV}-deps.tar.xz -" - -LICENSE="Apache-2.0 BSD GPL-3 MIT" -SLOT="0" -KEYWORDS="~amd64" - -INSTALLDIR="/opt/${PN}" - -RDEPEND="~media-sound/spotify-1.1.84" - -PATCHES=( "${FILESDIR}/add_gentoo_install_dir-2.10.2.patch" ) - -src_compile() { - ego build -} - -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. Version 1.1.84 is" - elog "supported by this version of spicetify. To be able to modify system installed " - elog "Spotify like media-sound/spotify then you have to allow spicetify to read and write" - elog "to its install location like shown below." - elog "# chmod a+wr /opt/spotify/spotify-client" - elog "# chmod a+wr /opt/spotify/spotify-client/Apps -R" - elog "" - elog "Otherwise you can install spotify to a user modifiable location like as a flatpak:" - elog "https://github.com/khanhas/spicetify-cli/wiki/Installation#spotify-installed-from-flatpak" -}