30 lines
1.2 KiB
Text
30 lines
1.2 KiB
Text
|
# Reference: <https://postmarketos.org/devicepkg>
|
||
|
pkgname=firmware-samsung-on7xelte
|
||
|
pkgver=2
|
||
|
pkgrel=0
|
||
|
pkgdesc="Proprietary firmware blobs for Samsung Galaxy J7 Prime"
|
||
|
url="https://gitlab.com/exynos7870-mainline/firmware"
|
||
|
arch="aarch64"
|
||
|
license="proprietary"
|
||
|
options="!check !strip !archcheck !spdx !tracedeps pmb:cross-native"
|
||
|
|
||
|
_device="on7xelte"
|
||
|
_commit="b89cec942fe297ff8623dd87e92f1a2380ed68f8"
|
||
|
|
||
|
source="$url/-/archive/$_commit/firmware-$_commit.tar.gz"
|
||
|
|
||
|
package() {
|
||
|
# Bluetooth firmware (Broadcomm BCM43430A1)
|
||
|
install -Dm644 "$srcdir/firmware-$_commit/$_device/bluetooth_bcm.hcd" \
|
||
|
"$pkgdir"/lib/firmware/postmarketos/brcm/"BCM43430A1.hcd"
|
||
|
|
||
|
# Wi-Fi SDIO firmware (Broadcom BCM43430A1)
|
||
|
install -Dm644 "$srcdir/firmware-$_commit/$_device/wlansdio_bcm.bin" \
|
||
|
"$pkgdir"/lib/firmware/postmarketos/brcm/"brcmfmac43430-sdio.bin"
|
||
|
install -Dm644 "$srcdir/firmware-$_commit/$_device/wlansdio_bcm.txt" \
|
||
|
"$pkgdir"/lib/firmware/postmarketos/brcm/"brcmfmac43430-sdio.txt"
|
||
|
}
|
||
|
sha512sums="
|
||
|
ea9b18d5f1a7020fe59878191f30dcdeda17e9853066b94247443c55fc15801fc818a1bc0d909bebe007940c70e3d1bd4b7fb0b5725a1d424aedaabbccd44f36 firmware-b89cec942fe297ff8623dd87e92f1a2380ed68f8.tar.gz
|
||
|
"
|