2022-03-03 16:13:15 +00:00
|
|
|
pkgname=firmware-samsung-j5x
|
|
|
|
pkgver=1
|
2023-10-18 09:10:22 +00:00
|
|
|
pkgrel=1
|
2022-03-03 16:13:15 +00:00
|
|
|
_name="Samsung Galaxy J5 (2016)"
|
|
|
|
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/pL9nwXmg"
|
|
|
|
|
|
|
|
_fwdir="/lib/firmware/postmarketos"
|
|
|
|
|
2023-10-18 09:10:22 +00:00
|
|
|
build() {
|
2022-03-03 16:13:15 +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="
|
|
|
|
09bcbff3e118e307052114c63e1234db1d03c1f09dd56f037159d8f45ae0cccd5a3e18ff1e7b70f4b886ded3a79413907a472fa3f4cb2fbaaa803a2f98a2f9ae firmware-samsung-j5x-WCNSS_qcom_wlan_nv.bin.base64
|
|
|
|
"
|