2022-01-12 01:23:35 +00:00
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
|
|
|
pkgname=device-xiaomi-platina
|
|
|
|
pkgdesc="Xiaomi Mi 8 Lite"
|
2022-09-13 17:23:28 +00:00
|
|
|
pkgver=0.2
|
2022-09-21 19:38:22 +00:00
|
|
|
pkgrel=1
|
2022-01-12 01:23:35 +00:00
|
|
|
url="https://postmarketos.org"
|
|
|
|
license="MIT"
|
|
|
|
arch="aarch64"
|
|
|
|
options="!check !archcheck"
|
|
|
|
depends="mkbootimg postmarketos-base"
|
|
|
|
makedepends="devicepkg-dev"
|
|
|
|
subpackages="
|
|
|
|
$pkgname-kernel-downstream:kernel_downstream
|
|
|
|
$pkgname-kernel-mainline:kernel_mainline
|
|
|
|
"
|
|
|
|
source="deviceinfo"
|
|
|
|
|
|
|
|
build() {
|
|
|
|
devicepkg_build $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
devicepkg_package $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
kernel_downstream() {
|
|
|
|
pkgdesc="LineageOS downstream kernel (recommended)"
|
2022-04-05 16:34:43 +00:00
|
|
|
depends="linux-xiaomi-platina mesa-dri-gallium msm-fb-refresher"
|
2022-01-12 01:23:35 +00:00
|
|
|
devicepkg_subpackage_kernel $startdir $pkgname $subpkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
kernel_mainline() {
|
|
|
|
pkgdesc="For kernel development only (most features aren't working)"
|
|
|
|
depends="linux-postmarketos-qcom-sdm660"
|
|
|
|
devicepkg_subpackage_kernel $startdir $pkgname $subpkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
sha512sums="
|
2022-09-21 19:38:22 +00:00
|
|
|
6f61447493fcfe144576a13760708f669c9992731a0ba33f732cfb40f686d16139cef74805481b85b54dfcbfc32c69d51b9c6944bf582dbe7151379ce8aeabf4 deviceinfo
|
2022-01-12 01:23:35 +00:00
|
|
|
"
|