xiaomi-santoni: fix audio with alsa-ucm-conf>=1.2.6.x (MR 2743)

This commit is contained in:
Bart Ribbers 2021-12-12 17:06:38 +01:00 committed by Clayton Craft
parent faa1d3dbbd
commit 5f781c263a
No known key found for this signature in database
GPG key ID: 4A4CED6D7EDF950A

View file

@ -4,7 +4,7 @@
pkgname=device-xiaomi-santoni
pkgdesc="Xiaomi Redmi 4X"
pkgver=0.7
pkgrel=1
pkgrel=2
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
@ -52,10 +52,9 @@ nonfree_firmware() {
mkdir "$subpkgdir"
# Install UCM files for santoni
install -Dm644 "$srcdir"/HiFi \
"$subpkgdir"/usr/share/alsa/ucm2/msm8920-sku7-snd-card/HiFi
install -Dm644 "$srcdir"/msm8920-sku7-snd-card.conf \
"$subpkgdir"/usr/share/alsa/ucm2/msm8920-sku7-snd-card/msm8920-sku7-snd-card.conf
install -Dm644 -t "$subpkgdir"/usr/share/alsa/ucm2/conf.d/msm8920-sku7-snd-card \
"$srcdir"/HiFi \
"$srcdir"/msm8920-sku7-snd-card.conf
install -Dm644 "$srcdir"/90-device-xiaomi-santoni-audio.rules \
"$subpkgdir"/etc/udev/rules.d/90-device-xiaomi-santoni-audio.rules
}