sys-kernel/raspberrypi-sources: add 4.19 LTS branch
authorGeorgy Yakovlev <gyakovlev@gentoo.org>
Fri, 11 Jan 2019 08:27:53 +0000 (00:27 -0800)
committerGeorgy Yakovlev <gyakovlev@gentoo.org>
Fri, 11 Jan 2019 08:27:53 +0000 (00:27 -0800)
Package-Manager: Portage-2.3.54, Repoman-2.3.12
Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
sys-kernel/raspberrypi-sources/raspberrypi-sources-4.19.9999.ebuild [new file with mode: 0644]

diff --git a/sys-kernel/raspberrypi-sources/raspberrypi-sources-4.19.9999.ebuild b/sys-kernel/raspberrypi-sources/raspberrypi-sources-4.19.9999.ebuild
new file mode 100644 (file)
index 0000000..7613907
--- /dev/null
@@ -0,0 +1,27 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+ETYPE=sources
+K_DEFCONFIG="bcmrpi_defconfig"
+K_SECURITY_UNSUPPORTED=1
+EXTRAVERSION="-${PN}/-*"
+inherit kernel-2
+detect_version
+detect_arch
+
+inherit git-r3 versionator
+EGIT_REPO_URI="https://github.com/raspberrypi/linux.git -> raspberrypi-linux.git"
+EGIT_BRANCH="rpi-$(get_version_component_range 1-2).y"
+EGIT_CHECKOUT_DIR="${WORKDIR}/linux-${PV}-raspberrypi"
+
+DESCRIPTION="Raspberry PI kernel sources"
+HOMEPAGE="https://github.com/raspberrypi/linux"
+
+KEYWORDS=""
+
+src_unpack() {
+       git-r3_src_unpack
+       unpack_set_extraversion
+}