2019-11-23 02:48:41 +00:00
pkgname=firmware-hisense-m470bsa
pkgver=1
2022-10-14 11:46:40 +00:00
pkgrel=2
2020-01-10 16:39:12 +00:00
_commit="42fbba77c06cf822021554ed1b0e4736dbce2e72"
2019-11-23 02:48:41 +00:00
pkgdesc="Hisense Sero 7 Pro Firmware"
url="https://github.com/dolorespark/android_vendor_hisense_m470bsa"
arch="armv7"
license="proprietary"
2020-01-10 16:39:12 +00:00
source="https://github.com/dolorespark/android_vendor_hisense_m470bsa/archive/$_commit.tar.gz"
2021-08-28 19:28:14 +00:00
options="!check !strip !archcheck !spdx !tracedeps pmb:cross-native"
2020-01-10 16:39:12 +00:00
builddir="$srcdir/android_vendor_hisense_m470bsa-$_commit"
2019-11-23 02:48:41 +00:00
package() {
# Wifi
for _i in fw_bcmdhd.bin fw_bcmdhd_apsta.bin; do
2020-01-10 16:39:12 +00:00
install -Dm644 prebuilt/vendor/firmware/bcm4330/"$_i" \
"$pkgdir"/lib/firmware/postmarketos/bcm4330/"$_i"
2019-11-23 02:48:41 +00:00
done
2020-01-10 16:39:12 +00:00
2019-11-23 02:48:41 +00:00
for _fw in BCM20791B4_002.005.010.0103.0000_Hisense_I2CGED_NCD_Signed_Test.ncd BCM20791B4_002.005.010.0103.0000_Hisense_PreI2C_NCD_Signed_Test.ncd tlv320aic3206_fw_v1.bin; do
2020-01-10 16:39:12 +00:00
install -Dm644 prebuilt/vendor/firmware/"$_fw" \
"$pkgdir"/lib/firmware/postmarketos/"$_fw"
2022-10-14 11:46:40 +00:00
done
2020-01-10 16:39:12 +00:00
install -Dm644 prebuilt/etc/nvram_4330.txt \
"$pkgdir"/lib/firmware/postmarketos/nvram_4330.txt
2019-11-23 02:48:41 +00:00
}
sha512sums="131f9bd8f50eae8df25f5857c775163a6d61e1e2a708b2a921c18a36d7b75d1075af82d927affe759e476932920e201da06100a9b975d116583c4401d84a8662 42fbba77c06cf822021554ed1b0e4736dbce2e72.tar.gz"