2020-11-19 14:54:42 +00:00
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
|
|
|
pkgname=device-huawei-kiwi
|
|
|
|
pkgdesc="Huawei Honor 5X"
|
2020-12-29 09:36:00 +00:00
|
|
|
pkgver=1
|
2021-01-24 13:23:06 +00:00
|
|
|
pkgrel=1
|
2020-11-19 14:54:42 +00:00
|
|
|
url="https://postmarketos.org"
|
|
|
|
license="MIT"
|
|
|
|
arch="aarch64"
|
|
|
|
options="!check !archcheck"
|
2020-12-29 09:36:00 +00:00
|
|
|
depends="postmarketos-base mkbootimg linux-huawei-kiwi soc-qcom-msm8916"
|
2020-11-19 14:54:42 +00:00
|
|
|
makedepends="devicepkg-dev"
|
|
|
|
source="deviceinfo"
|
2020-12-23 16:33:47 +00:00
|
|
|
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
|
|
|
|
|
|
|
|
nonfree_firmware() {
|
|
|
|
pkgdesc="Modem/GPU/WiFi/BT/Video firmware"
|
2021-01-24 13:23:06 +00:00
|
|
|
depends="linux-firmware-qcom firmware-huawei-kiwi wcnss-wlan firmware-adreno"
|
2020-12-23 16:33:47 +00:00
|
|
|
mkdir "$subpkgdir"
|
|
|
|
}
|
2020-11-19 14:54:42 +00:00
|
|
|
|
|
|
|
build() {
|
|
|
|
devicepkg_build $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
devicepkg_package $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
2020-12-29 09:36:00 +00:00
|
|
|
sha512sums="b5b7cd938f471f5cbd8f4c8c8d0cbc8d49928933fc9ccaf768aa982857a86fb23684f97cc95f687cbc358d098759b08405d505c0624f10d82888a156409ba2e8 deviceinfo"
|