2022-03-03 16:09:21 +00:00
|
|
|
pkgname=firmware-samsung-e7
|
|
|
|
pkgver=1
|
2023-10-18 09:10:22 +00:00
|
|
|
pkgrel=2
|
2023-07-17 13:32:48 +00:00
|
|
|
_name="Samsung Galaxy E7"
|
2022-03-03 16:09:21 +00:00
|
|
|
pkgdesc="Firmware for $_name"
|
|
|
|
url="https://postmarketos.org"
|
|
|
|
subpackages="$pkgname-wcnss-nv:wcnss_nv"
|
|
|
|
arch="armv7"
|
|
|
|
license="proprietary"
|
|
|
|
options="!check !strip !archcheck !tracedeps pmb:cross-native"
|
|
|
|
source="$pkgname-WCNSS_qcom_wlan_nv.bin.base64::https://pastebin.com/raw/qF2Y0k5R"
|
|
|
|
|
|
|
|
_fwdir="/lib/firmware/postmarketos"
|
|
|
|
|
2023-10-18 09:10:22 +00:00
|
|
|
build() {
|
2022-03-03 16:09:21 +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="
|
|
|
|
0eeb72701a60dc202467c27fd44d4961dd3771e435426415df7e43f8e71af0e5f1af1ed824402794a8eb927e8bfb85a6ff942e347d3bb0e0fca41ef5967bf570 firmware-samsung-e7-WCNSS_qcom_wlan_nv.bin.base64
|
|
|
|
"
|