6157a01f0f
Some firmware packages has only a WCNSS config file, which is decoded from base64 uploaded to Pastebin, and there is nothing to unpack. [ci:ignore-count] [ci:skip-build]: already built successfully in CI
32 lines
967 B
Text
32 lines
967 B
Text
pkgname=firmware-samsung-a5
|
|
pkgver=1
|
|
pkgrel=1
|
|
_name="Samsung Galaxy A5 (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/br6nKv4W"
|
|
|
|
_fwdir="/lib/firmware/postmarketos"
|
|
|
|
build() {
|
|
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"
|
|
replaces="firmware-samsung-a5lte-wcnss firmware-samsung-a5ulte-wcnss"
|
|
install -Dm644 "$srcdir"/WCNSS_qcom_wlan_nv.bin -t "$subpkgdir/$_fwdir"/wlan/prima
|
|
}
|
|
|
|
sha512sums="
|
|
c2e48a0ce9bc40a2b9a4bb6197e7e338090a0c63cfdb7004d0dfb89bd9abbdb4536ec8e0a0ca487dc759fd4746cc8e44619680797cc05d2a274032def0fd2cef firmware-samsung-a5-WCNSS_qcom_wlan_nv.bin.base64
|
|
"
|