Files
pmaports-rtwo/device/community/device-qcom-msm8953/APKBUILD
T
Achill Gilgenast ecd710af96 */*: move to maintainer= variables
* Also move right above pkgname=
* Move Co-Maintainer lines above maintainer=
* Remove empty lines in the header

pmbootstrap 3.7+ & abuild supports maintainer= variables.

See also https://gitlab.alpinelinux.org/alpine/tsc/-/issues/88

[ci:skip-build]: no pkgver/pkgrel changes
[ci:ignore-count]: intended
[ci:skip-vercheck]: no functional changes
[skip ci]: false positives

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7723>
2026-01-12 17:01:35 +01:00

69 lines
2.1 KiB
Bash

# Reference: <https://postmarketos.org/devicepkg>
# Co-Maintainer: Victor Pavlov (vipaoL) <vipaolmail@gmail.com>
maintainer="Barnabas Czeman <barnabas.czeman@postmarketos.org>"
pkgname=device-qcom-msm8953
pkgdesc="Generic device package for various Qualcomm MSM8953/SDM450/SDM632-based devices"
pkgver=9
pkgrel=1
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
options="!check !archcheck"
depends="
firmware-qcom-adreno-a530
firmware-qcom-msm8953
linux-postmarketos-qcom-msm8953
lk2nd-msm8953
mkbootimg
msm-firmware-loader
postmarketos-base
qbootctl
soc-qcom-msm8953
soc-qcom-msm8953-modem
"
makedepends="devicepkg-dev"
subpackages="
$pkgname-udev
device-xiaomi-daisy-fake-goodix:xiaomi_daisy_fake_goodix
"
source="
deviceinfo
modules-initfs
90-device-xiaomi-daisy.rules
61-gmobile-wakeup-lenovo-cd18781y.hwdb
"
build() {
devicepkg_build $startdir $pkgname
}
package() {
devicepkg_package $startdir $pkgname
install -Dm644 61-gmobile-wakeup-lenovo-cd18781y.hwdb \
-t "$pkgdir/usr/lib/udev/hwdb.d/"
install -Dm644 "$srcdir"/90-device-xiaomi-daisy.rules \
-t "$pkgdir/usr/lib/udev/rules.d/"
}
udev() {
pkgdesc="$pkgdesc (udev rules)"
install_if="$pkgname=$pkgver-r$pkgrel udev"
# default_udev isn't used here to allow also installing a udev rule in the
# xiaomi_daisy_fake_goodix function
amove usr/lib/udev/hwdb.d/61-gmobile-wakeup-lenovo-cd18781y.hwdb
}
xiaomi_daisy_fake_goodix() {
pkgdesc="Calibration data for replacement goodix touch controllers"
amove usr/lib/udev/rules.d/90-device-xiaomi-daisy.rules
}
sha512sums="
726ea83be6efd0124ce324acc77551be13b7fced806d0fd1cdccc591c8eac9db7aeda3af44d09bea7287058ede8bef4aa9455ecab3d60d647a9517032a72d95a deviceinfo
83d3a9519a659607b492b5a5a676eb46d589855b68751dfbad02f9d9dcdf84652c3a22f89357e2068b622ea91398f1590e7f26293330eb72558b9b55705fa434 modules-initfs
a2608b01b7b6e2dade694af355ff4f0f26cad49cf54bc332c77eb75d19fdc985f7f996fedb72753de447be0391deabf5fcea52406791d1e6e0d165703b63f145 90-device-xiaomi-daisy.rules
17af1dabd211ec942bd8cbe63743c874ef87f0613ae08b8de3f77bdb87962eae402eee2b6604d6040700d4e7ae1b898cb67c1b01f2b86db23af31435953eaa51 61-gmobile-wakeup-lenovo-cd18781y.hwdb
"