pmaports/device/testing/device-lenovo-a6020a40/APKBUILD

38 lines
936 B
Text
Raw Normal View History

# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-lenovo-a6020a40
pkgdesc="Lenovo Vibe K5"
pkgver=1
pkgrel=0
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
options="!check !archcheck"
depends="postmarketos-base mkbootimg linux-postmarketos-qcom-msm8916
soc-qcom-msm8939 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-a420 msm-firmware-loader
firmware-lenovo-a6020-wcnss-nv
firmware-lenovo-a6020-venus"
mkdir "$subpkgdir"
}
sha512sums="
33772a2ae535b2693f3b40483ed9ec978495050c7149384494c965123a866c65006fd5019f116e56a25c3c43d07f8d324804ce6f6a7372cec44bd9881cff14a0 deviceinfo
"