Compare commits
No commits in common. "f6a977e5b030e7bac9c1eb9cf2b5d3aa26760132" and "d26ea10422961c52ef85f548f7abf7c0863c34df" have entirely different histories.
f6a977e5b0
...
d26ea10422
@ -1,4 +1,8 @@
|
||||
DIST spicetify-cli-2.32.1-deps.tar.xz 5177652 BLAKE2B c4cdef807994bb790aea0d93d1ffd916bc8a19efe76ab7ce58014b51a4c67f6ba273ccb0568d616c01867d58d99b403ffcdf2d5142248b766814df1461ed8c27 SHA512 d229d883e0469cacaa220fc7529be3ca842784d438e17783a0b1fa16a3e207879e86c0e522ada5b77fcafe8f7409230fec7485148feeef55aafb1347bf036e17
|
||||
DIST spicetify-cli-2.32.1.tar.gz 2013739 BLAKE2B acd6508fd3fca794c9ba78a94811d0c32d2d5df1e3c2c4e293eaec6736cd73b843172641fd177a4c9f40af579c7c00cb8a3581f0ce633660a3e0ced12176b2fc SHA512 202a8e6ecb988beca89c49af8d1e95dec4b84de9718dd7d5fbf16498fb9b7b34113a20e4448f4a0e97dff819de7dbfb8b39ab43ebbc950ad12ae23290771f64f
|
||||
DIST spicetify-cli-2.33.0-deps.tar.xz 5178312 BLAKE2B 94b3c74fc7679b019d65f408cf698cb389a045c76c2870e16d1322c38808cda326139ff85527f41c0690e42951cad2e20bec02bddd8b730d7f525891a1cf6372 SHA512 4ec120b84e7745f7419d5f4c44aa139f9204f0b9a61cb559f3366c55f315cfb3a8db51ae44899544ea25cdbafcfdd0933902a3e107f9b569959d2f41f00536c1
|
||||
DIST spicetify-cli-2.33.0.tar.gz 2010437 BLAKE2B e8ef73ee9b86be1f98c7ad9feca1dc7c6baac423c31ba60f3fefe64d46fc35379335e926bc79286dfcc3e2d6aa7b9c80e4be26f3503e78b468ad341018a50827 SHA512 4d310d4dc3394ea8d9e9a802e66956894aeca8f9f0e14ffc403421a004fab092870c8a3d4451a07be7459d04ce2e7ba7eebe779a480a56d9838c8225101af724
|
||||
DIST spicetify-cli-2.33.1-deps.tar.xz 5177772 BLAKE2B 5b697aea4f27d33426aada4327ca1e42c6a11808562579b5d20c24a0ebad2e2a92fdb9e747c32f528034d36fdd6c6c647f23e129150d625e9d4bf45ca1a2385f SHA512 daf626762f3409f0d57088ac3187c828e6f2e35170222599b28cf9044dcb5e708feca797515f3a0acb8c8922364ca8e99eb76005ffdc7e99c77730d1f525c66d
|
||||
DIST spicetify-cli-2.33.1.tar.gz 2010520 BLAKE2B 8a197a03258fe77efe72161d5dbbb1387c21681cabbb045cbaf742c35351abc6b57e7c7b3a966f26d7974bdf7f69e82cbae0e62a0887b2c13282ab82f1a9c3fd SHA512 3ff3ac4929aa440b68be56c7ed14b0e3f55ae07f15fd40fec1f0de3255ae02bfd4eba9650490ed6bf36c3fbd2e3de19caffc7b8db0846caba485c735c735e168
|
||||
DIST spicetify-cli-2.33.2-deps.tar.xz 5177080 BLAKE2B 7959dff9a816c2d61b5b768cf58620e8a19df9d0ca445c645cb2242f0a2264523cc355b11ff03b3dc8c6610a010572da2f37f4e43fce52ef2affd1a423e76a8d SHA512 52026932860951c36a907dc6c558a618e074ae9e93eb8d7efdf55aa821f4e29a2d0f682d44f6586e8db5bd18c36c6b6cbba3201773f20633bce3c40adf189335
|
||||
DIST spicetify-cli-2.33.2.tar.gz 2010636 BLAKE2B f7003424ee516800a6333d7470a5dff572ba891f550186cc99c468e643b5937e5096613ecc912e7e14806eb030e343091914473025d34210a05de8098326610e SHA512 3a283e3909a7e7e06b5f62ad20f3439bb9b16f607d0d8685eab84637c8dbb71ac815c5bf8f6813ef86b751d3201bb54d7eda1aa2228d24c3ec0c7cc1412067c2
|
||||
DIST spicetify-cli-2.34.0-deps.tar.xz 5205496 BLAKE2B 4273d37d1d8cb76c55864a65e9ecf9a51773c234e1af4ccb5dd0fc00c986aa8c30790c7604ff8c36c79625010d02d8f38122ac385036752d23e51151e06ca947 SHA512 0dcefdc93be422a1272085e577afb1fdd8aeaf18d4f57ebb26841655c9404813d1ded8768e226627c35891a9d3de5c45f97a42cec764b92a4f767d1d6a423c82
|
||||
DIST spicetify-cli-2.34.0.tar.gz 2011611 BLAKE2B db7e0687c32d21f8e1a7a3794173f6a0aa7976dfa6e24f032d930f2a76535434dc32907d9b39054bbb54127418676f4ece40b71ba24a3777f474ad4ac1e0d7a0 SHA512 1e72eb37cc06b424f29fd4b800cdeb923b599c2777cd7523fdc2da559de46b3ef8cdce87796c98a8009bb23eda5a6b45484388dcad5dc5c1e9366823dd06282a
|
||||
|
@ -6,7 +6,7 @@ EAPI=8
|
||||
inherit go-module
|
||||
|
||||
WHITELIST_VERSIONS=(
|
||||
"<> 1.2.8 1.2.33"
|
||||
"<> 1.2.8 1.2.31"
|
||||
)
|
||||
|
||||
whitelist_versions() {
|
99
app-misc/spicetify-cli/spicetify-cli-2.33.0.ebuild
Normal file
99
app-misc/spicetify-cli/spicetify-cli-2.33.0.ebuild
Normal file
@ -0,0 +1,99 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit go-module
|
||||
|
||||
WHITELIST_VERSIONS=(
|
||||
"<> 1.2.8 1.2.32"
|
||||
)
|
||||
|
||||
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 as root."
|
||||
elog "# chmod a+wr /opt/spotify/spotify-client"
|
||||
elog "# chmod a+wr /opt/spotify/spotify-client/Apps -R"
|
||||
elog ""
|
||||
elog "WARNING: Do not run spicetify as root please"
|
||||
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
|
||||
}
|
99
app-misc/spicetify-cli/spicetify-cli-2.33.1.ebuild
Normal file
99
app-misc/spicetify-cli/spicetify-cli-2.33.1.ebuild
Normal file
@ -0,0 +1,99 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit go-module
|
||||
|
||||
WHITELIST_VERSIONS=(
|
||||
"<> 1.2.8 1.2.32"
|
||||
)
|
||||
|
||||
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 as root."
|
||||
elog "# chmod a+wr /opt/spotify/spotify-client"
|
||||
elog "# chmod a+wr /opt/spotify/spotify-client/Apps -R"
|
||||
elog ""
|
||||
elog "WARNING: Do not run spicetify as root please"
|
||||
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