pmaports/device/testing/firmware-fairphone-fp3/APKBUILD

51 lines
1.2 KiB
Text
Raw Normal View History

2021-05-08 13:40:46 +00:00
pkgname=firmware-fairphone-fp3
pkgver=20210420.1
2021-05-08 13:40:46 +00:00
pkgrel=0
pkgdesc="Firmware for Fairphone 3"
url="https://gitlab.com/knfr/firmware-fairphone-fp3"
arch="aarch64"
license="proprietary"
subpackages="
$pkgname-adsp
$pkgname-modem
$pkgname-wcnss
"
options="!check !strip !archcheck !tracedeps pmb:cross-native"
2021-05-08 13:40:46 +00:00
source="$pkgname-$pkgver.tar.gz::$url/-/archive/$pkgver/$pkgname-$pkgver.tar.gz"
_fwdir="/lib/firmware/postmarketos"
package() {
mkdir -p "$pkgdir"
}
adsp() {
pkgdesc="Fairphone 3 firmware for the ADSP"
install -Dm644 "$builddir"/adsp.* -t \
"$subpkgdir/$_fwdir"
}
modem() {
pkgdesc="Fairphone 3 firmware for the modem"
install -Dm644 "$builddir"/mba.mbn -t \
"$subpkgdir/$_fwdir"
install -Dm644 "$builddir"/modem.* -t \
"$subpkgdir/$_fwdir"
}
2021-05-08 13:40:46 +00:00
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="
6e077c7098fc27115cb9405ee2c9b140cd7810921afe7fa001bdd0606693c03cfacb5f50dc1fe91a16dde23686b97929c8d1f5e836a0be5b4b762a7de064a88c firmware-fairphone-fp3-20210420.1.tar.gz
2021-05-08 13:40:46 +00:00
"