device-xiaomi-daisy: move calibration to subpackage (MR 5040)

Move goodix calibration rules to an subpackage because only the
replacement controllers are need this.

[ci:skip-build]: already built successfully in CI
This commit is contained in:
Barnabás Czémán 2024-04-17 19:36:42 +02:00 committed by Pablo Correa Gómez
parent d1ad0d8713
commit 295ea8ae74
No known key found for this signature in database
GPG key ID: C88B2C25B3576FE8

View file

@ -3,7 +3,7 @@
pkgname=device-xiaomi-daisy
pkgdesc="Xiaomi Mi A2 Lite"
pkgver=11
pkgrel=0
pkgrel=1
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
@ -22,6 +22,7 @@ depends="
soc-qcom-msm8953-modem
"
makedepends="devicepkg-dev"
subpackages="$pkgname-fake-goodix:fake_goodix"
source="
deviceinfo
@ -35,7 +36,11 @@ build() {
package() {
devicepkg_package $startdir $pkgname
install -Dm644 90-device-xiaomi-daisy.rules -t "$pkgdir/etc/udev/rules.d/"
}
fake_goodix() {
pkgdesc="Calibration data for replacement goodix touch controllers"
install -Dm644 90-device-xiaomi-daisy.rules -t "$subpkgdir/etc/udev/rules.d/"
}
sha512sums="