pmaports/device/testing/device-asus-x00td/APKBUILD
Pablo Correa Gómez 4914067590
device/*: transform deviceinfo_modules_initfs into a file (MR 4169)
The file is automatically packed by devicepkg-dev utils

Relates #1836
2023-08-04 08:27:44 +02:00

48 lines
1.4 KiB
Text

# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-asus-x00td
pkgdesc="Asus ZenFone Max Pro M1"
pkgver=0.5
pkgrel=2
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
$pkgname-nonfree-firmware:nonfree_firmware
"
source="deviceinfo modules-initfs"
build() {
devicepkg_build $startdir $pkgname
}
package() {
devicepkg_package $startdir $pkgname
}
kernel_downstream() {
pkgdesc="LineageOS downstream kernel (recommended)"
depends="linux-asus-x00td 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"
devicepkg_subpackage_kernel $startdir $pkgname $subpkgname
}
nonfree_firmware() {
pkgdesc="Wifi, Bluetooth, GPU, Modem, ADSP, Venus firmware"
depends="firmware-asus-x00td"
mkdir "$subpkgdir"
}
sha512sums="
11c397ffd3e5578efd7ae8a655857cc930a15ef77c7431843b8c08b6b698765a1759ade4026201116f180eee48aacfb1c37c3e9e788040f388fdc9c737ad59ec deviceinfo
06dd4eadb150d29ee6db13683c8d49e52c14e4c8da0a890d22d38c6ed8e87bd9a38e6ccdba831cae99cb70baf30bc775fdf9083f36d719530171c005556f47b7 modules-initfs
"