Compare commits
6 Commits
07a4a1c1cf
...
9565a101be
Author | SHA1 | Date | |
---|---|---|---|
|
9565a101be | ||
|
f8a27eba0c | ||
|
7778e7413b | ||
|
86be58678c | ||
|
4325d6436d | ||
|
796d389f6b |
@ -1,5 +1,3 @@
|
||||
DIST spicetify-cli-2.30.0-deps.tar.xz 5177060 BLAKE2B a540c5cd77c9343ba53d8838cf5b0a79b2bdddf6bdcc2b49e631f93e345f3d84f03d74d23d9cbe68d04efb0f2c4419e98dff16d13477d28b55858745129931c6 SHA512 3262ff75b05375cc5531fd52b7815b935037caf1bfeec0c4a8c2a904bcf8310917c86cde2eccf849e1bf5d5525434050293414855a5130e1103aa9a77491864b
|
||||
DIST spicetify-cli-2.30.0.tar.gz 2011152 BLAKE2B 6e0e2153bef7aa52d44e00c6d3c54293ca000fd8ad2290fd7209ed4de1b6f3bbe3d860e120aa42cfe569eeb6163aaf1e5d2870427224b57e5c0cc7248c06f429 SHA512 f9c72a78a574dccae6e73ae3d798a1670be31972baf80750d1ade2933aa0694ed1fd6dd427f2f57842765f305cbe5f7e71f805f40df6e89e115315d9c607e3b9
|
||||
DIST spicetify-cli-2.31.0-deps.tar.xz 5177792 BLAKE2B 1cfc1c659e2f5eb337e232a83b3e1619f9ebfa4c48a5b0a0d374eecaadca33f255badb81860e7817ce9d40a7e29fd30700fc2c548074166ef6f4022a979bb509 SHA512 2f824304d9e539b967a987c7d802d6979030befdf28ab395dd2da5d7142c0aeff1dfd138ae61edc7510fb2aa01e62488d14e6c5229331b51bc9d1811b52a8f57
|
||||
DIST spicetify-cli-2.31.0.tar.gz 2012768 BLAKE2B 656b3d9c781371bc40d141abc977667e28f3f5366585e9706cc50188051f3973d49f5aecfbf7930d3f2f46c526ad39b1b2bdf1855aa64dff0bdee44350f08f79 SHA512 a93f757ade662d54a0f50e03ef1ecd94d20154787d57b105bffd780ca543dfb6abc644e94e0c36728ccbe3214fc723a14a9016b2d235ef5c6d024ff23e550a61
|
||||
DIST spicetify-cli-2.31.1-deps.tar.xz 5176176 BLAKE2B 76f9276845011fc92d093150d609a699d1214f46e89844973da89eb1c5806d235707329a1d4dc5ac08560c57af43ce44bc4736ead4e7e81aafd3e3ea62c83217 SHA512 46baae041f19e6eaf2a742c5406a03150572e58b99ee1d3c0c6e1976d2fbd2b7373ae4e5270029c57528bc5d48e175ad39b68840424679a8d3573279ea732083
|
||||
|
@ -1,99 +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.8 1.2.28"
|
||||
)
|
||||
|
||||
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
|
||||
}
|
@ -1,9 +1,8 @@
|
||||
DIST genpatches-6.1-82.base.tar.xz 4335544 BLAKE2B ce5397b5d00d226ecb13f97defab280bfec46a7e4a626f9579e9c348cba80d50c3c73505215418e20bc508c43453b6112159e2e7696a4abc7ebd9ff403f4eef8 SHA512 90c0fb104cb67666b38d8e51ca87658e771fdd4406537b919f4b47d5e486407f9729bb2df1137cc4fd5abb530fa71723a5157376c11cf75625b4cb190ccc59d2
|
||||
DIST genpatches-6.1-82.extras.tar.xz 3816 BLAKE2B 3371d009143a2bea266308d2369cb114434c0bc96453e0d87cd39d9cbb8b2984f9166e78ca06471af873ea8a286d5f9065107102625d283fc85bb1c21d92ffd3 SHA512 da9a7b58e8907b3379ebc6c40b084c852c5b1090989f5eec8b1087e5706a9c9b1fd87772f1f0efbe18128e85f4d0b76ee4e10b6c6bd409eff6930bf19971b7dd
|
||||
DIST genpatches-6.6-17.base.tar.xz 894152 BLAKE2B ff9c821916d3b1350ac30a44673eee52df18d5c7766ccfb7e682740889191080e947ca6f78b8f2af3b1b2b879326c0b530a53f7443a54ecd124b27e89e99e6bd SHA512 45b6df20d995ceddbccf72db94062339e021eaa4a121d0591a936e39b1e56c8f2581dd1fde03505914adb787445b4cfd998f7847f640785dfa1c05e7959125aa
|
||||
DIST genpatches-6.6-17.extras.tar.xz 3704 BLAKE2B d85a68fe7bf6e4693a41958a053705e35b8829c236b8fad024f7332f89be277708dce2bc931c013b3bf51e14e3b11162342893b7d257541677b17efa918c86b7 SHA512 d53c369e9f54f6de450a41882626d74b22315b8ca7c7b381089b77a6b1b5a1b444109e8fc9c25bdf22afeb92af252c963c700e0e309cfa272caf39c1f5855a55
|
||||
DIST genpatches-6.6-18.base.tar.xz 1008124 BLAKE2B 90cfa49d54e086a9fbaf20154f427def0097e76ba6ef5a0b41cd0004634a9d8dd5413e53ea80c340716f3d8dca3685e8aed5e7d8180a11b30e2893c084858092 SHA512 0c5c7d3ed4fb6594d075fd853a730023cbb1e2902377d59cc07d6ee0bc934b371d8a522405c63a0f90a8e0742aca4b770eb25311013c062e7484e5d6f33f1fda
|
||||
DIST genpatches-6.6-18.extras.tar.xz 3704 BLAKE2B 9ce8d2ab8cdd70100a0552648053df120ba52c3ae281a6f102e5982550d15d7096eb2efcf9f5f30da17c6f86b2aa75d903f014c7232366699c5d82d493be8415 SHA512 e6aaa51fa7e0d519c5c129f029461d7217ba57cd252dff5203b84f6b0f6fbffbd1c0db8d9a30096623e5d442a5307254a8384a2da7869eb0024cd6546dd48958
|
||||
DIST gentoo-kernel-config-g11.tar.gz 5077 BLAKE2B dc17ded74f79baddd703a78084113b85e7130877b300b5fe60453cde515fe37c52ece7877049bb0ef384f74ecfc73d59d7d4a513f8fef7bf4f651599946383e8 SHA512 e91156765ef2a48396370f884fdecd7bb1d600e5167f6bad51130520f886e9198adae375adf3e40fa803abc5d5482057775fb0275ab2589bd8f94d8af4a03c4e
|
||||
DIST linux-6.1.tar.xz 134728520 BLAKE2B ae60257860b2bd1bd708d183f0443afc60ebbd2b3d535c45e44c2e541bd0928530a3b62de6385dd4e4726ebbedcc0a871d4f3ffb4105b9f1f6d8ed7467f5688e SHA512 6ed2a73c2699d0810e54753715635736fc370288ad5ce95c594f2379959b0e418665cd71bc512a0273fe226fe90074d8b10d14c209080a6466498417a4fdda68
|
||||
DIST linux-6.6.tar.xz 140064536 BLAKE2B 5f02fd8696d42f7ec8c5fbadec8e7270bdcfcb1f9844a6c4db3e1fd461c93ce1ccda650ca72dceb4890ebcbbf768ba8fba0bce91efc49fbd2c307b04e95665f2 SHA512 458b2c34d46206f9b4ccbac54cc57aeca1eaecaf831bc441e59701bac6eadffc17f6ce24af6eadd0454964e843186539ac0d63295ad2cc32d112b60360c39a35
|
||||
DIST patch-6.1.73-rt22-xanmod1.xz 3429532 BLAKE2B 7640345fe7c8344c22e0b8e918175eb368601e5ff05b41ac8e268eb75954abd5a0aad1b24d73096ea3a648bae098cf57c5cb3639cd7fce9b664a82551df5ea9b SHA512 c2d4cdac04121d28bcef57b63a68bf369d99352bf5b2cd60e757f207c9ba69f1c727b87bd1e0a4ba222a1cc182b67e29b5a3527add67b6ded852fe6e9fb9644d
|
||||
DIST patch-6.6.14-rt21-xanmod1.xz 1073556 BLAKE2B 4cd1b997848b728b91713c7611fe070f8303a8cc6b0692529905aac0a9c6e050720d1a97b4fd7dffc4009d8282210d8d041c60b341d8e9e35d51531c7df81369 SHA512 541480801fb919f1cc01a3ba72c116be0d59dbc44e0b1a9cfcd4e443864ad1ae915cde192e1a23f10057d64af3cb6404132d9120e7e431f64cdb2cb5b69da6b4
|
||||
DIST patch-6.6.15-rt22-xanmod1.xz 1178024 BLAKE2B ec199e84b3b6ce2b43a442d7d0746502bb8cc6976d2a5a6ef1d9c8d3101d72188543f3f6020d7b64c4e9bc683fd69e42861f873429b079511954336a10f49764 SHA512 4eb00741e2aaf9f7c1f0a6d6f424a4c5864a39abd9d22c3d281011c0af75ee0dbfe56732e5e07ef8ed8dfe8329725080f4ab530473c1b36e0bb93eb03d31e68a
|
||||
|
@ -3,12 +3,15 @@
|
||||
|
||||
EAPI=8
|
||||
|
||||
KERNEL_IUSE_GENERIC_UKI=1
|
||||
KERNEL_IUSE_MODULES_SIGN=1
|
||||
|
||||
inherit kernel-build
|
||||
|
||||
MY_P=linux-${PV%.*}
|
||||
MY_PV="${PV%_p*}"
|
||||
|
||||
GENPATCHES_P=genpatches-${MY_PV%.*}-$(( ${MY_PV##*.} + 9 ))
|
||||
GENPATCHES_P=genpatches-${MY_PV%.*}-$(( ${MY_PV##*.} + 3 ))
|
||||
GENTOO_CONFIG_VER=g11
|
||||
|
||||
RT_PATCHSET="${PV/*_p}"
|
||||
@ -24,9 +27,9 @@ SRC_URI="
|
||||
-> gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz
|
||||
"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
SLOT="${MY_PV}"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="${MY_PV}"
|
||||
KEYWORDS="-* ~amd64"
|
||||
IUSE="debug"
|
||||
|
@ -1,8 +1,7 @@
|
||||
DIST genpatches-6.1-82.base.tar.xz 4335544 BLAKE2B ce5397b5d00d226ecb13f97defab280bfec46a7e4a626f9579e9c348cba80d50c3c73505215418e20bc508c43453b6112159e2e7696a4abc7ebd9ff403f4eef8 SHA512 90c0fb104cb67666b38d8e51ca87658e771fdd4406537b919f4b47d5e486407f9729bb2df1137cc4fd5abb530fa71723a5157376c11cf75625b4cb190ccc59d2
|
||||
DIST genpatches-6.1-82.extras.tar.xz 3816 BLAKE2B 3371d009143a2bea266308d2369cb114434c0bc96453e0d87cd39d9cbb8b2984f9166e78ca06471af873ea8a286d5f9065107102625d283fc85bb1c21d92ffd3 SHA512 da9a7b58e8907b3379ebc6c40b084c852c5b1090989f5eec8b1087e5706a9c9b1fd87772f1f0efbe18128e85f4d0b76ee4e10b6c6bd409eff6930bf19971b7dd
|
||||
DIST genpatches-6.6-17.base.tar.xz 894152 BLAKE2B ff9c821916d3b1350ac30a44673eee52df18d5c7766ccfb7e682740889191080e947ca6f78b8f2af3b1b2b879326c0b530a53f7443a54ecd124b27e89e99e6bd SHA512 45b6df20d995ceddbccf72db94062339e021eaa4a121d0591a936e39b1e56c8f2581dd1fde03505914adb787445b4cfd998f7847f640785dfa1c05e7959125aa
|
||||
DIST genpatches-6.6-17.extras.tar.xz 3704 BLAKE2B d85a68fe7bf6e4693a41958a053705e35b8829c236b8fad024f7332f89be277708dce2bc931c013b3bf51e14e3b11162342893b7d257541677b17efa918c86b7 SHA512 d53c369e9f54f6de450a41882626d74b22315b8ca7c7b381089b77a6b1b5a1b444109e8fc9c25bdf22afeb92af252c963c700e0e309cfa272caf39c1f5855a55
|
||||
DIST linux-6.1.tar.xz 134728520 BLAKE2B ae60257860b2bd1bd708d183f0443afc60ebbd2b3d535c45e44c2e541bd0928530a3b62de6385dd4e4726ebbedcc0a871d4f3ffb4105b9f1f6d8ed7467f5688e SHA512 6ed2a73c2699d0810e54753715635736fc370288ad5ce95c594f2379959b0e418665cd71bc512a0273fe226fe90074d8b10d14c209080a6466498417a4fdda68
|
||||
DIST genpatches-6.6-18.base.tar.xz 1008124 BLAKE2B 90cfa49d54e086a9fbaf20154f427def0097e76ba6ef5a0b41cd0004634a9d8dd5413e53ea80c340716f3d8dca3685e8aed5e7d8180a11b30e2893c084858092 SHA512 0c5c7d3ed4fb6594d075fd853a730023cbb1e2902377d59cc07d6ee0bc934b371d8a522405c63a0f90a8e0742aca4b770eb25311013c062e7484e5d6f33f1fda
|
||||
DIST genpatches-6.6-18.extras.tar.xz 3704 BLAKE2B 9ce8d2ab8cdd70100a0552648053df120ba52c3ae281a6f102e5982550d15d7096eb2efcf9f5f30da17c6f86b2aa75d903f014c7232366699c5d82d493be8415 SHA512 e6aaa51fa7e0d519c5c129f029461d7217ba57cd252dff5203b84f6b0f6fbffbd1c0db8d9a30096623e5d442a5307254a8384a2da7869eb0024cd6546dd48958
|
||||
DIST linux-6.6.tar.xz 140064536 BLAKE2B 5f02fd8696d42f7ec8c5fbadec8e7270bdcfcb1f9844a6c4db3e1fd461c93ce1ccda650ca72dceb4890ebcbbf768ba8fba0bce91efc49fbd2c307b04e95665f2 SHA512 458b2c34d46206f9b4ccbac54cc57aeca1eaecaf831bc441e59701bac6eadffc17f6ce24af6eadd0454964e843186539ac0d63295ad2cc32d112b60360c39a35
|
||||
DIST patch-6.1.73-rt22-xanmod1.xz 3429532 BLAKE2B 7640345fe7c8344c22e0b8e918175eb368601e5ff05b41ac8e268eb75954abd5a0aad1b24d73096ea3a648bae098cf57c5cb3639cd7fce9b664a82551df5ea9b SHA512 c2d4cdac04121d28bcef57b63a68bf369d99352bf5b2cd60e757f207c9ba69f1c727b87bd1e0a4ba222a1cc182b67e29b5a3527add67b6ded852fe6e9fb9644d
|
||||
DIST patch-6.6.14-rt21-xanmod1.xz 1073556 BLAKE2B 4cd1b997848b728b91713c7611fe070f8303a8cc6b0692529905aac0a9c6e050720d1a97b4fd7dffc4009d8282210d8d041c60b341d8e9e35d51531c7df81369 SHA512 541480801fb919f1cc01a3ba72c116be0d59dbc44e0b1a9cfcd4e443864ad1ae915cde192e1a23f10057d64af3cb6404132d9120e7e431f64cdb2cb5b69da6b4
|
||||
DIST patch-6.6.15-rt22-xanmod1.xz 1178024 BLAKE2B ec199e84b3b6ce2b43a442d7d0746502bb8cc6976d2a5a6ef1d9c8d3101d72188543f3f6020d7b64c4e9bc683fd69e42861f873429b079511954336a10f49764 SHA512 4eb00741e2aaf9f7c1f0a6d6f424a4c5864a39abd9d22c3d281011c0af75ee0dbfe56732e5e07ef8ed8dfe8329725080f4ab530473c1b36e0bb93eb03d31e68a
|
||||
|
@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="8"
|
||||
@ -7,7 +7,7 @@ XANMOD_VERSION=1
|
||||
RT_PATCHSET="${PV/*_p}"
|
||||
|
||||
K_WANT_GENPATCHES="base extras"
|
||||
K_GENPATCHES_VER="82"
|
||||
K_GENPATCHES_VER="18"
|
||||
|
||||
ETYPE="sources"
|
||||
K_SECURITY_UNSUPPORTED="1"
|
||||
@ -19,12 +19,12 @@ detect_arch
|
||||
|
||||
DESCRIPTION="Full XanMod sources with CONFIG_PREEMPT_RT and including the Gentoo patchset"
|
||||
HOMEPAGE="https://xanmod.org"
|
||||
LICENSE+=" CDDL"
|
||||
SRC_URI="
|
||||
${KERNEL_BASE_URI}/linux-${KV_MAJOR}.${KV_MINOR}.tar.xz
|
||||
mirror://sourceforge/xanmod/patch-${OKV}-rt${RT_PATCHSET}-xanmod${XANMOD_VERSION}.xz
|
||||
${GENPATCHES_URI}
|
||||
"
|
||||
LICENSE+=" CDDL"
|
||||
|
||||
KEYWORDS="~amd64"
|
||||
|
@ -1,19 +0,0 @@
|
||||
# Copyright 2022-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DESCRIPTION="Virtual to depend on any Distribution Kernel"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
RDEPEND="
|
||||
|| (
|
||||
~sys-kernel/gentoo-kernel-${PV}
|
||||
~sys-kernel/gentoo-kernel-bin-${PV}
|
||||
~sys-kernel/vanilla-kernel-${PV}
|
||||
sys-kernel/xanmod-kernel:${PV}
|
||||
sys-kernel/xanmod-kernel-bin:${PV}
|
||||
sys-kernel/xanmod-rt-kernel:${PV}
|
||||
)
|
||||
"
|
Loading…
Reference in New Issue
Block a user