pine64-pinetab: fix audio with alsa-lib 1.2.7 (MR 3273)

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
This commit is contained in:
Oliver Smith 2022-07-01 09:39:39 +02:00 committed by Newbyte
parent 8302ff553a
commit 5572c21fa3
No known key found for this signature in database
GPG key ID: 5873C171C9429CFA

View file

@ -4,7 +4,7 @@
pkgname=device-pine64-pinetab
pkgdesc="PINE64 PineTab"
pkgver=0.13
pkgrel=1
pkgrel=2
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
@ -120,10 +120,12 @@ package() {
devicepkg_package $startdir $pkgname
# Alsa usecase manager config
install -Dm644 -t "$pkgdir"/usr/share/alsa/ucm2/conf.d/simple-card \
"$srcdir"/PineTab.conf
install -Dm644 -t "$pkgdir"/usr/share/alsa/ucm2/PineTab \
"$srcdir"/HiFi.conf
"$srcdir"/HiFi.conf \
"$srcdir"/PineTab.conf
mkdir -p "$pkgdir"/usr/share/alsa/ucm2/conf.d/simple-card
ln -s /usr/share/alsa/ucm2/PineTab/PineTab.conf \
"$pkgdir"/usr/share/alsa/ucm2/conf.d/simple-card/PineTab.conf
# Pulseaudio config
install -Dm644 "$srcdir"/pulse-pinetab.conf \