pmaports/device/testing/device-lg-m216/APKBUILD
2022-01-22 13:40:33 +01:00

37 lines
952 B
Text

# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-lg-m216
pkgdesc="LG K10 (m216)"
pkgver=6
pkgrel=1
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
options="!check !archcheck"
depends="postmarketos-base mkbootimg linux-postmarketos-qcom-msm8916
soc-qcom-msm8916 soc-qcom-msm8916-rproc"
makedepends="devicepkg-dev"
source="deviceinfo"
subpackages="
$pkgname-nonfree-firmware:nonfree_firmware
"
_pmb_select="soc-qcom-msm8916-rproc"
build() {
devicepkg_build $startdir $pkgname
}
package() {
devicepkg_package $startdir $pkgname
}
nonfree_firmware() {
pkgdesc="GPU/WiFi/BT/Modem/Video firmware"
depends="firmware-qcom-adreno-a300 msm-firmware-loader
firmware-qcom-msm8916-wcnss firmware-lg-m216-wcnss-nv
firmware-qcom-msm8916-venus"
mkdir "$subpkgdir"
}
sha512sums="
b70fb0caf142a94e31e3aff8f01fc9c1991428b4fa2876f0b5576edccd794a8d80c0db115bf8c05dec512d5476549c2497ec9c35726fb24c5cde40dc9b940bcc deviceinfo
"