diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-05-16 00:01:30 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-05-16 00:01:30 +0100 |
commit | 66113e7871aede225d661473925cea4cce9e6d23 (patch) | |
tree | 5bca10c8eeb5527fc3625567fc296a60dd9695cd /sys-kernel/zen-sources/zen-sources-6.8.9.ebuild | |
parent | 514c44bb9cc421df9c323acbad430cbb6ee5b89a (diff) |
gentoo auto-resync : 16:05:2024 - 00:01:30
Diffstat (limited to 'sys-kernel/zen-sources/zen-sources-6.8.9.ebuild')
-rw-r--r-- | sys-kernel/zen-sources/zen-sources-6.8.9.ebuild | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/sys-kernel/zen-sources/zen-sources-6.8.9.ebuild b/sys-kernel/zen-sources/zen-sources-6.8.9.ebuild new file mode 100644 index 000000000000..8bc571081193 --- /dev/null +++ b/sys-kernel/zen-sources/zen-sources-6.8.9.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="8" +ETYPE="sources" +K_WANT_GENPATCHES="base extras" +K_GENPATCHES_VER="12" +K_SECURITY_UNSUPPORTED="1" +K_NOSETEXTRAVERSION="1" + +inherit kernel-2 unpacker +detect_version +detect_arch + +DESCRIPTION="The Zen Kernel Live Sources" +HOMEPAGE="https://github.com/zen-kernel" + +# Needed for zstd compression of the patch +BDEPEND="$(unpacker_src_uri_depends)" + +ZEN_URI="https://github.com/zen-kernel/zen-kernel/releases/download/v${PV}-zen1/linux-v${PV}-zen1.patch.zst" +SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI} ${ZEN_URI}" + +KEYWORDS="~amd64 ~arm64 ~x86" + +UNIPATCH_LIST="${WORKDIR}/linux-v${PV}-zen1.patch" +UNIPATCH_STRICTORDER="yes" + +K_EXTRAEINFO="For more info on zen-sources, and for how to report problems, see: \ +${HOMEPAGE}, also go to #zen-sources on oftc" + +src_unpack() { + unpacker "linux-v${PV}-zen1.patch.zst" + kernel-2_src_unpack +} + +pkg_setup() { + ewarn + ewarn "${PN} is *not* supported by the Gentoo Kernel Project in any way." + ewarn "If you need support, please contact the zen developers directly." + ewarn "Do *not* open bugs in Gentoo's bugzilla unless you have issues with" + ewarn "the ebuilds. Thank you." + ewarn + kernel-2_pkg_setup +} + +src_install() { + rm "${WORKDIR}/linux-v${PV}-zen1.patch" || die + kernel-2_src_install +} + +pkg_postrm() { + kernel-2_pkg_postrm +} |