summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKireinaHoro <i@jsteward.moe>2018-07-03 01:49:59 +0800
committerKireinaHoro <i@jsteward.moe>2018-07-03 01:49:59 +0800
commit8c59d9e8bda05fc610e7da677e9ee6f1dcfea51b (patch)
treec948de534a693c06971716a534fd01267ac86461
parentsys-kernel/preinit: bump to 0.6 (diff)
downloadandroid-8c59d9e8bda05fc610e7da677e9ee6f1dcfea51b.tar.gz
android-8c59d9e8bda05fc610e7da677e9ee6f1dcfea51b.tar.bz2
android-8c59d9e8bda05fc610e7da677e9ee6f1dcfea51b.zip
sys-kernel/angler-sources: add proper ebuild
Package-Manager: Portage-2.3.24, Repoman-2.3.6
-rw-r--r--sys-kernel/angler-sources/Manifest2
-rw-r--r--sys-kernel/angler-sources/angler-sources-3.10.73.9999.ebuild27
-rw-r--r--sys-kernel/angler-sources/angler-sources-3.10.73.ebuild36
3 files changed, 28 insertions, 37 deletions
diff --git a/sys-kernel/angler-sources/Manifest b/sys-kernel/angler-sources/Manifest
index bf1a8ad..d7ebb6e 100644
--- a/sys-kernel/angler-sources/Manifest
+++ b/sys-kernel/angler-sources/Manifest
@@ -1,2 +1,2 @@
-EBUILD angler-sources-3.10.73.ebuild 832 BLAKE2B f748031bc2b0b3d91e8b8610b5d5d08823eaa006337d61c430b633782fd12b40de56e2300b2df47612414cb467e26b9236535e58ce0c994ef7fc6af63a6d0b62 SHA512 730b945ab9eb00f0ff464e213ce97db48fe40a5575935980663af97ed3989f104195e6dd816bf959d878e2ae056d75e284496d078cba17938c34837decc51701
+EBUILD angler-sources-3.10.73.9999.ebuild 657 BLAKE2B 0735e3137cb8f96ce2b78642566aad133fc4c13593fbb849a36f67abcedd6bd4005f3ebc705069b4e43fae3b927757682754a86e5c1601b890a7f53000e830c8 SHA512 e4da60ea8bf469a8a4e17f33bf825c34240d908699a3f727abdf6c006c910ca069c40b1f062f7c60ec18fb23b894d7b19e45492f2016588e7934fd149e340ce1
MISC metadata.xml 302 BLAKE2B 2560cf9d3ac1d88ef673eae5f52a07e3dd311b1e76235d04cccb623dc1d902fb4b12bb2f26ba3dc6fcad206895f5663ad5579091b336b835f24a799d3fa3cec5 SHA512 e4568d468c1716d269db218e26c93716bdeae20ea9922782520ac75d0fff2f4395a5c076c2dfc05acaec1306823a0f3a32bed7c5a1082973e4232cbb65260e11
diff --git a/sys-kernel/angler-sources/angler-sources-3.10.73.9999.ebuild b/sys-kernel/angler-sources/angler-sources-3.10.73.9999.ebuild
new file mode 100644
index 0000000..d4c0454
--- /dev/null
+++ b/sys-kernel/angler-sources/angler-sources-3.10.73.9999.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+ETYPE="sources"
+K_DEFCONFIG="sharkbait_angler_defconfig"
+K_SECURITY_UNSUPPORTED=1
+EXTRAVERSION="-${PN}/-*"
+inherit kernel-2
+detect_version
+detect_arch
+
+inherit git-r3
+EGIT_REPO_URI="https://github.com/KireinaHoro/android_kernel_huawei_angler.git -> angler-linux.git"
+EGIT_BRANCH="sharkbait"
+EGIT_CHECKOUT_DIR="${WORKDIR}/linux-${PV}-angler"
+
+DESCRIPTION="Huawei Nexus 6P kernel sources"
+HOMEPAGE="https://github.com/KireinaHoro/android_kernel_huawei_angler"
+
+KEYWORDS="~arm64"
+
+src_unpack() {
+ git-r3_src_unpack
+ unpack_set_extraversion
+}
diff --git a/sys-kernel/angler-sources/angler-sources-3.10.73.ebuild b/sys-kernel/angler-sources/angler-sources-3.10.73.ebuild
deleted file mode 100644
index 4d5a08a..0000000
--- a/sys-kernel/angler-sources/angler-sources-3.10.73.ebuild
+++ /dev/null
@@ -1,36 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="6"
-UNIPATCH_STRICTORDER="yes"
-K_NOUSENAME="yes"
-K_NOSETEXTRAVERSION="yes"
-K_NOUSEPR="yes"
-K_SECURITY_UNSUPPORTED="1"
-K_BASE_VER="3.10"
-K_EXP_GENPATCHES_NOUSE="1"
-K_FROM_GIT="yes"
-ETYPE="sources"
-CKV="${PVR/-r/-git}"
-
-# only use this if it's not an _rc/_pre release
-[ "${PV/_pre}" == "${PV}" ] && [ "${PV/_rc}" == "${PV}" ] && OKV="${PV}"
-inherit git-r3 kernel-2
-detect_version
-
-DESCRIPTION="Device-specific kernel sources from AOSP project adapted for Gentoo"
-HOMEPAGE="https://www.kernel.org"
-EGIT_REPO_URI="https://github.com/KireinaHoro/android_kernel_huawei_angler"
-
-KEYWORDS="~arm64"
-IUSE=""
-
-RDEPEND="
-sys-kernel/installkernel
-"
-DEPEND="${RDEPEND}
- >=sys-devel/patch-2.7.5"
-
-pkg_postinst() {
- postinst_sources
-}