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
|
2022-11-26 20:57:37 +00:00
|
|
|
pkgrel=1
|
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-26 20:57:37 +00:00
|
|
|
1832ab46901d057e7a9371f634cf9eb535227760ff515637af22604344290a715a77fd17a7d05f8d879d41416eb37dbab0ad2e7443e41379272a40f519ca3c92 deviceinfo
|
2022-03-20 03:50:20 +00:00
|
|
|
"
|