app-misc/spicetify-cli: drop 2.27.0, 2.27.1, 2.27.2, 2.28.0
Signed-off-by: Alfred Wingate <parona@protonmail.com>
This commit is contained in:
parent
e2d723ac54
commit
d8f5fa47f3
@ -1,10 +1,2 @@
|
|||||||
DIST spicetify-cli-2.27.0-deps.tar.xz 5124844 BLAKE2B e349d894439d2b89a0d574c4a0190f151278d676d3745d1e9b4f6eb956d3eef93e2d1115793b53432abd6ac27453af4cf0d69df607a076861fd79c8b34d08f54 SHA512 3beab19708ae8227a61338f164c5007231354fb61e90e50567b9ed71e2a47db2ccd7ef2dab3b1fd28cc136723f378c48d3f15b883efe719036e9920a6ac0eb2a
|
|
||||||
DIST spicetify-cli-2.27.0.tar.gz 2041179 BLAKE2B f40d477eabe9c3820a23f64d910c8d273e83cf885706ba542b3435f5636f80cc39ebcdf46d3ae7c8a560d5c644b037b012e60276770ac957383c5fd5382158db SHA512 9a0e846c7046a4ffa09ea33eff800135783a54adc4ec5a844def388ee2bbe544fc0da14a896e82dabf041e4e9a21d0da15fa45691e2fe62a0970b47700b9e63d
|
|
||||||
DIST spicetify-cli-2.27.1-deps.tar.xz 5131312 BLAKE2B e1925ebc9fcadac597ae9d655b8e3b8b8de2eb6f5cc6fc27df6752b12dbdaf8e40b95cd5c6b4bd6c7e515c50d9edbd4822ca94c3683f692a8e59594c417b9383 SHA512 0b865a010be66e010a7b9b0bdc40cbb55ab042c47a52ee0ce03e0b75981402219e3dafca59d972281a1c95cff6366a4b97ae3250890c25bfe84684b80b6e6258
|
|
||||||
DIST spicetify-cli-2.27.1.tar.gz 2040021 BLAKE2B 44685c319e5609bbeac8e97482b3d0ac4271aca98dd681ea35646c2117489903aeaf0426f199cc56374f83d83d7cc2a069dfe23062dee7e879a57ebd35141122 SHA512 3abee3ee3ab65be3f9a2246a8564dfbf742a65d4b261408c414ebdb526379d5afc1165eb4b0df388cf713e7028adfb09c571740083ae977b3af5fec1347c6247
|
|
||||||
DIST spicetify-cli-2.27.2-deps.tar.xz 5132028 BLAKE2B 760f47a6369d90bd54e01fa84d9679a0adb044578c4fa1eee70e0fd4ca5ce99d510c596a011eeafa01c82effa66c34773a7dd18b69078d361c88227ea9ef3192 SHA512 de08908085546fae1b181d9708ddc4ffc5c0c287880f8a612877e6a4b4b4459a12fe859557db5f9f18a4474acb62e21f7b2b7ceeaa359e91200d394e5ed7d8ec
|
|
||||||
DIST spicetify-cli-2.27.2.tar.gz 2041673 BLAKE2B 4dafa1f31fb3575d083d21bbe2e0a70f14810e464223cb878178a164a127514fccea1c8ec169e42d79f58265ad46ec4340c3a0d957c4301f61351f07fbf1643d SHA512 e71b045c564a4887d040229ae9d1d651f769f6b6b8c905f9680e768e7c5b7ea4c441b8f32d1599e178e0cfd5d004af029eafa75fa6ba73a15d91e2ab89514702
|
|
||||||
DIST spicetify-cli-2.28.0-deps.tar.xz 5167840 BLAKE2B 7dfc76e9e2156a6b6e8525902bd793fe312e3067e6b7cf5bb12ca7dff5050869ae0a09c5953f4ae7d48ab8fc63e0c32c9de37feec02d361200bf70cd52db5f10 SHA512 ef0e7ab215fed48060cbd72f80ab0e4e8801261c3cc4fde019b469656ffdc36badd7ded7b844cd855467b4d2f5af725ba2a626d042813ae43bc32afbeb39fb4b
|
|
||||||
DIST spicetify-cli-2.28.0.tar.gz 2041974 BLAKE2B b2dc56e11e2056f64f0316d338dcaeb0a896b1c28c33810ebe6f6c594c543cab83a61968dcd1231ff9f819cc86cf04ea6212df07045e3a1f1d32bc2f4ca80606 SHA512 23dbac16bdb26dcacd987b120eb82b746ba9dafad7eb425e60a9cea3abb2c4cdc4b87376dedcdbf28c0268d3d55a39c15cebad6411f9f7ba4810644feb90abb7
|
|
||||||
DIST spicetify-cli-2.28.1-deps.tar.xz 5168592 BLAKE2B b32e9905f338f82fc46ce41af56b5195ea034f31b2a2a8da9ac98367ccfd03f4d12f430a251664354507955d08296ad001bb025019dc754c4d09d291a06ad002 SHA512 4d276c2ca678622700939a80daa80c334c7818c0ad3290eb10f5bc1eca32e62d276fbff282307d0a8a6267dbe67446e58b1d6730681749d73b92326f01ddb869
|
DIST spicetify-cli-2.28.1-deps.tar.xz 5168592 BLAKE2B b32e9905f338f82fc46ce41af56b5195ea034f31b2a2a8da9ac98367ccfd03f4d12f430a251664354507955d08296ad001bb025019dc754c4d09d291a06ad002 SHA512 4d276c2ca678622700939a80daa80c334c7818c0ad3290eb10f5bc1eca32e62d276fbff282307d0a8a6267dbe67446e58b1d6730681749d73b92326f01ddb869
|
||||||
DIST spicetify-cli-2.28.1.tar.gz 2042062 BLAKE2B 82b55d0c2ebe1669a8ebf14874c8eb934e08a48e61b6eea88ac683c16a09e20cedd324e92b71fdea0683c78597513789ca8f7b043bb985be0c87add79ffe57da SHA512 aa22bb51826d0ff2ebbd47029bc65eb9f3b6431851f70853977c54e4aad0317f831ca74e48dd4e1733f65e40a728fc11e356d7163b00f48b52df8cb6a2a96296
|
DIST spicetify-cli-2.28.1.tar.gz 2042062 BLAKE2B 82b55d0c2ebe1669a8ebf14874c8eb934e08a48e61b6eea88ac683c16a09e20cedd324e92b71fdea0683c78597513789ca8f7b043bb985be0c87add79ffe57da SHA512 aa22bb51826d0ff2ebbd47029bc65eb9f3b6431851f70853977c54e4aad0317f831ca74e48dd4e1733f65e40a728fc11e356d7163b00f48b52df8cb6a2a96296
|
||||||
|
@ -1,95 +0,0 @@
|
|||||||
# Copyright 1999-2023 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
inherit go-module
|
|
||||||
|
|
||||||
WHITELIST_VERSIONS=(
|
|
||||||
"~ 1.2.22"
|
|
||||||
"~ 1.2.20"
|
|
||||||
"~ 1.2.13"
|
|
||||||
"~ 1.2.11"
|
|
||||||
"~ 1.2.9"
|
|
||||||
"~ 1.2.8"
|
|
||||||
)
|
|
||||||
|
|
||||||
whitelist_versions() {
|
|
||||||
local version_spec version1 version2
|
|
||||||
local -a deps
|
|
||||||
|
|
||||||
SPOTIFY_VERSIONS=
|
|
||||||
|
|
||||||
# Iterate in reverse for elog
|
|
||||||
for ((index = $(( ${#WHITELIST_VERSIONS[@]} - 1 )); index >= 0; index--)); do
|
|
||||||
read -r version_spec version1 version2 <<< "${WHITELIST_VERSIONS[${index}]}"
|
|
||||||
|
|
||||||
case ${version_spec} in
|
|
||||||
"<>")
|
|
||||||
deps[$index]="( <=media-sound/spotify-${version2} >=media-sound/spotify-${version1} )"
|
|
||||||
SPOTIFY_VERSIONS+="${version1} -> ${version2}"
|
|
||||||
;;
|
|
||||||
"~")
|
|
||||||
deps[$index]="~media-sound/spotify-${version1}"
|
|
||||||
SPOTIFY_VERSIONS+="${version1}"
|
|
||||||
;;
|
|
||||||
*)
|
|
||||||
die "Invalid version specifier in WHITELIST_VERSIONS"
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
if [[ ${index} == 0 ]]; then
|
|
||||||
SPOTIFY_VERSIONS+=". "
|
|
||||||
elif [[ ${index} == 1 ]]; then
|
|
||||||
SPOTIFY_VERSIONS+=" and "
|
|
||||||
else
|
|
||||||
SPOTIFY_VERSIONS+=", "
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
|
|
||||||
RDEPEND=" || ( ${deps[@]} )"
|
|
||||||
}
|
|
||||||
whitelist_versions
|
|
||||||
|
|
||||||
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}"
|
|
||||||
|
|
||||||
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 " ${SPOTIFY_VERSIONS}"
|
|
||||||
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"
|
|
||||||
}
|
|
@ -1,95 +0,0 @@
|
|||||||
# Copyright 1999-2023 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
inherit go-module
|
|
||||||
|
|
||||||
WHITELIST_VERSIONS=(
|
|
||||||
"~ 1.2.22"
|
|
||||||
"~ 1.2.20"
|
|
||||||
"~ 1.2.13"
|
|
||||||
"~ 1.2.11"
|
|
||||||
"~ 1.2.9"
|
|
||||||
"~ 1.2.8"
|
|
||||||
)
|
|
||||||
|
|
||||||
whitelist_versions() {
|
|
||||||
local version_spec version1 version2
|
|
||||||
local -a deps
|
|
||||||
|
|
||||||
SPOTIFY_VERSIONS=
|
|
||||||
|
|
||||||
# Iterate in reverse for elog
|
|
||||||
for ((index = $(( ${#WHITELIST_VERSIONS[@]} - 1 )); index >= 0; index--)); do
|
|
||||||
read -r version_spec version1 version2 <<< "${WHITELIST_VERSIONS[${index}]}"
|
|
||||||
|
|
||||||
case ${version_spec} in
|
|
||||||
"<>")
|
|
||||||
deps[$index]="( <=media-sound/spotify-${version2} >=media-sound/spotify-${version1} )"
|
|
||||||
SPOTIFY_VERSIONS+="${version1} -> ${version2}"
|
|
||||||
;;
|
|
||||||
"~")
|
|
||||||
deps[$index]="~media-sound/spotify-${version1}"
|
|
||||||
SPOTIFY_VERSIONS+="${version1}"
|
|
||||||
;;
|
|
||||||
*)
|
|
||||||
die "Invalid version specifier in WHITELIST_VERSIONS"
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
if [[ ${index} == 0 ]]; then
|
|
||||||
SPOTIFY_VERSIONS+=". "
|
|
||||||
elif [[ ${index} == 1 ]]; then
|
|
||||||
SPOTIFY_VERSIONS+=" and "
|
|
||||||
else
|
|
||||||
SPOTIFY_VERSIONS+=", "
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
|
|
||||||
RDEPEND=" || ( ${deps[@]} )"
|
|
||||||
}
|
|
||||||
whitelist_versions
|
|
||||||
|
|
||||||
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}"
|
|
||||||
|
|
||||||
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 " ${SPOTIFY_VERSIONS}"
|
|
||||||
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"
|
|
||||||
}
|
|
@ -1,96 +0,0 @@
|
|||||||
# Copyright 1999-2023 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
inherit go-module
|
|
||||||
|
|
||||||
WHITELIST_VERSIONS=(
|
|
||||||
"~ 1.2.25"
|
|
||||||
"~ 1.2.22"
|
|
||||||
"~ 1.2.20"
|
|
||||||
"~ 1.2.13"
|
|
||||||
"~ 1.2.11"
|
|
||||||
"~ 1.2.9"
|
|
||||||
"~ 1.2.8"
|
|
||||||
)
|
|
||||||
|
|
||||||
whitelist_versions() {
|
|
||||||
local version_spec version1 version2
|
|
||||||
local -a deps
|
|
||||||
|
|
||||||
SPOTIFY_VERSIONS=
|
|
||||||
|
|
||||||
# Iterate in reverse for elog
|
|
||||||
for ((index = $(( ${#WHITELIST_VERSIONS[@]} - 1 )); index >= 0; index--)); do
|
|
||||||
read -r version_spec version1 version2 <<< "${WHITELIST_VERSIONS[${index}]}"
|
|
||||||
|
|
||||||
case ${version_spec} in
|
|
||||||
"<>")
|
|
||||||
deps[$index]="( <=media-sound/spotify-${version2} >=media-sound/spotify-${version1} )"
|
|
||||||
SPOTIFY_VERSIONS+="${version1} -> ${version2}"
|
|
||||||
;;
|
|
||||||
"~")
|
|
||||||
deps[$index]="~media-sound/spotify-${version1}"
|
|
||||||
SPOTIFY_VERSIONS+="${version1}"
|
|
||||||
;;
|
|
||||||
*)
|
|
||||||
die "Invalid version specifier in WHITELIST_VERSIONS"
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
if [[ ${index} == 0 ]]; then
|
|
||||||
SPOTIFY_VERSIONS+=". "
|
|
||||||
elif [[ ${index} == 1 ]]; then
|
|
||||||
SPOTIFY_VERSIONS+=" and "
|
|
||||||
else
|
|
||||||
SPOTIFY_VERSIONS+=", "
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
|
|
||||||
RDEPEND=" || ( ${deps[@]} )"
|
|
||||||
}
|
|
||||||
whitelist_versions
|
|
||||||
|
|
||||||
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}"
|
|
||||||
|
|
||||||
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 " ${SPOTIFY_VERSIONS}"
|
|
||||||
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"
|
|
||||||
}
|
|
@ -1,103 +0,0 @@
|
|||||||
# Copyright 1999-2023 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
inherit go-module
|
|
||||||
|
|
||||||
WHITELIST_VERSIONS=(
|
|
||||||
"~ 1.2.25"
|
|
||||||
"~ 1.2.22"
|
|
||||||
"~ 1.2.20"
|
|
||||||
"~ 1.2.13"
|
|
||||||
"~ 1.2.11"
|
|
||||||
"~ 1.2.9"
|
|
||||||
"~ 1.2.8"
|
|
||||||
)
|
|
||||||
|
|
||||||
whitelist_versions() {
|
|
||||||
local version_spec version1 version2
|
|
||||||
local -a deps
|
|
||||||
|
|
||||||
SPOTIFY_VERSIONS=
|
|
||||||
|
|
||||||
# Iterate in reverse for elog
|
|
||||||
for ((index = $(( ${#WHITELIST_VERSIONS[@]} - 1 )); index >= 0; index--)); do
|
|
||||||
read -r version_spec version1 version2 <<< "${WHITELIST_VERSIONS[${index}]}"
|
|
||||||
|
|
||||||
case ${version_spec} in
|
|
||||||
"<>")
|
|
||||||
deps[$index]="( <=media-sound/spotify-${version2} >=media-sound/spotify-${version1} )"
|
|
||||||
SPOTIFY_VERSIONS+="${version1} -> ${version2}"
|
|
||||||
;;
|
|
||||||
"~")
|
|
||||||
deps[$index]="~media-sound/spotify-${version1}"
|
|
||||||
SPOTIFY_VERSIONS+="${version1}"
|
|
||||||
;;
|
|
||||||
*)
|
|
||||||
die "Invalid version specifier in WHITELIST_VERSIONS"
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
if [[ ${index} == 0 ]]; then
|
|
||||||
SPOTIFY_VERSIONS+=". "
|
|
||||||
elif [[ ${index} == 1 ]]; then
|
|
||||||
SPOTIFY_VERSIONS+=" and "
|
|
||||||
else
|
|
||||||
SPOTIFY_VERSIONS+=", "
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
|
|
||||||
RDEPEND=" || ( ${deps[@]} )"
|
|
||||||
}
|
|
||||||
whitelist_versions
|
|
||||||
|
|
||||||
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}"
|
|
||||||
|
|
||||||
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 " ${SPOTIFY_VERSIONS}"
|
|
||||||
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"
|
|
||||||
|
|
||||||
if $(has_version -r ">=media-sound/spotify-1.2.25"); then
|
|
||||||
elog ""
|
|
||||||
elog "The New Releases custom app no longer works with Spotify 1.2.25 and higher. As an alternative,"
|
|
||||||
elog "please use What's New which was created by Spotify and can be enabled via Experimental Features"
|
|
||||||
elog "if it isn't already enabled."
|
|
||||||
fi
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user