# Maintainer: David Wronek # Co-Maintainer: Danila Tikhonov # Reference: pkgname=device-xiaomi-surya pkgdesc="Xiaomi POCO X3 NFC" pkgver=1 pkgrel=0 url="https://postmarketos.org" license="MIT" arch="aarch64" options="!check !archcheck" depends=" linux-postmarketos-qcom-sm7150 make-dynpart-mappings mkbootimg postmarketos-base postmarketos-update-kernel " 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 Modem, WiFi, Touchscreen, etc." depends=" firmware-xiaomi-surya-adsp firmware-xiaomi-surya-cdsp firmware-xiaomi-surya-ipa firmware-xiaomi-surya-modem firmware-xiaomi-surya-touchscreen firmware-xiaomi-surya-wlan linux-firmware-ath10k linux-firmware-qca msm-modem msm-modem-uim-selection pd-mapper tqftpserv " install="$subpkgname.post-install" mkdir "$subpkgdir" } sha512sums=" 8fb0c1f3dbad1003b108bd7748a839f002c9c8caa3125148fb8818f5df540da81615428cbc5dfc28738d38460f3f1b4ec977c9f194447c0bc508bcd6a42f4276 deviceinfo "