2021-01-14 22:26:58 +00:00
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
|
|
|
pkgname=device-lg-m216
|
|
|
|
pkgdesc="LG K10 (m216)"
|
2021-10-29 15:29:18 +00:00
|
|
|
pkgver=6
|
2022-01-20 22:01:52 +00:00
|
|
|
pkgrel=1
|
2021-01-14 22:26:58 +00:00
|
|
|
url="https://postmarketos.org"
|
|
|
|
license="MIT"
|
|
|
|
arch="aarch64"
|
|
|
|
options="!check !archcheck"
|
2021-10-29 15:29:18 +00:00
|
|
|
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"
|
|
|
|
subpackages="
|
|
|
|
$pkgname-nonfree-firmware:nonfree_firmware
|
|
|
|
"
|
2021-10-29 15:29:18 +00:00
|
|
|
_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() {
|
2021-10-19 08:28:29 +00:00
|
|
|
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"
|
|
|
|
}
|
|
|
|
|
2021-07-07 05:06:17 +00:00
|
|
|
sha512sums="
|
2021-10-29 15:29:18 +00:00
|
|
|
b70fb0caf142a94e31e3aff8f01fc9c1991428b4fa2876f0b5576edccd794a8d80c0db115bf8c05dec512d5476549c2497ec9c35726fb24c5cde40dc9b940bcc deviceinfo
|
2021-07-07 05:06:17 +00:00
|
|
|
"
|