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
|
2023-09-19 16:16:35 +00:00
|
|
|
pkgrel=3
|
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"
|
2023-08-02 17:06:01 +00:00
|
|
|
source="deviceinfo modules-initfs"
|
2021-01-14 22:26:58 +00:00
|
|
|
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="
|
2023-08-02 17:06:01 +00:00
|
|
|
5bd201bd89447c874febca843a649c2181d3d66606d86888b66b1c2643c6e610e5321337b357c5d713188ab27d6e5329d002549280057a787068e3e3c8b83ae8 deviceinfo
|
|
|
|
d4d77f5db6e361d723c7202bf68342970bc568d6e040b3fba694c5ff0af0eec0a6aaaf582fd6b40a5ab46a26931edacea3cba70e7f6d13be42e9676a5ee06d86 modules-initfs
|
2021-07-07 05:06:17 +00:00
|
|
|
"
|