8baf04df3c
[ci:skip-build]: already built successfully in CI
29 lines
1.2 KiB
Text
29 lines
1.2 KiB
Text
pkgname=firmware-hisense-m470bsa
|
|
pkgver=1
|
|
pkgrel=0
|
|
pkgdesc="Hisense Sero 7 Pro Firmware"
|
|
url="https://github.com/dolorespark/android_vendor_hisense_m470bsa"
|
|
arch="armv7"
|
|
license="proprietary"
|
|
|
|
# Source
|
|
_commit="42fbba77c06cf822021554ed1b0e4736dbce2e72"
|
|
source="https://github.com/dolorespark/android_vendor_hisense_m470bsa/archive/${_commit}.tar.gz"
|
|
options="!check !strip"
|
|
|
|
package() {
|
|
cd "$srcdir/android_vendor_hisense_m470bsa-${_commit}"
|
|
# Wifi
|
|
for _i in fw_bcmdhd.bin fw_bcmdhd_apsta.bin; do
|
|
install -Dm644 "prebuilt/vendor/firmware/bcm4330/$_i" \
|
|
"$pkgdir/lib/firmware/postmarketos/bcm4330/$_i"
|
|
done
|
|
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
|
|
install -Dm644 "prebuilt/vendor/firmware/$_fw" \
|
|
"$pkgdir/lib/firmware/postmarketos/$fw"
|
|
done
|
|
install -Dm644 "prebuilt/etc/nvram_4330.txt" \
|
|
"$pkgdir/lib/firmware/postmarketos/nvram_4330.txt"
|
|
}
|
|
|
|
sha512sums="131f9bd8f50eae8df25f5857c775163a6d61e1e2a708b2a921c18a36d7b75d1075af82d927affe759e476932920e201da06100a9b975d116583c4401d84a8662 42fbba77c06cf822021554ed1b0e4736dbce2e72.tar.gz"
|