pmaports/device/testing/device-google-crosshatch/APKBUILD
Luca Weiss a17a931026
device/*: Add deviceinfo_chassis variable (MR 1246)
[ci:ignore-count], [ci:skip-build]
2020-05-24 06:35:30 +02:00

38 lines
1.1 KiB
Text

# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-google-crosshatch
pkgdesc="Google Pixel 3 XL"
pkgver=0.1
pkgrel=8
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
options="!check !archcheck"
depends="postmarketos-base mkbootimg mesa-dri-swrast"
makedepends="devicepkg-dev"
source="deviceinfo"
subpackages="
$pkgname-kernel-downstream:kernel_downstream
$pkgname-kernel-mainline:kernel_mainline
"
build() {
devicepkg_build $startdir $pkgname
}
package() {
devicepkg_package $startdir $pkgname
}
kernel_downstream() {
pkgdesc="LineageOS downstream kernel (recommended)"
depends="linux-google-crosshatch"
devicepkg_subpackage_kernel $startdir $pkgname $subpkgname
}
kernel_mainline() {
pkgdesc="Attempt at mainlining. DO NOT USE: doesn't work (only USB networking is supported)"
depends="linux-google-crosshatch-mainline firmware-google-crosshatch-mainline-dtbo"
devicepkg_subpackage_kernel $startdir $pkgname $subpkgname
}
sha512sums="ff188dd175a36228e5e2fe12c7d8f52b598319cf0a7cc9267ce58c85f83291cda362079a199114021e5a535c4065ed91a24be12fa222d3e05709819e1beed20f deviceinfo"