pmaports/device/testing/device-google-crosshatch/APKBUILD

39 lines
1.1 KiB
Text
Raw Normal View History

# 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="Close to mainline; 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"