pmaports/device/testing/firmware-motorola-falcon/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
1.1 KiB
Text

pkgname=firmware-motorola-falcon
pkgver=1
pkgrel=1
pkgdesc="Firmware files for Motorola Moto G 2013 (falcon)"
url="https://postmarketos.org"
arch="armv7"
license="proprietary"
depends="wcnss-wlan"
options="!check !strip !archcheck !tracedeps pmb:cross-native"
_commit="a4b3ead9368499ebfa8c2d8a0ababb1c1bf8db4d"
_url="https://github.com/fbraghiroli/vendor_motorola_falcon"
source="$pkgname-$_commit.tar.gz::$_url/archive/$_commit.tar.gz"
builddir="$srcdir/vendor_motorola_falcon-$_commit"
package() {
_files="wcnss.b00 wcnss.b01 wcnss.b02 wcnss.b04 wcnss.b06 wcnss.b07
wcnss.b08 wcnss.b09 wcnss.mdt"
for _i in $_files; do
install -D -m644 "$_i" "$pkgdir/lib/firmware/postmarketos/$_i"
done
_files="WCNSS_cfg.dat WCNSS_qcom_cfg.ini
WCNSS_qcom_wlan_nv.bin WCNSS_qcom_wlan_factory_nv.bin"
for _i in $_files; do
install -D -m644 "wlan/prima/$_i" \
"$pkgdir/lib/firmware/postmarketos/wlan/prima/$_i"
done
}
sha512sums="54058c3d34307d0a1ab7a95b04b52a26a5b1446b05af594a9787931619f1b4dfb1c279f3ba78079a450ddc86aeb0d8507109feb20327b6c3d2477f946ee2aa9f firmware-motorola-falcon-a4b3ead9368499ebfa8c2d8a0ababb1c1bf8db4d.tar.gz"