# Reference: pkgname=device-huawei-kiwi pkgdesc="Huawei Honor 5X / GR5 (2016)" pkgver=2.1 pkgrel=1 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=" e8a4329165aeea810d708bb3d164c1d38078edfba75afac9a262edc90b2a698bb97baf4c44eed5bc04d3b0e1fb42f69d0dd2c034de60ab8dd39fef1522164db7 deviceinfo 96b41eb6b39f8c8bcb6c99ab6b5729ec33d6bc394b2230ed168cf19cba8f86ebae3340b0ef9e15a3a6ee202895cd81f4d8812e5c81c4cc6d087ca9e239023993 modules-initfs "