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
31 lines
930 B
Text
31 lines
930 B
Text
pkgname=firmware-samsung-gprimeltecan
|
|
pkgver=1
|
|
pkgrel=1
|
|
_name="Samsung Galaxy Grand Prime CAN (G530W)"
|
|
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/BxjvzZhd"
|
|
|
|
_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"
|
|
install -Dm644 "$srcdir"/WCNSS_qcom_wlan_nv.bin -t "$subpkgdir/$_fwdir"/wlan/prima
|
|
}
|
|
|
|
sha512sums="
|
|
7129e4a5ed999d203d5b097abebd434c4293cb65e4eb387e517e52e91ff6e5939a0d8f25eb45efcee986d856689ba0a3e0887087425ce8d0883688891b25fa55 firmware-samsung-gprimeltecan-WCNSS_qcom_wlan_nv.bin.base64
|
|
"
|