2019-09-02 13:12:03 +00:00
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
|
|
|
# Maintainer: Alexey Min <alexey.min@gmail.com>
|
|
|
|
pkgname=device-xiaomi-lavender
|
|
|
|
pkgdesc="Xiaomi Redmi Note 7"
|
2022-09-13 17:23:15 +00:00
|
|
|
pkgver=0.2
|
2022-11-26 20:57:37 +00:00
|
|
|
pkgrel=3
|
2019-09-02 13:12:03 +00:00
|
|
|
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)"
|
2022-10-10 19:33:44 +00:00
|
|
|
depends="linux-xiaomi-lavender msm-fb-refresher"
|
2019-09-02 13:12:03 +00:00
|
|
|
devicepkg_subpackage_kernel $startdir $pkgname $subpkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
kernel_mainline() {
|
2020-07-11 09:16:39 +00:00
|
|
|
pkgdesc="Close to mainline; for kernel development only (most features aren't working)"
|
2019-09-02 13:12:03 +00:00
|
|
|
depends="linux-postmarketos-qcom-sdm660"
|
|
|
|
devicepkg_subpackage_kernel $startdir $pkgname $subpkgname
|
|
|
|
}
|
|
|
|
|
2021-09-18 17:06:03 +00:00
|
|
|
sha512sums="
|
2022-11-26 20:57:37 +00:00
|
|
|
ba63ba13678522f9358dc2f1aaa018d4a69c886fd0b4887e6e91b99993218cdac698f0b2e72d1700f09ff4f246fdcd25c3e0771f847f7564657fb1bd20a248b6 deviceinfo
|
2021-09-18 17:06:03 +00:00
|
|
|
"
|