2021-07-29 13:35:33 +00:00
|
|
|
pkgname=firmware-samsung-gt510
|
|
|
|
pkgver=1
|
2023-10-18 09:10:22 +00:00
|
|
|
pkgrel=1
|
2021-07-29 13:35:33 +00:00
|
|
|
_name="Samsung Galaxy Tab A 9.7 (2015)"
|
|
|
|
pkgdesc="Firmware for $_name"
|
|
|
|
url="https://postmarketos.org"
|
|
|
|
subpackages="$pkgname-wcnss-nv:wcnss_nv"
|
|
|
|
arch="aarch64"
|
|
|
|
license="proprietary"
|
|
|
|
options="!check !strip !archcheck !tracedeps pmb:cross-native"
|
|
|
|
source="$pkgname-WCNSS_qcom_wlan_nv.bin.base64::https://pastebin.com/raw/vi1vz9ES"
|
|
|
|
|
|
|
|
_fwdir="/lib/firmware/postmarketos"
|
|
|
|
|
2023-10-18 09:10:22 +00:00
|
|
|
build() {
|
2021-07-29 13:35:33 +00:00
|
|
|
base64 -d $pkgname-WCNSS_qcom_wlan_nv.bin.base64 > WCNSS_qcom_wlan_nv.bin
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
# parent package is empty
|
|
|
|
mkdir -p "$pkgdir"
|
|
|
|
}
|
|
|
|
|
|
|
|
wcnss_nv() {
|
|
|
|
pkgdesc="$_name WiFi/BT firmware configuration"
|
|
|
|
install -Dm644 "$srcdir"/WCNSS_qcom_wlan_nv.bin -t "$subpkgdir/$_fwdir"/wlan/prima
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
sha512sums="
|
|
|
|
0708fde555d49c7cad49613af764921a906c6de00638b766b6adbfdcf8848fad630264c9234f804dbfcba9f91dde941a1f594673c1789b6ad48145e8039cde71 firmware-samsung-gt510-WCNSS_qcom_wlan_nv.bin.base64
|
|
|
|
"
|