From 767ac71d47bc993b227b7ff1beeb3817a3507d7a Mon Sep 17 00:00:00 2001 From: Ronald Farrer Date: Sun, 1 Aug 2021 21:40:48 -0700 Subject: [PATCH] Added 5.13.7. --- .../surface-sources-5.13.7.ebuild | 61 +++++++++++++++++++ 1 file changed, 61 insertions(+) create mode 100644 sys-kernel/gentoo-surface-sources/surface-sources-5.13.7.ebuild diff --git a/sys-kernel/gentoo-surface-sources/surface-sources-5.13.7.ebuild b/sys-kernel/gentoo-surface-sources/surface-sources-5.13.7.ebuild new file mode 100644 index 0000000..32fd249 --- /dev/null +++ b/sys-kernel/gentoo-surface-sources/surface-sources-5.13.7.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" +ETYPE="sources" +K_SECURITY_UNSUPPORTED="1" +K_WANT_GENPATCHES="base extras experimental" +K_GENPATCHES_VER="10" + +inherit kernel-2 +inherit eutils +detect_version +detect_arch + +KEYWORDS="~amd64" +HOMEPAGE="https://github.com/linux-surface/linux-surface" +IUSE="experimental" +DESCRIPTION="Full sources including the Gentoo and Surface patchset for the ${KV_MAJOR}.${KV_MINOR} kernel tree." +SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI} + https://raw.githubusercontent.com/linux-surface/linux-surface/master/patches/5.12/0001-surface3-oemb.patch + https://raw.githubusercontent.com/linux-surface/linux-surface/master/patches/5.12/0002-mwifiex.patch + https://raw.githubusercontent.com/linux-surface/linux-surface/master/patches/5.12/0003-ath10k.patch + https://raw.githubusercontent.com/linux-surface/linux-surface/master/patches/5.12/0004-ipts.patch + https://raw.githubusercontent.com/linux-surface/linux-surface/master/patches/5.12/0005-surface-sam-over-hid.patch + https://raw.githubusercontent.com/linux-surface/linux-surface/master/patches/5.12/0006-surface-sam.patch + https://raw.githubusercontent.com/linux-surface/linux-surface/master/patches/5.12/0007-surface-typecover.patch + https://raw.githubusercontent.com/linux-surface/linux-surface/master/patches/5.12/0008-surface-go-touchscreen.patch + https://raw.githubusercontent.com/linux-surface/linux-surface/master/patches/5.12/0009-cameras.patch -> 5.12-cameras.patch" + + +src_prepare() { + eapply "${DISTDIR}/0001-surface3-oemb.patch" + eapply "${DISTDIR}/0002-mwifiex.patch" + eapply "${DISTDIR}/0003-ath10k.patch" + eapply "${DISTDIR}/0004-ipts.patch" + eapply "${DISTDIR}/0005-surface-sam-over-hid.patch" + eapply "${DISTDIR}/0006-surface-sam.patch" + eapply "${DISTDIR}/0007-surface-typecover.patch" + eapply "${DISTDIR}/0008-surface-go-touchscreen.patch" + eapply "${DISTDIR}/5.12-cameras.patch" + eapply_user +} + +pkg_setup() { + ewarn "" + ewarn "${PN} is *not* supported by the Gentoo Kernel Project in any way." + ewarn "If you need support, please contact the overlay developers directly." + ewarn "Do *not* open bugs in Gentoo's bugzilla unless you have issues with" + ewarn "the ebuilds. Thank you." + ewarn "" +} + +pkg_postinst() { + kernel-2_pkg_postinst + einfo "For more info on this patchset, and how to report problems, see:" + einfo "${HOMEPAGE}" +} + +pkg_postrm() { + kernel-2_pkg_postrm +}