cf69326222
[ci:ignore-count]
38 lines
1.1 KiB
Text
38 lines
1.1 KiB
Text
# Reference: <https://postmarketos.org/devicepkg>
|
|
pkgname=device-lenovo-a6020a40
|
|
pkgdesc="Lenovo Vibe K5"
|
|
pkgver=1
|
|
pkgrel=3
|
|
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 modules-initfs"
|
|
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="
|
|
897cc0393f80e1552087279cd072dcc8db1ae661d968cdef7397425e80b380ebe429397d478dd27e4c2f9a21b5a6efe1ba57aabf14157f7f2f5f3d1beca3166b deviceinfo
|
|
36791d00fdb1856c8b2e25f7ce675cd177262809348b218dd66f7e55e92f5f6e22699860d9a667d12169da75685787074a4d06d5cf49f64d5cb83be74ccf0533 modules-initfs
|
|
"
|