From 295ea8ae74f2cc612b4c3d779aa502b711261607 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Barnab=C3=A1s=20Cz=C3=A9m=C3=A1n?= Date: Wed, 17 Apr 2024 19:36:42 +0200 Subject: [PATCH] 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 --- device/community/device-xiaomi-daisy/APKBUILD | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/device/community/device-xiaomi-daisy/APKBUILD b/device/community/device-xiaomi-daisy/APKBUILD index dad8b0c67..12959cde8 100644 --- a/device/community/device-xiaomi-daisy/APKBUILD +++ b/device/community/device-xiaomi-daisy/APKBUILD @@ -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="