pmaports/device/community/soc-qcom-msm8953/APKBUILD
M0Rf30 856aa1af6d
soc-qcom-msm8953: update ucm configurations (MR 4669)
- fix jack control

[ci:skip-build]: already built successfully in CI
2024-01-03 22:08:37 +01:00

61 lines
1.9 KiB
Text

# Maintainer: Barnabas Czeman <trabarni@gmail.com>
pkgname=soc-qcom-msm8953
pkgdesc="Common package for Qualcomm MSM8953 devices"
pkgver=5
pkgrel=0
url="https://postmarketos.org"
license="BSD-3-Clause"
arch="aarch64"
options="!check !archcheck !tracedeps pmb:cross-native"
depends="$pkgname-ucm swclock-offset"
subpackages="
$pkgname-initramfs
$pkgname-modem
$pkgname-ucm
"
_ucm_commit="8e86a324acb259021b2b657cd3284a41ba1d39ff"
source="
$pkgname-$_ucm_commit.tar.gz::https://github.com/msm8953-mainline/alsa-ucm-conf/archive/$_ucm_commit.tar.gz
90-feedbackd-pm8xxx-vib.rules
q6voiced.conf
00-firmware.files
"
package() {
install -Dm644 "$srcdir"/90-feedbackd-pm8xxx-vib.rules \
"$pkgdir"/usr/lib/udev/rules.d/90-feedbackd-pm8xxx-vib.rules
}
ucm() {
provides="alsa-ucm-conf"
provider_priority=1
cd "$srcdir/alsa-ucm-conf-$_ucm_commit"
mkdir -p "$subpkgdir"/usr/share/alsa
cp -r ucm2 "$subpkgdir"/usr/share/alsa
}
initramfs() {
install -Dm644 "$srcdir"/00-firmware.files -t "$subpkgdir"/usr/share/mkinitfs/files
}
modem() {
depends="
msm-modem-uim-selection
q6voiced
q6voiced-openrc
qrtr
rmtfs
rmtfs-openrc
"
install="$subpkgname.post-install $subpkgname.post-upgrade"
install -Dm644 "$srcdir"/q6voiced.conf "$subpkgdir"/etc/conf.d/q6voiced
}
sha512sums="
62297173c94075d6cdca6df664b82b1450359faf9806122749541196a84871b1c93f0ec1b70fe5ba18a39362a172e8ebb9eff109b56410a29a3a7e23059495fc soc-qcom-msm8953-8e86a324acb259021b2b657cd3284a41ba1d39ff.tar.gz
90fca4a3291a2c84c0b20e41308c4698374ba896e9365ca80dbfd0c0c4f7dc08317f3dd865a3c7f6707c81b02f5bb24136d1172253d2e4fdd50039bbbf02a178 90-feedbackd-pm8xxx-vib.rules
3a4a9322839d4b3ef9d79668a37840a9f444954759ae3c512e694051d2f9a2573db42ad6c4c1a5c75eeb861232a27ba1a8cef9b503decd54ead25a96e3dd6f98 q6voiced.conf
23cff3b1796fc61fb494cf6ad7e25ca968dd6eb55ccd17d303c354d7a1638b25d7f152feb973b130d74cfcea2cb6aed45dfe3843ae491ffad1440fcf35389284 00-firmware.files
"