app-misc/spicetify-cli: add 2.18.1

Signed-off-by: Alfred Wingate <parona@protonmail.com>
This commit is contained in:
Alfred Wingate 2023-05-22 22:09:53 +03:00
parent 51432f9337
commit d82382c340
No known key found for this signature in database
GPG Key ID: A12750536B5E7010
2 changed files with 56 additions and 0 deletions

View File

@ -1,2 +1,4 @@
DIST spicetify-cli-2.17.1-deps.tar.xz 4742776 BLAKE2B 07ff8e9e4187b5fc7e65eea2bca5bc887b620a9f2ea9e9167e9dc84308e2932cc94c964aa33ae58e548f48fc9cae19555d31d30e66a24c80d831575fe9856ab8 SHA512 4dd915607f08072f0f9f35b9f38bbb8d1edca26114f25c7e936d5dd70c7bf4eb79b8817ec01283929963030803a697d69d00f4f8d5a26ecdbaddf8bbabc64ec6 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 DIST spicetify-cli-2.17.1.tar.gz 2010869 BLAKE2B 568c5b0a3593cc748d15448dad579a7736220af723b63ce9061a6826368e028f41e9f88e402b289725bcfd1172a1cc5cf4d28edf49397446eb0f5cf9d9597ed2 SHA512 87e42688f03f3747694bfc57363870f8d1d13a1f638be2272d0d0f268bfe405ff7afba23779f424a4d88c77102710c102e27c4b30fa3bc302072e8cafba961a6
DIST spicetify-cli-2.18.1-deps.tar.xz 4747184 BLAKE2B 7ae8798ec716bac2f77dec0d1d24b76384abd867a34326f92fdce120d7e935f42da6083c04078dc36bcb64614764739b53e208985e572814e5eb28943eabe641 SHA512 ed47de067037d1adb6bf459838b0f09cef2dc97a4bcf74eb5d53d7764476f9ec268c6c4dd272e09f8bc98d00c8e2e0992d3223339163af4ef49ab72cf803216d
DIST spicetify-cli-2.18.1.tar.gz 2023592 BLAKE2B 100742ef49a36ce23530763612a89491abda7521aa109c805997058bddb66a5fecbc4f66e137257fa4d97064f398dfde4e4e660873071a080ea5ad7fe976b692 SHA512 f0d9c4b0a06b00098728eef01536388ca71ecc45dfcd8679fd564d8f2ca8dd78ee2c2fd492ee6260f157d381c70595202e8397ff1e6258e323decdff8278764e

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/khanhas/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=v${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"
}