2017-10-17 16:25:38 +00:00
|
|
|
pkgname=firmware-huawei-y530
|
|
|
|
pkgver=1
|
2020-01-09 17:47:19 +00:00
|
|
|
pkgrel=3
|
|
|
|
_commit="86bf384e1c37ee328988b9ec8769f6d321f931de"
|
2017-10-17 16:25:38 +00:00
|
|
|
pkgdesc="Firmware files for Huawei Ascend Y530"
|
2018-06-30 07:00:48 +00:00
|
|
|
url="https://postmarketos.org"
|
2020-01-01 16:30:03 +00:00
|
|
|
arch="armv7"
|
2017-10-17 16:25:38 +00:00
|
|
|
license="proprietary"
|
|
|
|
depends="wcnss-wlan"
|
2020-01-09 17:47:19 +00:00
|
|
|
source="$pkgname-$_commit.tar.gz::https://github.com/drebrez/vendor_huawei_y530/archive/$_commit.tar.gz"
|
|
|
|
options="!strip !check !archcheck !spdx"
|
|
|
|
builddir="$srcdir/vendor_huawei_y530-$_commit"
|
2017-10-19 22:40:14 +00:00
|
|
|
|
2017-10-17 16:25:38 +00:00
|
|
|
package() {
|
2017-10-19 22:40:14 +00:00
|
|
|
_files="wcnss.b00 wcnss.b01 wcnss.b02 wcnss.b04 wcnss.b06 wcnss.b07
|
|
|
|
wcnss.b08 wcnss.b09 wcnss.mdt"
|
|
|
|
for _i in $_files; do
|
2020-01-09 17:47:19 +00:00
|
|
|
install -D -m644 wifi/"$_i" \
|
|
|
|
"$pkgdir"/lib/firmware/postmarketos/"$_i"
|
2017-10-19 22:40:14 +00:00
|
|
|
done
|
|
|
|
|
|
|
|
_files="WCNSS_cfg.dat WCNSS_qcom_cfg.ini WCNSS_qcom_wlan_nv.bin
|
|
|
|
WCNSS_hw_wlan_nv.bin"
|
|
|
|
for _i in $_files; do
|
2020-01-09 17:47:19 +00:00
|
|
|
install -D -m644 wifi/wlan/prima/"$_i" \
|
|
|
|
"$pkgdir"/lib/firmware/postmarketos/wlan/prima/"$_i"
|
2017-10-19 22:40:14 +00:00
|
|
|
done
|
2017-10-17 16:25:38 +00:00
|
|
|
}
|
2017-10-19 22:40:14 +00:00
|
|
|
|
|
|
|
sha512sums="b21d719ad6abe178ef1e846d13a8fad24fa83b191e66dd041953409aa95f8f9be620c507ea9e9fd12b847deafd66d0b7986f6cb9c5c4e0fb272a7fcf88eb15cc firmware-huawei-y530-86bf384e1c37ee328988b9ec8769f6d321f931de.tar.gz"
|