pmaports/device/testing/device-asus-x00td/APKBUILD
Alexey Minnekhanov 4f15437c21
asus-x00td: add touchscreen module to initfs (MR 3342)
And panel-simple is now built-in
2022-09-15 20:19:32 +02:00

40 lines
1.1 KiB
Text

# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-asus-x00td
pkgdesc="Asus ZenFone Max Pro M1"
pkgver=0.4
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="
4ee9d8dd73f9ccb438d7a9c022d4ab13648d1a73a456b844b45a824d5d1a148e67fe78ba613d97aa954f858f753515db2b4950c4b994590aa16ae2e930de621d deviceinfo
"