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:
parent
d1ad0d8713
commit
295ea8ae74
1 changed files with 7 additions and 2 deletions
|
@ -3,7 +3,7 @@
|
||||||
pkgname=device-xiaomi-daisy
|
pkgname=device-xiaomi-daisy
|
||||||
pkgdesc="Xiaomi Mi A2 Lite"
|
pkgdesc="Xiaomi Mi A2 Lite"
|
||||||
pkgver=11
|
pkgver=11
|
||||||
pkgrel=0
|
pkgrel=1
|
||||||
url="https://postmarketos.org"
|
url="https://postmarketos.org"
|
||||||
license="MIT"
|
license="MIT"
|
||||||
arch="aarch64"
|
arch="aarch64"
|
||||||
|
@ -22,6 +22,7 @@ depends="
|
||||||
soc-qcom-msm8953-modem
|
soc-qcom-msm8953-modem
|
||||||
"
|
"
|
||||||
makedepends="devicepkg-dev"
|
makedepends="devicepkg-dev"
|
||||||
|
subpackages="$pkgname-fake-goodix:fake_goodix"
|
||||||
|
|
||||||
source="
|
source="
|
||||||
deviceinfo
|
deviceinfo
|
||||||
|
@ -35,7 +36,11 @@ build() {
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
devicepkg_package $startdir $pkgname
|
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="
|
sha512sums="
|
||||||
|
|
Loading…
Reference in a new issue