pmaports/device/testing/firmware-samsung-nevisp/APKBUILD
Johannes Marbach 95d375879c
treewide: firmware: use pmb:cross-native/!tracdeps (MR 2468)
Add pmb:cross-native/!tracedeps to applicable firmware packages and
secure both with a test.

This sets the pmb:cross-native and !tracedeps options on all firmware-*
packages that are compatible with the native compilation method. A unit
test ensures the presence of both options while maintaining a list of
exempted packages.

Fixes: #718
[ci:ignore-count] [ci:skip-vercheck] [ci:skip-build]
2021-09-19 18:57:36 +02:00

23 lines
1,011 B
Text

# Maintainer: Théo Friberg <fsmnarmosta@posteo.net>
pkgname=firmware-samsung-nevisp
pkgver=1
pkgrel=0
pkgdesc="Non-free firmware for the Samsung Galaxy Fame (wifi)"
url="https://github.com/wulsic/android_vendor_samsung_nevisp"
arch="armv7"
license="other:proprietary"
options="!tracedeps pmb:cross-native"
# Sources
_commit="fbbefae4c3b06978d0e2948211a8138bb6a6a11c"
source="$pkgname-$_commit.tar.gz::https://github.com/wulsic/android_vendor_samsung_nevisp/archive/$_commit.tar.gz"
builddir="$srcdir/android_vendor_samsung_nevisp-$_commit"
package() {
install -Dm644 "$builddir"/proprietary/etc/wifi/nvram_net.txt \
"$pkgdir"/lib/firmware/postmarketos/bcmdhd.cal
install -Dm644 "$builddir"/proprietary/etc/wifi/bcmdhd_sta.bin_b2 \
"$pkgdir"/lib/firmware/postmarketos/fw_bcmdhd.bin_b2
}
sha512sums="9e27f2fe1c897d9fcf8d4736a35bab729079842f7f18e29c0d02fe63e7321400af40541b235b7ae80f9ad551489ba14bbe8fea2539106a6394f612e298876033 firmware-samsung-nevisp-fbbefae4c3b06978d0e2948211a8138bb6a6a11c.tar.gz"