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-03-29 14:25:04 +00:00
|
|
|
pkgrel=3
|
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-03-29 14:25:04 +00:00
|
|
|
depends="linux-firmware-qcom firmware-huawei-kiwi 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
|
|
|
|
}
|
|
|
|
|
2021-03-29 14:25:04 +00:00
|
|
|
sha512sums="66b6fd2495b2967d9ef2c2259149c4de03a57287222ce321d741e2252f06dac5618f31c96971d869618ad92f3e6127bbc4374d7db30c33b87b02e5c10eeb83f5 deviceinfo"
|