2020-05-19 03:38:06 +00:00
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
|
|
|
pkgname=device-asus-x00td
|
|
|
|
pkgdesc="Asus ZenFone Max Pro M1"
|
2022-11-06 06:58:53 +00:00
|
|
|
pkgver=0.5
|
|
|
|
pkgrel=0
|
2020-05-19 03:38:06 +00:00
|
|
|
url="https://postmarketos.org"
|
|
|
|
license="MIT"
|
|
|
|
arch="aarch64"
|
|
|
|
options="!check !archcheck"
|
2022-03-20 03:50:20 +00:00
|
|
|
depends="postmarketos-base mkbootimg"
|
2020-05-19 03:38:06 +00:00
|
|
|
makedepends="devicepkg-dev"
|
2022-03-20 03:50:20 +00:00
|
|
|
subpackages="
|
|
|
|
$pkgname-kernel-downstream:kernel_downstream
|
|
|
|
$pkgname-kernel-mainline:kernel_mainline
|
2022-10-24 05:42:26 +00:00
|
|
|
$pkgname-nonfree-firmware:nonfree_firmware
|
2022-03-20 03:50:20 +00:00
|
|
|
"
|
2020-05-19 03:38:06 +00:00
|
|
|
source="deviceinfo"
|
|
|
|
|
|
|
|
build() {
|
|
|
|
devicepkg_build $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
devicepkg_package $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
2022-03-20 03:50:20 +00:00
|
|
|
kernel_downstream() {
|
|
|
|
pkgdesc="LineageOS downstream kernel (recommended)"
|
2022-10-10 19:33:44 +00:00
|
|
|
depends="linux-asus-x00td msm-fb-refresher"
|
2022-03-20 03:50:20 +00:00
|
|
|
devicepkg_subpackage_kernel $startdir $pkgname $subpkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
kernel_mainline() {
|
|
|
|
pkgdesc="Close to mainline; for kernel development only (most features aren't working)"
|
2022-10-10 19:33:44 +00:00
|
|
|
depends="linux-postmarketos-qcom-sdm660"
|
2022-03-20 03:50:20 +00:00
|
|
|
devicepkg_subpackage_kernel $startdir $pkgname $subpkgname
|
|
|
|
}
|
|
|
|
|
2022-10-24 05:42:26 +00:00
|
|
|
nonfree_firmware() {
|
|
|
|
pkgdesc="Wifi, Bluetooth, GPU, Modem, ADSP, Venus firmware"
|
|
|
|
depends="firmware-asus-x00td"
|
|
|
|
mkdir "$subpkgdir"
|
|
|
|
}
|
|
|
|
|
2022-03-20 03:50:20 +00:00
|
|
|
sha512sums="
|
2022-11-06 06:58:53 +00:00
|
|
|
af08bb13607d21483e3c87ab392a741dfc362e536afd9d6cc5b63863852fab1bf8058e7329b5308fa969b3ebfec10b4d8d760010e59e10e3a308c88fd88a2d0e deviceinfo
|
2022-03-20 03:50:20 +00:00
|
|
|
"
|