app-misc/spicetify-cli: add 2.20.0

Signed-off-by: Alfred Wingate <parona@protonmail.com>
This commit is contained in:
Alfred Wingate 2023-06-06 13:19:14 +03:00
parent 1ade27892d
commit 47737a6aee
No known key found for this signature in database
GPG Key ID: A12750536B5E7010
2 changed files with 56 additions and 0 deletions

View File

@ -4,3 +4,5 @@ DIST spicetify-cli-2.18.1-deps.tar.xz 4747184 BLAKE2B 7ae8798ec716bac2f77dec0d1d
DIST spicetify-cli-2.18.1.tar.gz 2023592 BLAKE2B 100742ef49a36ce23530763612a89491abda7521aa109c805997058bddb66a5fecbc4f66e137257fa4d97064f398dfde4e4e660873071a080ea5ad7fe976b692 SHA512 f0d9c4b0a06b00098728eef01536388ca71ecc45dfcd8679fd564d8f2ca8dd78ee2c2fd492ee6260f157d381c70595202e8397ff1e6258e323decdff8278764e DIST spicetify-cli-2.18.1.tar.gz 2023592 BLAKE2B 100742ef49a36ce23530763612a89491abda7521aa109c805997058bddb66a5fecbc4f66e137257fa4d97064f398dfde4e4e660873071a080ea5ad7fe976b692 SHA512 f0d9c4b0a06b00098728eef01536388ca71ecc45dfcd8679fd564d8f2ca8dd78ee2c2fd492ee6260f157d381c70595202e8397ff1e6258e323decdff8278764e
DIST spicetify-cli-2.19.0-deps.tar.xz 4748352 BLAKE2B bc157742a0c2682d946f42e593df15110d204c22cc4ab79b438b74eb0731a09073991491e06771404b24590919c6b5b301cfbed219d1dde1cebd209762534911 SHA512 b383a02215f1c08d1f4c230d57bcf44790a7ad2285496f0af7bc490edfe771f279c832fcb15a31c67d8dcd888550b6118f46d1f6c8f5c707f64c745407cb7462 DIST spicetify-cli-2.19.0-deps.tar.xz 4748352 BLAKE2B bc157742a0c2682d946f42e593df15110d204c22cc4ab79b438b74eb0731a09073991491e06771404b24590919c6b5b301cfbed219d1dde1cebd209762534911 SHA512 b383a02215f1c08d1f4c230d57bcf44790a7ad2285496f0af7bc490edfe771f279c832fcb15a31c67d8dcd888550b6118f46d1f6c8f5c707f64c745407cb7462
DIST spicetify-cli-2.19.0.tar.gz 2030646 BLAKE2B 1b1d163b15c090410ace5840df6779988e29b434b3202a1d26051e158e0a2a82289ba681661da9e97aceda10719a6dc2bd1c1db0778299164262ff7dae2553f1 SHA512 8bba492d8f6e0e057d2ecf6e3cb423c746d402d2a0ad7b0b99292ccb0690619c7c6cc6a61645dfa358ce77c31373cb1a0c918e6df5bb85365e6128e7465f0104 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

View File

@ -0,0 +1,54 @@
# 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"
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"
}