pmaports/firmware/firmware-samsung-golden/APKBUILD
Minecrell 4ecef0e962
samsung-golden: update firmware packaging (!807)
- Update WiFi firmware to newer version
- Change paths so that (eventually) mainline could load the same firmware
2019-12-21 15:19:25 +03:00

25 lines
790 B
Text

pkgname=firmware-samsung-golden
pkgver=2
pkgrel=0
pkgdesc="Firmware for Samsung Galaxy S III mini"
url="https://pepethekingprawn.gitlab.io/firmware/"
arch="armv7"
license="proprietary"
options="!check !strip !archcheck"
source="https://pepethekingprawn.gitlab.io/firmware/GT-I8190.tar.xz"
builddir="$srcdir"
_fwdir="/lib/firmware/postmarketos"
package() {
# WiFi
install -Dm644 bcmdhd_sta.bin_b2 \
"$pkgdir/$_fwdir"/brcm/brcmfmac4334-sdio.bin
install -Dm644 nvram_net.txt_GPIO4 \
"$pkgdir/$_fwdir"/brcm/brcmfmac4334-sdio.samsung,golden.txt
# Bluetooth
install -Dm644 bcm4334.hcd "$pkgdir/$_fwdir"/brcm/BCM4334B0.hcd
}
sha512sums="d9ad7a2d593ecef40252e85fd0d2b65d54aaed911e80c516f211573a8f42d9fc18303d7c2b55dd37e5027ca8bc42289b5dbccb9008ab20f902f30e4394704912 GT-I8190.tar.xz"