pmaports/device/testing/firmware-fairphone-fp3/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

30 lines
879 B
Text

pkgname=firmware-fairphone-fp3
pkgver=20210420.0
pkgrel=0
pkgdesc="Firmware for Fairphone 3"
url="https://gitlab.com/knfr/firmware-fairphone-fp3"
arch="aarch64"
license="proprietary"
subpackages="$pkgname-wcnss"
options="!check !strip !archcheck !tracedeps pmb:cross-native"
source="$pkgname-$pkgver.tar.gz::$url/-/archive/$pkgver/$pkgname-$pkgver.tar.gz"
_fwdir="/lib/firmware/postmarketos"
package() {
mkdir -p "$pkgdir"
}
wcnss() {
pkgdesc="Fairphone 3 firmware for the Qualcomm Wireless Connectivity Subsystem (WCNSS)"
depends="wcnss-wlan"
install -Dm644 "$builddir"/wcnss.* -t \
"$subpkgdir/$_fwdir"
install -Dm644 "$builddir"/prima/* -t \
"$subpkgdir/$_fwdir"/wlan/prima
}
sha512sums="
bf2aea11343a4c0cd0f7a6d7ac7304674f2eb565ebe78dc1020e7756d9ee13c8fc45ff03e5c4d8f532528c2d613834603dbf01f68944ec8faeb08b3bc7d86470 firmware-fairphone-fp3-20210420.0.tar.gz
"