pmaports/device/testing/firmware-samsung-manta/APKBUILD

43 lines
2 KiB
Text
Raw Normal View History

pkgname=firmware-samsung-manta
pkgver=1
pkgrel=1
pkgdesc="Firmware for Samsung Manta (Nexus 10)"
url="https://developers.google.com/android/drivers#mantalmy49j"
arch="armv7"
license="proprietary"
options="!check !strip !archcheck !tracedeps pmb:cross-native"
install="$pkgname.post-install"
_commitfw="5d170b264b593b75734a2c4f10f06fbe42bb5067"
_commitdev="f654b082d30391218c985cd2e2c9089e1b444e11"
source="
manta-fw_bcmdhd.bin::https://github.com/TheMuppets/proprietary_vendor_samsung/raw/$_commitfw/manta/proprietary/vendor/firmware/fw_bcmdhd.bin
maxtouch.fw::https://github.com/TheMuppets/proprietary_vendor_samsung/raw/$_commitfw/manta/proprietary/vendor/firmware/maxtouch.fw
es305_fw.bin::https://github.com/TheMuppets/proprietary_vendor_samsung/raw/$_commitfw/manta/proprietary/vendor/firmware/es305_fw.bin
brcmfmac43241b0-sdio.samsung,manta.txt::https://raw.githubusercontent.com/LineageOS/android_device_samsung_manta/$_commitdev/bcmdhd.cal
"
package() {
cd "$srcdir"
# Wifi
install -Dm644 "manta-fw_bcmdhd.bin" \
"$pkgdir/lib/firmware/postmarketos/brcm/brcmfmac43241b0-sdio.bin"
install -Dm644 "brcmfmac43241b0-sdio.samsung,manta.txt" \
"$pkgdir/lib/firmware/postmarketos/brcm/brcmfmac43241b0-sdio.samsung,manta.txt"
# Touchscreen
install -Dm644 "maxtouch.fw" \
"$pkgdir/lib/firmware/postmarketos/maxtouch.fw"
# Audience eS305
install -Dm644 "es305_fw.bin" \
"$pkgdir/lib/firmware/postmarketos/es305_fw.bin"
}
sha512sums="
0ad8b6963244e652746429e95e52c00395e38eb873a0632aab2e10a43b11fb1ef53a3c5e4863ac90d11d9c1c65e87f2067e9edda4cf0e7b06c8dc0cd3c74fb6f manta-fw_bcmdhd.bin
a7ada29e2d76c48941ae05abb6f972a628f9729ccabbea5d8adfa2fb7f107e652ef290a1770e54387b3ee798382cb4f6519344461c991b5193fdbc465b9c7644 maxtouch.fw
b16ccf4c733564fc0e7e436915ca3185ebd6bbcd33106328813b1bd8a40ff1e34c818c71c86356596f75e1b739585ab562fa279cfd0d051c0216c64759bc5dc7 es305_fw.bin
e5317fdd080ff7ea30bf326c48f230a68484e4339739553f537f9b1c0c379b48fd86b857112cf6f293f061b18d0ea82b92026ca79204c28fd2e0d71c2cd42140 brcmfmac43241b0-sdio.samsung,manta.txt
"