2024-04-18 17:19:42 +00:00
|
|
|
# Archived: Downstream port, only for testing. Use mainline port (huawei-kiwi)!
|
2021-07-03 12:37:29 +00:00
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
|
|
|
pkgname=device-huawei-kiwi-downstream
|
|
|
|
pkgdesc="Huawei Honor 5X (Downstream)"
|
|
|
|
pkgver=1
|
2022-10-10 19:33:44 +00:00
|
|
|
pkgrel=3
|
2021-07-03 12:37:29 +00:00
|
|
|
url="https://postmarketos.org"
|
|
|
|
license="MIT"
|
|
|
|
arch="aarch64"
|
|
|
|
options="!check !archcheck"
|
2022-10-10 19:33:44 +00:00
|
|
|
depends="postmarketos-base linux-huawei-kiwi-downstream mkbootimg msm-fb-refresher"
|
2021-07-03 12:37:29 +00:00
|
|
|
makedepends="devicepkg-dev"
|
|
|
|
source="deviceinfo"
|
|
|
|
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
|
|
|
|
|
|
|
|
build() {
|
|
|
|
devicepkg_build $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
devicepkg_package $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
nonfree_firmware() {
|
|
|
|
pkgdesc="Modem/GPU/WiFi/BT/Video firmware"
|
2021-10-23 08:08:54 +00:00
|
|
|
depends="linux-firmware-qcom firmware-huawei-kiwi firmware-qcom-adreno-a420"
|
2021-07-03 12:37:29 +00:00
|
|
|
mkdir "$subpkgdir"
|
|
|
|
}
|
|
|
|
|
|
|
|
sha512sums="
|
|
|
|
6c7172554ff2ef25996c06cf7b823c11101029e31cafbb0c41d8d59b8c8b05803a9324c708847a4e86d88bc3bd2a42e90deb94dcc3c1298ff8a52621dda9878a deviceinfo
|
|
|
|
"
|