pmaports/device/testing/firmware-acer-picasso/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

25 lines
1,010 B
Text

pkgname=firmware-acer-picasso
pkgver=3
pkgrel=0
pkgdesc="Firmware for Acer Iconia Tab A500 (acer-picasso)"
url="https://github.com/grate-driver/linux-firmware"
arch="armv7"
license="custom:proprietary"
options="!check !strip !archcheck !spdx !tracedeps pmb:cross-native"
# Sources
_commit="803fa8cce4e6aab3c97473c9dbab9abc49894cb7"
_url="https://github.com/grate-driver/linux-firmware"
source="$pkgname-$_commit.tar.gz::$_url/archive/$_commit.tar.gz"
package() {
# Wi-Fi & BT firmware
cd "$srcdir/linux-firmware-$_commit/brcm/"
install -Dm644 brcmfmac4329-sdio.bin \
"$pkgdir"/lib/firmware/postmarketos/brcm/brcmfmac4329-sdio.bin
# Firmware configuration
install -Dm644 brcmfmac4329-sdio.acer,picasso.txt \
"$pkgdir"/lib/firmware/postmarketos/brcm/brcmfmac4329-sdio.acer,picasso.txt
}
sha512sums="5b0cdcea8edb09db9fca95eae8a77f34ad0164e06106a52ef1f4e801fbed873467f14edd14513d28c571d28e0a61bb74a345f1acc91d41104e9e1751ae8418e6 firmware-acer-picasso-803fa8cce4e6aab3c97473c9dbab9abc49894cb7.tar.gz"