Compare commits
4 Commits
ae53c7d4fb
...
26c043ecaa
Author | SHA1 | Date | |
---|---|---|---|
|
26c043ecaa | ||
|
4b1f8217b6 | ||
|
ee80319eba | ||
|
483079bc07 |
@ -4,3 +4,5 @@ DIST spicetify-cli-2.29.0-deps.tar.xz 5167556 BLAKE2B e4522aa90eba06eec4c1566d1f
|
||||
DIST spicetify-cli-2.29.0.tar.gz 2042759 BLAKE2B 3f5d30de32a09f223d2e851845dc72ed7917f38532174d0a41a5c5e85dbef464f4c241ec2d84e9328a5987f7d29dfa7c2c5b4d3f5c2b443649bcd56764fff4bf SHA512 fdf87701d033efad8d8786cda7d07711407158fbd6053f7bf405b782d4b9ebb69d1f3e8ed11a30b94bb7dfbf5513bdcb4a4226e964a38487711c15207ab0a3a3
|
||||
DIST spicetify-cli-2.29.1-deps.tar.xz 5167956 BLAKE2B a372f94aee08ba24c3580624ea8b875ed034a4928503461803713d54890b19bdaf7b8eb41ff11488c68545267c7453e93bfba1b00f6e6b280b9b0e386ccad04d SHA512 0753dd90f5309d0c17b1f73c5f60f89d5701f6017895e4ca80d4ae897ff03ca3c1ac0aeb7759cdb2013632e1baabae8e91997b4520aef42b1fddd142ac66daa3
|
||||
DIST spicetify-cli-2.29.1.tar.gz 2042773 BLAKE2B 8a0e7833fa4183eb689d0b451391a79569a60265e74c45871f7af1575cf340190da614e63421939506a52b79b2c18ef8b5d4eed0b4d37d219f99112e12c1435e SHA512 e23f53e8db009a9cac22b57c50542acbb5a9aa212b055354bcf11a85743d2c9f5aabcdac1abb9bd8f6ccacb45792f40813e30cd179fe01d7653e31c50b675759
|
||||
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
|
||||
|
99
app-misc/spicetify-cli/spicetify-cli-2.30.0.ebuild
Normal file
99
app-misc/spicetify-cli/spicetify-cli-2.30.0.ebuild
Normal file
@ -0,0 +1,99 @@
|
||||
# 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
|
||||
}
|
@ -2,14 +2,20 @@ DIST genpatches-6.1-78.base.tar.xz 4233428 BLAKE2B 489c688bdce6b557065c5a2c63b35
|
||||
DIST genpatches-6.1-78.extras.tar.xz 3812 BLAKE2B b06900c35aba0f1866d2c64a71785afe6a8b6ff0abe12a15f02475470e6f327c7ea35df1af5bcad92ad0cb9aeac030f0c4328beb69b1b74cf9420ac7a38555cc SHA512 d3b76b5301b4d6901ef8ae3589f9a3c948a2c88cdd932e748991987f45e4ef8b19b9b7102db83210ec17b67b00ceb597c22722c7ba3f66ae7be76624a1564522
|
||||
DIST genpatches-6.1-80.base.tar.xz 4275520 BLAKE2B b52031561d29cf853f17486ab4ba258a6c91d5d4e925217b9d8676842b1134ac25d50150fb10af462f1a1610bb461eff08755e326fa4b70862f4bc2d0c535c3d SHA512 f6f07291004ef71610e140644f6f34167eb2097100d300d5302d684915415f16c074a6f37f0409da6b6bd5ff4b464739a8d565f1c53096b17616a0ecd09622cc
|
||||
DIST genpatches-6.1-80.extras.tar.xz 3816 BLAKE2B 9612466a57c8b6bda84fd8e152de1daffd413214a51fe43274c9051a1ceda511faa7a6acc90264115a786fb9225f77b7fcfeaaceffe308237b5ac1643f1331a9 SHA512 54a4e8eec2f8034fe202b98dd182dda8764838877e0fde11f01c2a69ccd340f39fc0cab1b1d6b93c5592f5238b1f4a138b433552f7009cd5b0bf60a25bec6c6e
|
||||
DIST genpatches-6.1-81.base.tar.xz 4334960 BLAKE2B 9ea7c823ceeb092badfbf1c47bb59372f489f136906b24551917b47d554d70cbed64172a126b01420a47cc99a8fbaa554589ee95a117a3582eb7969d2af5f6ca SHA512 f18d383d39113652a3dad371f4656b49f7c87be4697b81bb2d0eabe2dcb97b514f4812d9be45a0fa62348508c6b0a56478bcdac828f7a26df3f1219d3de56194
|
||||
DIST genpatches-6.1-81.extras.tar.xz 3812 BLAKE2B 6521612c65bccd8ad9950aa2d613ace86229593be584c69655df14f2c450dac73abcadfc5b0df878f01ca9c689d1ce657300a2e81595f134ae236bc254fd2150 SHA512 65fabe58523be0de77ee5ace810ab3583e2e1c8ed957bbcffe46ae89f9b09c2dd85b9585e53b9a3befb92d9765fcf42636ee8b53dfbec5428436277a23a8d757
|
||||
DIST genpatches-6.6-11.base.tar.xz 649760 BLAKE2B d435eda1a18196b24c451ae605c719cf5a45c255b2017f1b7ab3612df3f4101c003e615589841d02329e44c3411b4cb27b577e8ff05f09e9349d38e622b823d1 SHA512 b06c66f730e4a43d8730c5c98661b6061485696375d2bc623b818303b0f6f15d9ad9da318bf9d3153036c3d8a2215fe12c5fd8b789775027c5c21f2ef8d93c4a
|
||||
DIST genpatches-6.6-11.extras.tar.xz 3704 BLAKE2B a5ec7394f611c491ae0867c4694fdd000a0a53d6353832ecfb702f6b86711d7c955f0e4a8d10ee2cde6f2255a6e180fa26e3b1088f04902affa51d29f590fe82 SHA512 2ea475f922c98a83950441e86bd6805fc958f44c77866431b28da13d522d11841fc778945b253e292c8cd09ee378bd7e0169540ef12a9206d6341ec69ff463c6
|
||||
DIST genpatches-6.6-13.base.tar.xz 669256 BLAKE2B 9474c68e1558162a583278e9ee510ff2fe8412a1b2b2a9c3745df47c97a4d6e5f29a8e890a5205f43f2a2985eabebe2a5fdb7567f399f0301e58d1751eeeb5a3 SHA512 fc96cd9ed40c05f2e8ccb821206a26612970c92afa0bd893870cb0a54e5d588d11c6368dc166a2e835324ba066e4f64a03be4773dda0270015f3031d7fae05db
|
||||
DIST genpatches-6.6-13.extras.tar.xz 3704 BLAKE2B 846cd76f82b38f2a55262fe6b56ec5f9eeeffea3da929e83338ea3b4d1352435c928ecd222b4167aab080025115addd8bcb559870328c16c3aa74d90ef2442d0 SHA512 9dfad8cabe8176606ff8c81c79bb628e0ed4195f486cd10f34677702847d005bbd8b077ba6646cadf90cbe799238c996f7d0e242908cf242e3acd7acc36e225f
|
||||
DIST genpatches-6.6-14.base.tar.xz 704772 BLAKE2B 81679d803f68a65cdb7e72254949703c19d24aea7dc4a4e557c854abf8afad4b6341099fcaac9a5f68ed861dcc0dc4629b4929d563943e5e7a8918d76f4e87df SHA512 7695b65f10a2d0eb8601426b7e6116ed60a3dcb2a5c66dd2946936398607f1d6aab1c2a64154f0a95102100d8c0e0f3017addbd93fba7b555c57b9d3f148effd
|
||||
DIST genpatches-6.6-14.extras.tar.xz 3704 BLAKE2B 79dd6f5af3d310844e41da0682b379bd409c8ef02aff3bcca248494e3dd955d25445919de06cf818f58879077576e56574896fbd5da57a079f8fbdb2a25037cb SHA512 ed144b0d65466f35a078fdd2a2b23ff54bd3a3fea36d590f19cc59756c1075eea68ad7f9edcd8d6d7cc4cf79531d91dbb40e57128070b2761d23bbe97864aab6
|
||||
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.70-xanmod1.xz 3303344 BLAKE2B 7620b2df249b65ebf5ecb8b5fcf92230d84381d214f79bee0f343e324a7db5706e4998f20570bc7b6eab89320da4f32a56ef8e308f20fb2fafcef82e9491bc8f SHA512 c0232788dc9493dbfe774f6d93549d0b366c1127363930446cc2f9117769c5ac7fa74cfd5ca2323ac82b9260729afd7128748c13998c20de821455bff64731ba
|
||||
DIST patch-6.1.71-xanmod1.xz 3339648 BLAKE2B 4e02a9fc9d95840808ae08495734da25ad63756c8233e7e0700d79a7e7c8630d933245db7b4be20e06675990db859deddf54318be05d57e6cac11783f389406c SHA512 188103bdc1bb7982b1579da401658f874bb9e5b7b9852631c5f8971be782d4ff7aae8786e0bbe2da35556f2f3377ae817fc3bd31e00b4da34a0dfd5774f9c360
|
||||
DIST patch-6.1.72-xanmod1.xz 3389408 BLAKE2B cd40c031461ee7f83758e0f52bc6b47b4f83c72f3d8e8025883e2104b7e69e68284a91b0231a9f91264f627b26b8034313678a519e6d391814f26c69fe3c80ca SHA512 b2d3b69d5cd29a4146d2bec401ce5576726da787f2b296f26bf27df28a2524eb869c415d472ce7e621d1d1ad6815c1a5d918e89db7c96649475576bcbb72512a
|
||||
DIST patch-6.6.10-xanmod1.xz 779864 BLAKE2B 5eaa3754cd35a9e88e518717a833665da55796a4ec015a8c6cd9959629e1a4daf3cc8dd3bc6f73630f06f5960ce4d3a7c0b8ade998a976d4797ef0df48d602ce SHA512 d5fbfcd762add6dd20dd25537a78496a34f78f425b6447420cc5dc26838e77cd07a335f45a9e927411aa2e983b6f79d9188199176cc7c9bf357bf64a8896d011
|
||||
DIST patch-6.6.11-xanmod1.xz 813904 BLAKE2B b9aa379ec3947c0c83296c178f1ba2629fc273a4fb5da4a8793a202cf190e10d281354d6cd80403bd49d37dfef9b1fdbeb0704acd5f93643f0f98cc19c5a8a90 SHA512 b35b815b6868d7278be0a167ce5a502dede5366f05a4d85e98a930e2c968854991532b16072a210321c5f27923f46dcb5ad32fce1ff5d8017ae74b8010275995
|
||||
DIST patch-6.6.9-xanmod1.xz 760540 BLAKE2B 0da68ec7fb4ad1723e9116a6f5bbcef63b54469ad00866d2e6c9431a1e0e0fb970233de3f578fc14759707d5bbdc467bd8ee6f2d6c5c971743e1ebd9e5ccb37b SHA512 23e22c6f42e0b00e34d3227eeebda9b6af8cd78b32eb0d21ffe488a8b4e673f695d6803b78b9e56a5e15638c4cf799933010dd031350a1a64548f00881c011d9
|
||||
|
84
sys-kernel/xanmod-kernel/xanmod-kernel-6.1.72.ebuild
Normal file
84
sys-kernel/xanmod-kernel/xanmod-kernel-6.1.72.ebuild
Normal file
@ -0,0 +1,84 @@
|
||||
# Copyright 2022-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
KERNEL_IUSE_GENERIC_UKI=1
|
||||
KERNEL_IUSE_MODULES_SIGN=1
|
||||
|
||||
inherit kernel-build
|
||||
|
||||
MY_P=linux-${PV%.*}
|
||||
GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 9 ))
|
||||
GENTOO_CONFIG_VER=g11
|
||||
|
||||
DESCRIPTION="Linux kernel built with XanMod and Gentoo patches"
|
||||
HOMEPAGE="https://www.kernel.org/ https://xanmod.org/"
|
||||
SRC_URI="
|
||||
https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.xz
|
||||
mirror://sourceforge/xanmod/patch-${PV}-xanmod1.xz
|
||||
https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.base.tar.xz
|
||||
https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.extras.tar.xz
|
||||
https://github.com/mgorny/gentoo-kernel-config/archive/${GENTOO_CONFIG_VER}.tar.gz
|
||||
-> gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz
|
||||
"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="-* ~amd64"
|
||||
IUSE="debug"
|
||||
|
||||
RDEPEND="
|
||||
!sys-kernel/xanmod-kernel-bin:${SLOT}
|
||||
"
|
||||
BDEPEND="
|
||||
debug? ( dev-util/pahole )
|
||||
"
|
||||
PDEPEND="
|
||||
>=virtual/dist-kernel-${PV}
|
||||
"
|
||||
|
||||
QA_FLAGS_IGNORED="
|
||||
usr/src/linux-.*/scripts/gcc-plugins/.*.so
|
||||
usr/src/linux-.*/vmlinux
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
# Remove linux-stable patches (see 0000_README)
|
||||
find "${WORKDIR}" -maxdepth 1 -name "1[0-4][0-9][0-9]*.patch" -exec rm {} + || die
|
||||
|
||||
local PATCHES=(
|
||||
# meh, genpatches have no directory
|
||||
"${WORKDIR}"/patch-${PV}-xanmod1
|
||||
"${WORKDIR}"/*.patch
|
||||
)
|
||||
default
|
||||
|
||||
# prepare the default config
|
||||
case ${ARCH} in
|
||||
amd64)
|
||||
cp "${S}/CONFIGS/xanmod/gcc/config_x86-64-v1" .config || die
|
||||
;;
|
||||
*)
|
||||
die "Unsupported arch ${ARCH}"
|
||||
;;
|
||||
esac
|
||||
|
||||
rm "${S}/localversion" || die
|
||||
local myversion="-xanmod1-dist"
|
||||
echo "CONFIG_LOCALVERSION=\"${myversion}\"" > "${T}"/version.config || die
|
||||
local dist_conf_path="${WORKDIR}/gentoo-kernel-config-${GENTOO_CONFIG_VER}"
|
||||
|
||||
local merge_configs=(
|
||||
"${T}"/version.config
|
||||
"${dist_conf_path}"/base.config
|
||||
)
|
||||
use debug || merge_configs+=(
|
||||
"${dist_conf_path}"/no-debug.config
|
||||
"${FILESDIR}"/no-debug-extra.config
|
||||
)
|
||||
|
||||
use secureboot && merge_configs+=( "${dist_conf_path}/secureboot.config" )
|
||||
|
||||
kernel-build_merge_configs "${merge_configs[@]}"
|
||||
}
|
84
sys-kernel/xanmod-kernel/xanmod-kernel-6.6.11.ebuild
Normal file
84
sys-kernel/xanmod-kernel/xanmod-kernel-6.6.11.ebuild
Normal file
@ -0,0 +1,84 @@
|
||||
# Copyright 2022-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
KERNEL_IUSE_GENERIC_UKI=1
|
||||
KERNEL_IUSE_MODULES_SIGN=1
|
||||
|
||||
inherit kernel-build
|
||||
|
||||
MY_P=linux-${PV%.*}
|
||||
GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 3 ))
|
||||
GENTOO_CONFIG_VER=g11
|
||||
|
||||
DESCRIPTION="Linux kernel built with XanMod and Gentoo patches"
|
||||
HOMEPAGE="https://www.kernel.org/ https://xanmod.org/"
|
||||
SRC_URI="
|
||||
https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.xz
|
||||
mirror://sourceforge/xanmod/patch-${PV}-xanmod1.xz
|
||||
https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.base.tar.xz
|
||||
https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.extras.tar.xz
|
||||
https://github.com/mgorny/gentoo-kernel-config/archive/${GENTOO_CONFIG_VER}.tar.gz
|
||||
-> gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz
|
||||
"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="-* ~amd64"
|
||||
IUSE="debug"
|
||||
|
||||
RDEPEND="
|
||||
!sys-kernel/xanmod-kernel-bin:${SLOT}
|
||||
"
|
||||
BDEPEND="
|
||||
debug? ( dev-util/pahole )
|
||||
"
|
||||
PDEPEND="
|
||||
>=virtual/dist-kernel-${PV}
|
||||
"
|
||||
|
||||
QA_FLAGS_IGNORED="
|
||||
usr/src/linux-.*/scripts/gcc-plugins/.*.so
|
||||
usr/src/linux-.*/vmlinux
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
# Remove linux-stable patches (see 0000_README)
|
||||
find "${WORKDIR}" -maxdepth 1 -name "1[0-4][0-9][0-9]*.patch" -exec rm {} + || die
|
||||
|
||||
local PATCHES=(
|
||||
# meh, genpatches have no directory
|
||||
"${WORKDIR}"/patch-${PV}-xanmod1
|
||||
"${WORKDIR}"/*.patch
|
||||
)
|
||||
default
|
||||
|
||||
# prepare the default config
|
||||
case ${ARCH} in
|
||||
amd64)
|
||||
cp "${S}/CONFIGS/xanmod/gcc/config_x86-64-v1" .config || die
|
||||
;;
|
||||
*)
|
||||
die "Unsupported arch ${ARCH}"
|
||||
;;
|
||||
esac
|
||||
|
||||
rm "${S}/localversion" || die
|
||||
local myversion="-xanmod1-dist"
|
||||
echo "CONFIG_LOCALVERSION=\"${myversion}\"" > "${T}"/version.config || die
|
||||
local dist_conf_path="${WORKDIR}/gentoo-kernel-config-${GENTOO_CONFIG_VER}"
|
||||
|
||||
local merge_configs=(
|
||||
"${T}"/version.config
|
||||
"${dist_conf_path}"/base.config
|
||||
)
|
||||
use debug || merge_configs+=(
|
||||
"${dist_conf_path}"/no-debug.config
|
||||
"${FILESDIR}"/no-debug-extra.config
|
||||
)
|
||||
|
||||
use secureboot && merge_configs+=( "${dist_conf_path}/secureboot.config" )
|
||||
|
||||
kernel-build_merge_configs "${merge_configs[@]}"
|
||||
}
|
@ -2,10 +2,14 @@ DIST genpatches-6.1-78.base.tar.xz 4233428 BLAKE2B 489c688bdce6b557065c5a2c63b35
|
||||
DIST genpatches-6.1-78.extras.tar.xz 3812 BLAKE2B b06900c35aba0f1866d2c64a71785afe6a8b6ff0abe12a15f02475470e6f327c7ea35df1af5bcad92ad0cb9aeac030f0c4328beb69b1b74cf9420ac7a38555cc SHA512 d3b76b5301b4d6901ef8ae3589f9a3c948a2c88cdd932e748991987f45e4ef8b19b9b7102db83210ec17b67b00ceb597c22722c7ba3f66ae7be76624a1564522
|
||||
DIST genpatches-6.1-80.base.tar.xz 4275520 BLAKE2B b52031561d29cf853f17486ab4ba258a6c91d5d4e925217b9d8676842b1134ac25d50150fb10af462f1a1610bb461eff08755e326fa4b70862f4bc2d0c535c3d SHA512 f6f07291004ef71610e140644f6f34167eb2097100d300d5302d684915415f16c074a6f37f0409da6b6bd5ff4b464739a8d565f1c53096b17616a0ecd09622cc
|
||||
DIST genpatches-6.1-80.extras.tar.xz 3816 BLAKE2B 9612466a57c8b6bda84fd8e152de1daffd413214a51fe43274c9051a1ceda511faa7a6acc90264115a786fb9225f77b7fcfeaaceffe308237b5ac1643f1331a9 SHA512 54a4e8eec2f8034fe202b98dd182dda8764838877e0fde11f01c2a69ccd340f39fc0cab1b1d6b93c5592f5238b1f4a138b433552f7009cd5b0bf60a25bec6c6e
|
||||
DIST genpatches-6.1-81.base.tar.xz 4334960 BLAKE2B 9ea7c823ceeb092badfbf1c47bb59372f489f136906b24551917b47d554d70cbed64172a126b01420a47cc99a8fbaa554589ee95a117a3582eb7969d2af5f6ca SHA512 f18d383d39113652a3dad371f4656b49f7c87be4697b81bb2d0eabe2dcb97b514f4812d9be45a0fa62348508c6b0a56478bcdac828f7a26df3f1219d3de56194
|
||||
DIST genpatches-6.1-81.extras.tar.xz 3812 BLAKE2B 6521612c65bccd8ad9950aa2d613ace86229593be584c69655df14f2c450dac73abcadfc5b0df878f01ca9c689d1ce657300a2e81595f134ae236bc254fd2150 SHA512 65fabe58523be0de77ee5ace810ab3583e2e1c8ed957bbcffe46ae89f9b09c2dd85b9585e53b9a3befb92d9765fcf42636ee8b53dfbec5428436277a23a8d757
|
||||
DIST genpatches-6.6-11.base.tar.xz 649760 BLAKE2B d435eda1a18196b24c451ae605c719cf5a45c255b2017f1b7ab3612df3f4101c003e615589841d02329e44c3411b4cb27b577e8ff05f09e9349d38e622b823d1 SHA512 b06c66f730e4a43d8730c5c98661b6061485696375d2bc623b818303b0f6f15d9ad9da318bf9d3153036c3d8a2215fe12c5fd8b789775027c5c21f2ef8d93c4a
|
||||
DIST genpatches-6.6-11.extras.tar.xz 3704 BLAKE2B a5ec7394f611c491ae0867c4694fdd000a0a53d6353832ecfb702f6b86711d7c955f0e4a8d10ee2cde6f2255a6e180fa26e3b1088f04902affa51d29f590fe82 SHA512 2ea475f922c98a83950441e86bd6805fc958f44c77866431b28da13d522d11841fc778945b253e292c8cd09ee378bd7e0169540ef12a9206d6341ec69ff463c6
|
||||
DIST genpatches-6.6-12.base.tar.xz 669256 BLAKE2B 9474c68e1558162a583278e9ee510ff2fe8412a1b2b2a9c3745df47c97a4d6e5f29a8e890a5205f43f2a2985eabebe2a5fdb7567f399f0301e58d1751eeeb5a3 SHA512 fc96cd9ed40c05f2e8ccb821206a26612970c92afa0bd893870cb0a54e5d588d11c6368dc166a2e835324ba066e4f64a03be4773dda0270015f3031d7fae05db
|
||||
DIST genpatches-6.6-12.extras.tar.xz 3704 BLAKE2B 846cd76f82b38f2a55262fe6b56ec5f9eeeffea3da929e83338ea3b4d1352435c928ecd222b4167aab080025115addd8bcb559870328c16c3aa74d90ef2442d0 SHA512 9dfad8cabe8176606ff8c81c79bb628e0ed4195f486cd10f34677702847d005bbd8b077ba6646cadf90cbe799238c996f7d0e242908cf242e3acd7acc36e225f
|
||||
DIST genpatches-6.6-14.base.tar.xz 704772 BLAKE2B 81679d803f68a65cdb7e72254949703c19d24aea7dc4a4e557c854abf8afad4b6341099fcaac9a5f68ed861dcc0dc4629b4929d563943e5e7a8918d76f4e87df SHA512 7695b65f10a2d0eb8601426b7e6116ed60a3dcb2a5c66dd2946936398607f1d6aab1c2a64154f0a95102100d8c0e0f3017addbd93fba7b555c57b9d3f148effd
|
||||
DIST genpatches-6.6-14.extras.tar.xz 3704 BLAKE2B 79dd6f5af3d310844e41da0682b379bd409c8ef02aff3bcca248494e3dd955d25445919de06cf818f58879077576e56574896fbd5da57a079f8fbdb2a25037cb SHA512 ed144b0d65466f35a078fdd2a2b23ff54bd3a3fea36d590f19cc59756c1075eea68ad7f9edcd8d6d7cc4cf79531d91dbb40e57128070b2761d23bbe97864aab6
|
||||
DIST genpatches-6.7-1.base.tar.xz 4812 BLAKE2B 152e6d2f4917d75e10554eecb05a0494a46b3ce0b6b38e1d785faa029b8bf2f9a7b32f348c149ff90ef6dee43e0b8243ec206b887a2faa8332dd738efccf5357 SHA512 dbcf18b3dff2b7167ff36594f91cd46c74aa18f36d8bd3fa8a911c3223aa0bc7a687bc7e3e8fee5333378102afd57a363ac038343534f8be797b9d9becfcee6a
|
||||
DIST genpatches-6.7-1.extras.tar.xz 3704 BLAKE2B a030f820814c70c9e5605de1596455052cf8f0c346156ef4f480cedb4779e564e6082755cf0a5e2066ddee46b741f03c4cc118797d27a9566ffeecebba021e81 SHA512 8d46cbdeed8c59679502e269d570f679e4f3d0293b6e9ee302ca9bc0e73ac5c3ec1470f26d6b7efc66a3566b5f8dc44ed6b5a9f04e4307ec496381e32b96fdaa
|
||||
DIST linux-6.1.tar.xz 134728520 BLAKE2B ae60257860b2bd1bd708d183f0443afc60ebbd2b3d535c45e44c2e541bd0928530a3b62de6385dd4e4726ebbedcc0a871d4f3ffb4105b9f1f6d8ed7467f5688e SHA512 6ed2a73c2699d0810e54753715635736fc370288ad5ce95c594f2379959b0e418665cd71bc512a0273fe226fe90074d8b10d14c209080a6466498417a4fdda68
|
||||
@ -13,6 +17,8 @@ DIST linux-6.6.tar.xz 140064536 BLAKE2B 5f02fd8696d42f7ec8c5fbadec8e7270bdcfcb1f
|
||||
DIST linux-6.7.tar.xz 141406528 BLAKE2B cecdbd19905e43e485ab73b352ced18b37f2a138c97a6956cadcda5d3d271001117dc1cf896b166ff019fc7f405f9539e2ed0d6112b0890efb04d182adf4fd0e SHA512 de06de556191614bd9daf077ae239360352a402bab407748e67f1e5108c92fd933e451707840ab22fe0f9976db3d1e1b60ca9d41cf894f015ca09b3f652b74ad
|
||||
DIST patch-6.1.70-xanmod1.xz 3303344 BLAKE2B 7620b2df249b65ebf5ecb8b5fcf92230d84381d214f79bee0f343e324a7db5706e4998f20570bc7b6eab89320da4f32a56ef8e308f20fb2fafcef82e9491bc8f SHA512 c0232788dc9493dbfe774f6d93549d0b366c1127363930446cc2f9117769c5ac7fa74cfd5ca2323ac82b9260729afd7128748c13998c20de821455bff64731ba
|
||||
DIST patch-6.1.71-xanmod1.xz 3339648 BLAKE2B 4e02a9fc9d95840808ae08495734da25ad63756c8233e7e0700d79a7e7c8630d933245db7b4be20e06675990db859deddf54318be05d57e6cac11783f389406c SHA512 188103bdc1bb7982b1579da401658f874bb9e5b7b9852631c5f8971be782d4ff7aae8786e0bbe2da35556f2f3377ae817fc3bd31e00b4da34a0dfd5774f9c360
|
||||
DIST patch-6.1.72-xanmod1.xz 3389408 BLAKE2B cd40c031461ee7f83758e0f52bc6b47b4f83c72f3d8e8025883e2104b7e69e68284a91b0231a9f91264f627b26b8034313678a519e6d391814f26c69fe3c80ca SHA512 b2d3b69d5cd29a4146d2bec401ce5576726da787f2b296f26bf27df28a2524eb869c415d472ce7e621d1d1ad6815c1a5d918e89db7c96649475576bcbb72512a
|
||||
DIST patch-6.6.10-xanmod1.xz 779864 BLAKE2B 5eaa3754cd35a9e88e518717a833665da55796a4ec015a8c6cd9959629e1a4daf3cc8dd3bc6f73630f06f5960ce4d3a7c0b8ade998a976d4797ef0df48d602ce SHA512 d5fbfcd762add6dd20dd25537a78496a34f78f425b6447420cc5dc26838e77cd07a335f45a9e927411aa2e983b6f79d9188199176cc7c9bf357bf64a8896d011
|
||||
DIST patch-6.6.11-xanmod1.xz 813904 BLAKE2B b9aa379ec3947c0c83296c178f1ba2629fc273a4fb5da4a8793a202cf190e10d281354d6cd80403bd49d37dfef9b1fdbeb0704acd5f93643f0f98cc19c5a8a90 SHA512 b35b815b6868d7278be0a167ce5a502dede5366f05a4d85e98a930e2c968854991532b16072a210321c5f27923f46dcb5ad32fce1ff5d8017ae74b8010275995
|
||||
DIST patch-6.6.9-xanmod1.xz 760540 BLAKE2B 0da68ec7fb4ad1723e9116a6f5bbcef63b54469ad00866d2e6c9431a1e0e0fb970233de3f578fc14759707d5bbdc467bd8ee6f2d6c5c971743e1ebd9e5ccb37b SHA512 23e22c6f42e0b00e34d3227eeebda9b6af8cd78b32eb0d21ffe488a8b4e673f695d6803b78b9e56a5e15638c4cf799933010dd031350a1a64548f00881c011d9
|
||||
DIST patch-6.7.0-xanmod1.xz 140060 BLAKE2B a644a0464b9b018ec4bc7d274f72096677dc00367e1f1451be25439df131b2444bf3c149b7a4f3696865a6bb24b82b6340c675e89bcf6c181d7f03f31e84b4c7 SHA512 166ab9449ef131053385bf81af88f3ed8ffb69e189ae81e1a0aa491e31e5a5a876d9a64945877e773dbba109e41e4c4683a1cfdf543b51131e926593622dcf76
|
||||
|
41
sys-kernel/xanmod-sources/xanmod-sources-6.1.72.ebuild
Normal file
41
sys-kernel/xanmod-sources/xanmod-sources-6.1.72.ebuild
Normal file
@ -0,0 +1,41 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="8"
|
||||
|
||||
XANMOD_VERSION=1
|
||||
|
||||
K_WANT_GENPATCHES="base extras"
|
||||
K_GENPATCHES_VER="81"
|
||||
|
||||
ETYPE="sources"
|
||||
K_SECURITY_UNSUPPORTED="1"
|
||||
K_NOSETEXTRAVERSION="1"
|
||||
|
||||
inherit kernel-2
|
||||
detect_version
|
||||
detect_arch
|
||||
|
||||
DESCRIPTION="Full XanMod sources 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}-xanmod${XANMOD_VERSION}.xz
|
||||
${GENPATCHES_URI}
|
||||
"
|
||||
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
src_unpack() {
|
||||
UNIPATCH_STRICTORDER=1
|
||||
UNIPATCH_LIST_DEFAULT="${DISTDIR}/patch-${OKV}-xanmod${XANMOD_VERSION}.xz "
|
||||
UNIPATCH_EXCLUDE="${UNIPATCH_EXCLUDE} 1*_linux-${KV_MAJOR}.${KV_MINOR}.*.patch"
|
||||
kernel-2_src_unpack
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "MICROCODES"
|
||||
elog "Use xanmod-sources with microcodes"
|
||||
elog "Read https://wiki.gentoo.org/wiki/Intel_microcode"
|
||||
}
|
41
sys-kernel/xanmod-sources/xanmod-sources-6.6.11.ebuild
Normal file
41
sys-kernel/xanmod-sources/xanmod-sources-6.6.11.ebuild
Normal file
@ -0,0 +1,41 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="8"
|
||||
|
||||
XANMOD_VERSION=1
|
||||
|
||||
K_WANT_GENPATCHES="base extras"
|
||||
K_GENPATCHES_VER="14"
|
||||
|
||||
ETYPE="sources"
|
||||
K_SECURITY_UNSUPPORTED="1"
|
||||
K_NOSETEXTRAVERSION="1"
|
||||
|
||||
inherit kernel-2
|
||||
detect_version
|
||||
detect_arch
|
||||
|
||||
DESCRIPTION="Full XanMod sources 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}-xanmod${XANMOD_VERSION}.xz
|
||||
${GENPATCHES_URI}
|
||||
"
|
||||
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
src_unpack() {
|
||||
UNIPATCH_STRICTORDER=1
|
||||
UNIPATCH_LIST_DEFAULT="${DISTDIR}/patch-${OKV}-xanmod${XANMOD_VERSION}.xz "
|
||||
UNIPATCH_EXCLUDE="${UNIPATCH_EXCLUDE} 1*_linux-${KV_MAJOR}.${KV_MINOR}.*.patch"
|
||||
kernel-2_src_unpack
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "MICROCODES"
|
||||
elog "Use xanmod-sources with microcodes"
|
||||
elog "Read https://wiki.gentoo.org/wiki/Intel_microcode"
|
||||
}
|
19
virtual/dist-kernel/dist-kernel-6.1.72.ebuild
Normal file
19
virtual/dist-kernel/dist-kernel-6.1.72.ebuild
Normal file
@ -0,0 +1,19 @@
|
||||
# Copyright 2022-2023 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}
|
||||
)
|
||||
"
|
19
virtual/dist-kernel/dist-kernel-6.6.11.ebuild
Normal file
19
virtual/dist-kernel/dist-kernel-6.6.11.ebuild
Normal file
@ -0,0 +1,19 @@
|
||||
# Copyright 2022-2023 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