79061c94ce
[ci:ignore-count] [ci:skip-vercheck] [ci:skip-build]: built all the device packages successfully in CI already
41 lines
1.1 KiB
Text
41 lines
1.1 KiB
Text
# Reference: <https://postmarketos.org/devicepkg>
|
|
# Maintainer: Alexey Min <alexey.min@gmail.com>
|
|
pkgname=device-xiaomi-lavender
|
|
pkgdesc="Xiaomi Redmi Note 7"
|
|
pkgver=0.1
|
|
pkgrel=2
|
|
url="https://postmarketos.org"
|
|
license="MIT"
|
|
arch="aarch64"
|
|
options="!check !archcheck"
|
|
depends="postmarketos-base mkbootimg"
|
|
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-lavender mesa-dri-swrast msm-fb-refresher"
|
|
devicepkg_subpackage_kernel $startdir $pkgname $subpkgname
|
|
}
|
|
|
|
kernel_mainline() {
|
|
pkgdesc="Close to mainline; for kernel development only (most features aren't working)"
|
|
depends="linux-postmarketos-qcom-sdm660"
|
|
devicepkg_subpackage_kernel $startdir $pkgname $subpkgname
|
|
}
|
|
|
|
sha512sums="
|
|
92ae6013cb0399f8059ea686759d884664c5a734bebae35c2fd221deccc8345af01a8403b8055fb3562fee7cd487bc80b511717c6d628a0a7f089e35d84c169e deviceinfo
|
|
"
|