dfee25cbf6
[ci:skip-build] Already built successfuly on CI in MR
40 lines
1 KiB
Text
40 lines
1 KiB
Text
# Reference: <https://postmarketos.org/devicepkg>
|
|
pkgname=device-xiaomi-platina
|
|
pkgdesc="Xiaomi Mi 8 Lite"
|
|
pkgver=0.2
|
|
pkgrel=0
|
|
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)"
|
|
depends="linux-xiaomi-platina mesa-dri-gallium msm-fb-refresher"
|
|
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="
|
|
97dbb61cf616a7345cbbebbefa4a159dfae499b7ee9a08288089e7fa0ae70bb331e2dc5f72ece28ae23ecb1d41473c824a59916f170941318e3cfc26f6346548 deviceinfo
|
|
"
|