diff --git a/app-misc/spicetify-cli/Manifest b/app-misc/spicetify-cli/Manifest index 51ffb68..ef0b093 100644 --- a/app-misc/spicetify-cli/Manifest +++ b/app-misc/spicetify-cli/Manifest @@ -2,3 +2,5 @@ DIST spicetify-cli-2.17.1-deps.tar.xz 4742776 BLAKE2B 07ff8e9e4187b5fc7e65eea2bc 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 +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 diff --git a/app-misc/spicetify-cli/spicetify-cli-2.19.0.ebuild b/app-misc/spicetify-cli/spicetify-cli-2.19.0.ebuild new file mode 100644 index 0000000..888dbcd --- /dev/null +++ b/app-misc/spicetify-cli/spicetify-cli-2.19.0.ebuild @@ -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" +}