2020-05-10 16:02:37 +02:00
|
|
|
# Copyright 1999-2020 Gentoo Authors
|
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
|
|
|
EAPI="6"
|
|
|
|
ETYPE="sources"
|
|
|
|
K_WANT_GENPATCHES="base extras"
|
2020-06-17 22:09:43 +02:00
|
|
|
K_GENPATCHES_VER="1"
|
2020-05-10 16:02:37 +02:00
|
|
|
K_SECURITY_UNSUPPORTED="1"
|
|
|
|
K_NOSETEXTRAVERSION="1"
|
2020-11-12 17:40:32 +01:00
|
|
|
ZEN_VERSION="1"
|
2020-05-10 16:11:59 +02:00
|
|
|
inherit kernel-2-src-prepare-overlay
|
2020-05-10 16:02:37 +02:00
|
|
|
detect_version
|
|
|
|
detect_arch
|
|
|
|
|
|
|
|
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
|
|
|
|
HOMEPAGE="https://github.com/zen-kernel"
|
|
|
|
IUSE=""
|
|
|
|
|
|
|
|
DESCRIPTION="Zen sources including the Gentoo patchsets for the ${KV_MAJOR}.${KV_MINOR} kernel tree"
|
|
|
|
|
2020-10-18 07:51:23 +02:00
|
|
|
ZEN_URI="https://github.com/zen-kernel/zen-kernel/releases/download/v${PV}-zen${ZEN_VERSION}/v${PV}-zen${ZEN_VERSION}.patch.xz"
|
2020-05-10 16:02:37 +02:00
|
|
|
SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI} ${ZEN_URI}"
|
|
|
|
|
2020-10-18 07:51:23 +02:00
|
|
|
UNIPATCH_LIST="${DISTDIR}/v${PV}-zen${ZEN_VERSION}.patch.xz"
|
2020-05-10 16:02:37 +02:00
|
|
|
UNIPATCH_STRICTORDER="yes"
|
2020-09-24 19:43:43 +02:00
|
|
|
|
|
|
|
K_EXTRAEINFO="For more info on zen-sources, and for how to report problems, see: \
|
|
|
|
${HOMEPAGE}, also go to #zen-sources on freenode"
|
|
|
|
|
|
|
|
pkg_postrm() {
|
|
|
|
kernel-2_pkg_postrm
|
|
|
|
}
|