From 07038a3e08ec7b2064cfe51d87841a385eb6817b Mon Sep 17 00:00:00 2001 From: Sravan Balaji Date: Sat, 30 Nov 2024 12:18:48 -0500 Subject: [PATCH] Add spicetify community themes package --- .../spicetify-cli-bin-2.38.5.ebuild | 6 ++++- .../spicetify-community-themes-9999.ebuild | 27 +++++++++++++++++++ 2 files changed, 32 insertions(+), 1 deletion(-) create mode 100644 app-misc/spicetify-community-themes/spicetify-community-themes-9999.ebuild diff --git a/app-misc/spicetify-cli-bin/spicetify-cli-bin-2.38.5.ebuild b/app-misc/spicetify-cli-bin/spicetify-cli-bin-2.38.5.ebuild index 4c79275..d4efda5 100644 --- a/app-misc/spicetify-cli-bin/spicetify-cli-bin-2.38.5.ebuild +++ b/app-misc/spicetify-cli-bin/spicetify-cli-bin-2.38.5.ebuild @@ -15,13 +15,17 @@ KEYWORDS="~amd64" S="${WORKDIR}" INSTALLDIR="/opt/spicetify-cli" -IUSE="marketplace" +IUSE=" + marketplace + community-themes +" DEPEND=" !app-misc/spicetify-cli " PDEPEND=" marketplace? ( app-misc/spicetify-marketplace-bin ) + community-themes? ( app-misc/spicetify-community-themes ) " RDEPEND=" >=media-sound/spotify-1.2.14 diff --git a/app-misc/spicetify-community-themes/spicetify-community-themes-9999.ebuild b/app-misc/spicetify-community-themes/spicetify-community-themes-9999.ebuild new file mode 100644 index 0000000..a5a6017 --- /dev/null +++ b/app-misc/spicetify-community-themes/spicetify-community-themes-9999.ebuild @@ -0,0 +1,27 @@ +# Copyright 2022-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit git-r3 + +DESCRIPTION="A community-driven collection of themes for customizing Spotify through Spicetify" +HOMEPAGE="https://github.com/spicetify/spicetify-themes" +EGIT_REPO_URI="${HOMEPAGE}.git" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="man" + +S="${WORKDIR}/${P}" +INSTALLDIR="/opt/spicetify-cli" + +DEPEND=" + || ( app-misc/spicetify-cli app-misc/spicetify-cli-bin ) +" + +src_install(){ + insinto "${INSTALLDIR}/Themes" + doins -r {_Extra,Blossom,BurntSienna,Default,Dreary,Dribbblish,Flow,Matte,Nightlight,Onepunch,SharkBlue,Sleek,StarryNight,text,Turntable,Ziro} +}