2019-06-24 10:58:07 +00:00
|
|
|
pkgname=firmware-xiaomi-kenzo
|
|
|
|
pkgver=1
|
2024-01-11 02:31:21 +00:00
|
|
|
pkgrel=3
|
|
|
|
_commit="1f5bc36bab97586358feab5952be859195760688"
|
2019-06-24 10:58:07 +00:00
|
|
|
pkgdesc="Firmware files for Xiaomi Redmi Note 3"
|
|
|
|
url="https://postmarketos.org"
|
|
|
|
arch="aarch64"
|
|
|
|
license="proprietary"
|
|
|
|
depends="wcnss-wlan"
|
2020-01-07 08:37:56 +00:00
|
|
|
source="$pkgname-$_commit.tar.gz::https://gitlab.com/IdanHoro/vendor_xiaomi_kenzo/-/archive/$_commit/vendor_xiaomi_kenzo-$_commit.tar.gz"
|
2021-08-28 19:28:14 +00:00
|
|
|
options="!strip !check !archcheck !spdx !tracedeps pmb:cross-native"
|
2020-01-07 08:37:56 +00:00
|
|
|
builddir="$srcdir/vendor_xiaomi_kenzo-$_commit"
|
2019-06-24 10:58:07 +00:00
|
|
|
|
|
|
|
_files="wcnss.b00 wcnss.b01 wcnss.b02 wcnss.b04 wcnss.b06
|
|
|
|
wcnss.b09 wcnss.b10 wcnss.b11 wcnss.b12 wcnss.mdt"
|
2024-01-11 02:31:21 +00:00
|
|
|
_files_venus="venus-v1.b00 venus-v1.b01 venus-v1.b02 venus-v1.b03 venus-v1.b04 venus-v1.mbn venus-v1.mdt"
|
2019-06-24 10:58:07 +00:00
|
|
|
_files_prima="WCNSS_wlan_dictionary.dat WCNSS_qcom_cfg.ini WCNSS_qcom_wlan_nv.bin WCNSS_cfg.dat"
|
|
|
|
|
2020-01-07 08:37:56 +00:00
|
|
|
package() {
|
2019-06-24 10:58:07 +00:00
|
|
|
# /lib/firmware/postmarketos
|
|
|
|
for _i in $_files; do
|
|
|
|
install -D -m644 "$_i" \
|
2020-01-07 08:37:56 +00:00
|
|
|
"$pkgdir"/lib/firmware/postmarketos/"$_i"
|
2019-06-24 10:58:07 +00:00
|
|
|
done
|
2024-01-11 02:31:21 +00:00
|
|
|
for _i in $_files_venus; do
|
|
|
|
install -D -m644 "$_i" \
|
|
|
|
"$pkgdir"/lib/firmware/postmarketos/"$_i"
|
|
|
|
done
|
2019-06-24 10:58:07 +00:00
|
|
|
|
|
|
|
# /lib/firmware/postmarketos/wlan/prima
|
|
|
|
for _i in $_files_prima; do
|
2020-01-07 08:37:56 +00:00
|
|
|
install -D -m644 wlan/prima/"$_i" \
|
|
|
|
"$pkgdir"/lib/firmware/postmarketos/wlan/prima/"$_i"
|
2019-06-24 10:58:07 +00:00
|
|
|
done
|
|
|
|
}
|
|
|
|
|
2024-01-11 02:31:21 +00:00
|
|
|
sha512sums="
|
|
|
|
47b0a8d34ea7db56ffe8c1f81f947568e743c143d3e51937d3cfa711994cae3774cbfaef6ad6ed68b48b8ebc437d817a0b476b469dad1e5061333482119b84c6 firmware-xiaomi-kenzo-1f5bc36bab97586358feab5952be859195760688.tar.gz
|
|
|
|
"
|