# Reference: pkgname=device-huawei-kiwi pkgdesc="Huawei Honor 5X / GR5 (2016)" pkgver=3 pkgrel=0 url="https://postmarketos.org" license="MIT" arch="aarch64" options="!check !archcheck" depends="postmarketos-base mkbootimg linux-postmarketos-qcom-msm8916 soc-qcom-msm8939" makedepends="devicepkg-dev" source="deviceinfo modules-initfs" subpackages="$pkgname-nonfree-firmware:nonfree_firmware" nonfree_firmware() { pkgdesc="Modem/GPU/WiFi/BT/Video firmware" depends="firmware-qcom-adreno-a420 msm-firmware-loader firmware-huawei-kiwi-venus firmware-huawei-kiwi-wcnss-nv" mkdir "$subpkgdir" } build() { devicepkg_build $startdir $pkgname } package() { devicepkg_package $startdir $pkgname } sha512sums=" 79f9ad03c06e1eb15be8df8b1d5845dc3c5c4194ef34a94cf66fa4281fb1c35c1706f0a652aa9d4803943bb331cb049b87534e3c2fb51fe7c1b6a955b30fe979 deviceinfo 96b41eb6b39f8c8bcb6c99ab6b5729ec33d6bc394b2230ed168cf19cba8f86ebae3340b0ef9e15a3a6ee202895cd81f4d8812e5c81c4cc6d087ca9e239023993 modules-initfs "