1 # Copyright 1999-2022 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
5 K_WANT_GENPATCHES
="base extras"
7 K_SECURITY_UNSUPPORTED
="1"
8 K_NOSETEXTRAVERSION
="1"
13 DESCRIPTION
="Full XanMod source, including the Gentoo patchset and other patch options."
14 HOMEPAGE
="https://xanmod.org
15 https://github.com/zhmars/cjktty-patches"
21 XANMOD_URI
="https://github.com/xanmod/linux/releases/download/"
23 CJKTTY_URI
="https://raw.githubusercontent.com/zhmars/cjktty-patches/master/v${KV_MAJOR}.x/"
25 ${KERNEL_BASE_URI}/linux-${KV_MAJOR}.${KV_MINOR}.tar.xz
27 ${XANMOD_URI}/${OKV}${XANMOD_VERSION}/patch-${OKV}${XANMOD_VERSION}.xz
28 ${XANMOD_URI}/${OKV}${XANMOD_VERSION}-tt/patch-${OKV}${XANMOD_VERSION}-tt.xz
29 ${CJKTTY_URI}/cjktty-${KV_MAJOR}.${KV_MINOR}.patch
33 UNIPATCH_LIST_DEFAULT
=""
37 UNIPATCH_LIST
+=" ${DISTDIR}/patch-${OKV}${XANMOD_VERSION}-tt.xz"
39 UNIPATCH_LIST
+=" ${DISTDIR}/patch-${OKV}${XANMOD_VERSION}.xz"
43 UNIPATCH_LIST
+=" ${DISTDIR}/cjktty-${KV_MAJOR}.${KV_MINOR}.patch"
51 elog
"Use xanmod-sources with microcodes"
52 elog
"Read https://wiki.gentoo.org/wiki/Intel_microcode"