app-misc/spicetify-cli: add 2.20.1
Signed-off-by: Alfred Wingate <parona@protonmail.com>
This commit is contained in:
parent
88eba7f8ad
commit
76a641e872
@ -6,3 +6,5 @@ DIST spicetify-cli-2.19.0-deps.tar.xz 4748352 BLAKE2B bc157742a0c2682d946f42e593
|
||||
DIST spicetify-cli-2.19.0.tar.gz 2030646 BLAKE2B 1b1d163b15c090410ace5840df6779988e29b434b3202a1d26051e158e0a2a82289ba681661da9e97aceda10719a6dc2bd1c1db0778299164262ff7dae2553f1 SHA512 8bba492d8f6e0e057d2ecf6e3cb423c746d402d2a0ad7b0b99292ccb0690619c7c6cc6a61645dfa358ce77c31373cb1a0c918e6df5bb85365e6128e7465f0104
|
||||
DIST spicetify-cli-2.20.0-deps.tar.xz 4747916 BLAKE2B 64a3dfebaa8bad2d8003c5433872a3904f559a1e37afe94ea9e110fa4c493bc86ede1d8b83bfd3054e7fc01fcc68a0347a9543cf32c9b2e60619a19d7cb336f7 SHA512 2a560968eabaccf7c7813188d670be8f4c9fe1d5e72a33dd5ee79877b4a3d79f43a0cd1e560196ff7034d0288d24383d1800eeade1c8870b6e2b05104ddec94d
|
||||
DIST spicetify-cli-2.20.0.tar.gz 2031544 BLAKE2B ee853f6aaff416abb662adcac4c6d0fe74307fb818fdfa9d413b74c922c25d8b8c56166a8c4df34f4eb0555c770277e378027abfc8346c1bd5c4aeefabea4144 SHA512 80c83152302763205fcc4341c2d5a0e23e2c71d14512e661a770e05a4b315ef8c4cbf7a3a164511c824344d08ccb93fc7283deb13c843a31ddfadff826b7f69b
|
||||
DIST spicetify-cli-2.20.1-deps.tar.xz 4836496 BLAKE2B 2ce9dfcaeff71393638d78c7fd514d271b37a31c894341ac9ffde4216e763f3089aadc0fd5e1a4453b49dc88ed98ec9d66d4ffcdd31bd33d8000bafc8ef1f0b7 SHA512 0cfd0fd69fbfdd26d0541dbca2ca779fe005d68249f8bf872777b31454cf99ba8b5337564536ebfb7f79f8845d2ce51b21a283197f707367dd1a72556e6103d9
|
||||
DIST spicetify-cli-2.20.1.tar.gz 2033994 BLAKE2B 5461b5ccb4a185dd08414eec4077f21c4b6f312faef092ec6adbf5d13772917d6f8e3b26e6a68cd4618605914c7bc9bae7d4060447d47d390a1128bf673a01d1 SHA512 4ff29aaba4ab4b63501c8323524579c88688c671c77b55be9025c9b17d2d92d711c9d543f62a78f0166c89891fdb58094fdb9566ea165dbd147176ed1648a38a
|
||||
|
57
app-misc/spicetify-cli/spicetify-cli-2.20.1.ebuild
Normal file
57
app-misc/spicetify-cli/spicetify-cli-2.20.1.ebuild
Normal file
@ -0,0 +1,57 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit go-module
|
||||
|
||||
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}"
|
||||
|
||||
RDEPEND="
|
||||
|| (
|
||||
~media-sound/spotify-1.2.9
|
||||
~media-sound/spotify-1.2.8
|
||||
~media-sound/spotify-1.1.99
|
||||
)
|
||||
"
|
||||
|
||||
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 " 1.2.9, 1.2.8 and 1.1.99"
|
||||
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"
|
||||
}
|
Loading…
Reference in New Issue
Block a user