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
|
2023-12-04 21:52:04 +00:00
|
|
|
pkgrel=4
|
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
|
|
|
"
|
2023-08-02 17:06:01 +00:00
|
|
|
source="deviceinfo modules-initfs"
|
2020-05-19 03:38:06 +00:00
|
|
|
|
|
|
|
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="
|
2023-08-02 17:06:01 +00:00
|
|
|
11c397ffd3e5578efd7ae8a655857cc930a15ef77c7431843b8c08b6b698765a1759ade4026201116f180eee48aacfb1c37c3e9e788040f388fdc9c737ad59ec deviceinfo
|
|
|
|
06dd4eadb150d29ee6db13683c8d49e52c14e4c8da0a890d22d38c6ed8e87bd9a38e6ccdba831cae99cb70baf30bc775fdf9083f36d719530171c005556f47b7 modules-initfs
|
2022-03-20 03:50:20 +00:00
|
|
|
"
|