pine64-pinephone: fix audio with alsa-lib 1.2.7 (MR 3267)
Let /usr/share/alsa/ucm2/conf.d/simple-card/*.conf be a symlink,
as it is expected since alsa-lib 1.2.7.
Related: d6adde0e32
[ci:skip-build] already built successfully in CI
This commit is contained in:
parent
18a50389d6
commit
3a2007c36b
1 changed files with 5 additions and 3 deletions
|
@ -5,7 +5,7 @@
|
||||||
# Co-Maintainer: Dylan Van Assche <me@dylanvanassche.be>
|
# Co-Maintainer: Dylan Van Assche <me@dylanvanassche.be>
|
||||||
pkgname=device-pine64-pinephone
|
pkgname=device-pine64-pinephone
|
||||||
pkgver=0.41
|
pkgver=0.41
|
||||||
pkgrel=2
|
pkgrel=3
|
||||||
pkgdesc="PINE64 PinePhone"
|
pkgdesc="PINE64 PinePhone"
|
||||||
url="https://postmarketos.org"
|
url="https://postmarketos.org"
|
||||||
license="MIT"
|
license="MIT"
|
||||||
|
@ -123,11 +123,13 @@ package() {
|
||||||
"$pkgdir"/usr/lib/udev/rules.d/10-pinephone-proximity.rules
|
"$pkgdir"/usr/lib/udev/rules.d/10-pinephone-proximity.rules
|
||||||
|
|
||||||
# Alsa usecase manager config
|
# Alsa usecase manager config
|
||||||
install -Dm644 -t "$pkgdir"/usr/share/alsa/ucm2/conf.d/simple-card \
|
|
||||||
"$srcdir"/PinePhone.conf
|
|
||||||
install -Dm644 -t "$pkgdir"/usr/share/alsa/ucm2/PinePhone \
|
install -Dm644 -t "$pkgdir"/usr/share/alsa/ucm2/PinePhone \
|
||||||
"$srcdir"/HiFi.conf \
|
"$srcdir"/HiFi.conf \
|
||||||
|
"$srcdir"/PinePhone.conf \
|
||||||
"$srcdir"/VoiceCall.conf
|
"$srcdir"/VoiceCall.conf
|
||||||
|
mkdir -p "$pkgdir"/usr/share/alsa/ucm2/conf.d/simple-card
|
||||||
|
ln -s /usr/share/alsa/ucm2/PinePhone/PinePhone.conf \
|
||||||
|
"$pkgdir"/usr/share/alsa/ucm2/conf.d/simple-card/PinePhone.conf
|
||||||
|
|
||||||
# Pulseaudio config
|
# Pulseaudio config
|
||||||
install -Dm644 "$srcdir"/pulse-pinephone.conf \
|
install -Dm644 "$srcdir"/pulse-pinephone.conf \
|
||||||
|
|
Loading…
Reference in a new issue