2021-03-04 17:24:52 +00:00
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
|
|
|
pkgname=device-xiaomi-clover
|
|
|
|
pkgdesc="Xiaomi Mi Pad 4"
|
2024-04-04 19:53:43 +00:00
|
|
|
pkgver=2
|
2024-04-02 12:52:52 +00:00
|
|
|
pkgrel=0
|
2021-03-04 17:24:52 +00:00
|
|
|
url="https://postmarketos.org"
|
|
|
|
license="MIT"
|
|
|
|
arch="aarch64"
|
|
|
|
options="!check !archcheck"
|
2024-01-06 21:46:27 +00:00
|
|
|
depends="
|
2024-04-04 19:53:43 +00:00
|
|
|
firmware-qcom-adreno-a530
|
|
|
|
firmware-xiaomi-clover
|
2024-01-06 21:46:27 +00:00
|
|
|
mkbootimg
|
2024-04-04 19:53:43 +00:00
|
|
|
msm-firmware-loader
|
2024-01-06 21:46:27 +00:00
|
|
|
postmarketos-base
|
2024-04-04 19:53:43 +00:00
|
|
|
soc-qcom-sdm660
|
|
|
|
soc-qcom-sdm660-rproc
|
2024-01-06 21:46:27 +00:00
|
|
|
"
|
2021-03-04 17:24:52 +00:00
|
|
|
makedepends="devicepkg-dev"
|
2024-01-06 21:46:27 +00:00
|
|
|
subpackages="
|
|
|
|
$pkgname-kernel-clover:kernel_clover
|
|
|
|
$pkgname-kernel-cloverplus:kernel_cloverplus
|
|
|
|
"
|
|
|
|
source="
|
|
|
|
deviceinfo
|
|
|
|
modules-initfs.clover
|
|
|
|
modules-initfs.cloverplus
|
|
|
|
"
|
2021-03-04 17:24:52 +00:00
|
|
|
|
|
|
|
build() {
|
|
|
|
devicepkg_build $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
devicepkg_package $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
2024-01-06 21:46:27 +00:00
|
|
|
kernel_clover() {
|
|
|
|
pkgdesc="For regular Mi Pad 4"
|
|
|
|
depends="linux-postmarketos-qcom-sdm660"
|
|
|
|
devicepkg_subpackage_kernel $startdir $pkgname $subpkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
kernel_cloverplus() {
|
|
|
|
pkgdesc="For Mi Pad 4 Plus"
|
|
|
|
depends="linux-postmarketos-qcom-sdm660"
|
|
|
|
devicepkg_subpackage_kernel $startdir $pkgname $subpkgname
|
|
|
|
}
|
|
|
|
|
2021-09-18 17:06:03 +00:00
|
|
|
sha512sums="
|
2024-04-04 19:53:43 +00:00
|
|
|
bdc81c13e2ae7aa36f055bcc2b671cb83cb4ed906a0d6f5b6f50942b77606c5fbfde9094fcd1470fce296dcef7cbb7abc9ec0c062ef6c8b6441dd3d44ea3a93d deviceinfo
|
2024-01-06 21:46:27 +00:00
|
|
|
709e3b6b082189d3a84e56d624221a6d5e502cd3d2a61080979cabfc2f048dc90b45f2cf1dd79c095e74db726d5670d22772bdc1a3ab6c42f97cd6ac09c86946 modules-initfs.clover
|
|
|
|
103ecf9d5005d44114fa644f61d059b5b22d5936ed71da460e55614ed9ec795595d4e9e2f2b79fb3511751edcf8e88ae134c5530ce037f86ae92c87768396e49 modules-initfs.cloverplus
|
2021-09-18 17:06:03 +00:00
|
|
|
"
|