2023-09-10 14:57:44 +00:00
|
|
|
# Maintainer: Alejandro Tafalla <alikates@dnyon.com>
|
2020-11-09 17:09:05 +00:00
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
|
|
|
pkgname=device-xiaomi-daisy
|
|
|
|
pkgdesc="Xiaomi Mi A2 Lite"
|
2024-04-02 21:36:43 +00:00
|
|
|
pkgver=11
|
2024-06-18 19:53:59 +00:00
|
|
|
pkgrel=3
|
2020-11-09 17:09:05 +00:00
|
|
|
url="https://postmarketos.org"
|
|
|
|
license="MIT"
|
|
|
|
arch="aarch64"
|
|
|
|
options="!check !archcheck"
|
2023-09-10 14:57:44 +00:00
|
|
|
depends="
|
2024-03-27 19:35:53 +00:00
|
|
|
firmware-qcom-adreno-a530
|
|
|
|
firmware-xiaomi-daisy
|
2023-09-10 14:57:44 +00:00
|
|
|
linux-postmarketos-qcom-msm8953
|
|
|
|
lk2nd-msm8953
|
|
|
|
mkbootimg
|
2024-03-27 19:35:53 +00:00
|
|
|
msm-firmware-loader
|
2023-09-10 14:57:44 +00:00
|
|
|
postmarketos-base
|
2024-03-27 19:35:53 +00:00
|
|
|
qbootctl
|
2023-09-10 14:57:44 +00:00
|
|
|
soc-qcom-msm8953
|
2024-03-27 19:35:53 +00:00
|
|
|
soc-qcom-msm8953-modem
|
2023-09-10 14:57:44 +00:00
|
|
|
"
|
2020-11-09 17:09:05 +00:00
|
|
|
makedepends="devicepkg-dev"
|
2024-04-17 17:36:42 +00:00
|
|
|
subpackages="$pkgname-fake-goodix:fake_goodix"
|
2024-03-27 19:35:53 +00:00
|
|
|
|
2021-06-09 17:56:24 +00:00
|
|
|
source="
|
|
|
|
deviceinfo
|
2023-08-02 17:06:01 +00:00
|
|
|
modules-initfs
|
2024-03-30 15:16:02 +00:00
|
|
|
90-device-xiaomi-daisy.rules
|
2023-09-10 14:57:44 +00:00
|
|
|
"
|
2020-11-09 17:09:05 +00:00
|
|
|
|
|
|
|
build() {
|
|
|
|
devicepkg_build $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
devicepkg_package $startdir $pkgname
|
2024-04-17 17:36:42 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
fake_goodix() {
|
|
|
|
pkgdesc="Calibration data for replacement goodix touch controllers"
|
|
|
|
install -Dm644 90-device-xiaomi-daisy.rules -t "$subpkgdir/etc/udev/rules.d/"
|
2020-11-09 17:09:05 +00:00
|
|
|
}
|
|
|
|
|
2021-06-05 23:44:54 +00:00
|
|
|
sha512sums="
|
2024-06-18 19:53:59 +00:00
|
|
|
327d6b49c6bc26725ed566ee968220cd7bbd5c8fd31b91705b6a02635daf5ce02567ba493a5bd431e0438339e004d42c7f4a57d4ed683274b94dc78668771d8d deviceinfo
|
2024-01-14 01:17:35 +00:00
|
|
|
7202f0a55dfe43348940412fc38e59c855594b070db8742419feadb2299086d5810107201a228b7137b7cc7a97c94afac95d81c0cd65c52f31dbcb619b0a4279 modules-initfs
|
2024-03-30 15:16:02 +00:00
|
|
|
a2608b01b7b6e2dade694af355ff4f0f26cad49cf54bc332c77eb75d19fdc985f7f996fedb72753de447be0391deabf5fcea52406791d1e6e0d165703b63f145 90-device-xiaomi-daisy.rules
|
2021-06-05 23:44:54 +00:00
|
|
|
"
|