pmaports/device/testing/device-asus-x00td/APKBUILD
iAboothahir 3765454957
device-asus-x00td: initial support for mainline kernel in addition to downstream kernel (MR 2985)
Signed-off-by: iAboothahir <aboothahirpkd@gmail.com>

[ci:skip-build] Already built successfuly on CI in MR
2022-03-20 18:45:28 +01:00

40 lines
1.1 KiB
Text

# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-asus-x00td
pkgdesc="Asus ZenFone Max Pro M1"
pkgver=0.2
pkgrel=0
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
options="!check !archcheck"
depends="postmarketos-base mkbootimg"
makedepends="devicepkg-dev"
subpackages="
$pkgname-kernel-downstream:kernel_downstream
$pkgname-kernel-mainline:kernel_mainline
"
source="deviceinfo"
build() {
devicepkg_build $startdir $pkgname
}
package() {
devicepkg_package $startdir $pkgname
}
kernel_downstream() {
pkgdesc="LineageOS downstream kernel (recommended)"
depends="linux-asus-x00td mesa-dri-gallium msm-fb-refresher"
devicepkg_subpackage_kernel $startdir $pkgname $subpkgname
}
kernel_mainline() {
pkgdesc="Close to mainline; for kernel development only (most features aren't working)"
depends="linux-postmarketos-qcom-sdm660 mesa-dri-gallium"
devicepkg_subpackage_kernel $startdir $pkgname $subpkgname
}
sha512sums="
c8f1d521e2f307e5b0a1134c59f172db6fb678b9a67d9ec9f76d3be7b18b4bff198a4fec284a61b0da92e7e45f0208c3595a69b6eb1c4c098c38dfcfa66d053b deviceinfo
"