pine64-pinephone: unbreak audio (MR 1323)

Fixes #633.
This commit is contained in:
Antoine Fontaine 2020-06-17 10:36:22 +02:00 committed by Bart Ribbers
parent 578b616452
commit 1d2b62a109
No known key found for this signature in database
GPG key ID: 699D16185DAFAE61

View file

@ -4,14 +4,14 @@
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=device-pine64-pinephone
pkgver=0.3
pkgrel=1
pkgrel=2
pkgdesc="PINE64 PinePhone"
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
options="!check !archcheck"
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
depends="postmarketos-base u-boot-pinephone uboot-tools mesa-git-dri-gallium linux-postmarketos-allwinner gpsd atinout"
depends="postmarketos-base u-boot-pinephone uboot-tools mesa-git-dri-gallium linux-postmarketos-allwinner gpsd atinout alsa-ucm-conf"
makedepends="devicepkg-dev"
install="$pkgname.post-install"
source="deviceinfo
@ -56,11 +56,11 @@ package() {
# Alsa usecase manager config
install -D -m644 "$srcdir"/sun50i-a64-audio.conf \
"$pkgdir"/usr/share/alsa/ucm2/sun50i-a64-audio/sun50i-a64-audio.conf
"$pkgdir"/usr/share/alsa/ucm2/sun50i-a64-audi/sun50i-a64-audio.conf
install -D -m644 "$srcdir"/HiFi.conf \
"$pkgdir"/usr/share/alsa/ucm2/sun50i-a64-audio/HiFi.conf
"$pkgdir"/usr/share/alsa/ucm2/sun50i-a64-audi/HiFi.conf
install -D -m644 "$srcdir"/VoiceCall.conf \
"$pkgdir"/usr/share/alsa/ucm2/sun50i-a64-audio/VoiceCall.conf
"$pkgdir"/usr/share/alsa/ucm2/sun50i-a64-audi/VoiceCall.conf
# Modem
install -Dm755 "$srcdir"/eg25.initd "$pkgdir"/etc/init.d/eg25