pmaports/device/community/device-arrow-db410c/APKBUILD
Minecrell 67176df2f6
arrow-db410c: use separate firmware packages (MR 2619)
Reduce rootfs size a bit by installing the separated firmware packages
instead of the large linux-firmware-qcom package. Also, install the
modem firmware by default to prepare for enabling GPS.
2021-10-23 14:41:29 -07:00

34 lines
955 B
Text

# Reference: <https://postmarketos.org/devicepkg>
# Maintainer: Minecrell <minecrell@minecrell.net>
pkgname=device-arrow-db410c
pkgdesc="Arrow DragonBoard 410c"
pkgver=2
pkgrel=0
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
options="!check !archcheck"
depends="postmarketos-base mkbootimg linux-postmarketos-qcom-msm8916 soc-qcom-msm8916"
makedepends="devicepkg-dev"
source="deviceinfo"
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
build() {
devicepkg_build $startdir $pkgname
}
package() {
devicepkg_package $startdir $pkgname
}
nonfree_firmware() {
pkgdesc="GPU/WiFi/BT/Video firmware"
depends="firmware-qcom-adreno-a300 firmware-qcom-db410c-modem
firmware-qcom-db410c-wcnss firmware-qcom-db410c-wcnss-nv
firmware-qcom-msm8916-venus"
mkdir "$subpkgdir"
}
sha512sums="
a75bcb772637cc87c6eacb593e684b8fd8307203f6371dd73c9ac90ee6231a6bef80e0a8b33f072da8cb350d0001388950fc050c2c17122220f506c661399b6a deviceinfo
"