pmaports/firmware/firmware-bq-picmt/APKBUILD
lazzardo 0b0f1a8c44
bq-paella: new device (BQ Aquaris X5 Cyanogen Edition) (MR 1159)
bq-paella: new device (BQ Aquaris X5 Cyanogen Edition)

bq-paella: new device (BQ Aquaris X5 Cyanogen Edition)

bq-paella: new device (BQ Aquaris X5 Cyanogen Edition)

bq-paella: new device (BQ Aquaris X5 Cyanogen Edition)
2020-04-22 22:10:04 +02:00

38 lines
1.1 KiB
Text
Executable file

pkgname=firmware-bq-picmt
pkgver=1
pkgrel=0
pkgdesc="Firmware for BQ Aquaris X5"
url="https://github.com/JonnyMe/picmt-firmware"
subpackages="$pkgname-modem $pkgname-venus $pkgname-wcnss"
arch="aarch64 armv7"
license="proprietary"
options="!check !strip !archcheck"
source="https://github.com/JonnyMe/picmt-firmware/raw/master/picmt_firmware_files.tar.xz"
_fwdir="/lib/firmware/postmarketos"
package() {
# parent package is empty
mkdir -p "$pkgdir"
}
modem() {
pkgdesc="BQ Aquaris X5 modem firmware"
cd "$srcdir"
install -Dm644 "$srcdir"/modem.* -t "$subpkgdir/$_fwdir"
install -Dm644 "$srcdir"/mba.* -t "$subpkgdir/$_fwdir"
}
venus() {
pkgdesc="BQ Aquaris X5 video firmware"
install -Dm644 "$srcdir"/venus.* -t "$subpkgdir/$_fwdir"/qcom/venus-1.8
}
wcnss() {
pkgdesc="BQ Aquaris X5 WiFi/BT firmware"
cd "$srcdir"
install -Dm644 "$srcdir"/wcnss.* -t "$subpkgdir/$_fwdir"
install -Dm644 "$srcdir"/WCNSS_* -t "$subpkgdir/$_fwdir"/wlan/prima
}
sha512sums="7f426e5fdb20319ed22c16be1ce13d069532bdfb8dc754a735c2a019342758b1f0210614dfeaa1d850802083a550ec8a6931d3572d203267cae8ec59f6613d82 picmt_firmware_files.tar.xz"