pmaports/device/testing/device-lg-m216/APKBUILD

39 lines
1.1 KiB
Text
Raw Normal View History

2021-01-14 22:26:58 +00:00
# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-lg-m216
pkgdesc="LG K10 (m216)"
pkgver=7
pkgrel=0
2021-01-14 22:26:58 +00:00
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"
2021-01-14 22:26:58 +00:00
makedepends="devicepkg-dev"
source="deviceinfo modules-initfs"
2021-01-14 22:26:58 +00:00
subpackages="
$pkgname-nonfree-firmware:nonfree_firmware
"
_pmb_select="soc-qcom-msm8916-rproc"
2021-01-14 22:26:58 +00:00
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"
2021-01-14 22:26:58 +00:00
mkdir "$subpkgdir"
}
sha512sums="
d28b2b3387c816f49b8f8f6c5e3f3e6a377032bbf7278e3a12da9b5a6844f47b0c54708e545c31836864a389cdc41505692808cb34137891c618eb29be9e54ec deviceinfo
d4d77f5db6e361d723c7202bf68342970bc568d6e040b3fba694c5ff0af0eec0a6aaaf582fd6b40a5ab46a26931edacea3cba70e7f6d13be42e9676a5ee06d86 modules-initfs
"