summaryrefslogtreecommitdiff
blob: 4d5a08a407896887c437b44b699f41a115a246c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# 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
}