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
|
2023-09-19 16:16:35 +00:00
|
|
|
pkgrel=5
|
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
|
|
|
|
"
|
2023-08-02 17:06:01 +00:00
|
|
|
source="deviceinfo modules-initfs"
|
2022-01-12 01:23:35 +00:00
|
|
|
|
|
|
|
build() {
|
|
|
|
devicepkg_build $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
devicepkg_package $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
kernel_downstream() {
|
|
|
|
pkgdesc="LineageOS downstream kernel (recommended)"
|
2022-10-10 19:33:44 +00:00
|
|
|
depends="linux-xiaomi-platina 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="
|
2023-08-02 17:06:01 +00:00
|
|
|
99f3b09882a9b8181e5e5c4163315148a15f75355e2a0c36f4b981554202b8fabf74ef270b35d9df0550c0d0ee172895c6c0921d5598e502d0de5a16ffbd2dcc deviceinfo
|
|
|
|
029156e04ee0f9e20cf37d6fd0f52278ecc6a029b9ca86845a5e9a7b550ed1211b62f09e5ed36083061269d4e83b648788b87bbde0fba3cd1eb68675c47b79eb modules-initfs
|
2022-01-12 01:23:35 +00:00
|
|
|
"
|