# Reference: pkgname=device-xiaomi-elish pkgdesc="Xiaomi Mi Pad 5 Pro" pkgver=0.5 pkgrel=0 url="https://postmarketos.org" license="MIT" arch="aarch64" options="!check !archcheck" depends=" linux-postmarketos-qcom-sm8250 make-dynpart-mappings mkbootimg postmarketos-base " makedepends="devicepkg-dev" source="deviceinfo" subpackages=" $pkgname-nonfree-firmware:nonfree_firmware " build() { devicepkg_build $startdir $pkgname } package() { devicepkg_package $startdir $pkgname } nonfree_firmware() { pkgdesc="Firmware for GPU, WiFi, etc." depends=" firmware-xiaomi-elish-adreno firmware-xiaomi-elish-adsp firmware-xiaomi-elish-cdsp firmware-xiaomi-elish-slpi firmware-xiaomi-elish-touchscreen firmware-xiaomi-elish-venus linux-firmware-ath11k linux-firmware-qca " mkdir "$subpkgdir" } sha512sums=" 93cbe7765f03f9f52a9b6f09e812e30f6ffa1309d86dc8bf5812dc93cd6c62ec864ec4c95dfaf5de976ebd49148f29ab0d4fd759a68964b36de58d726314a74b deviceinfo "