pmaports/device/soc-qcom-msm8916/APKBUILD
Minecrell 876cf19755
device/soc-qcom-msm8916: update to ucm2, add support for qdsp6 (!907)
Audio must be routed through QDSP6 when using the modem.
2020-02-16 12:43:27 +01:00

21 lines
861 B
Text

# Maintainer: Minecrell <minecrell@minecrell.net>
pkgname="soc-qcom-msm8916"
pkgdesc="Common package for Qualcomm MSM8916 devices"
pkgver=1
pkgrel=1
url="https://postmarketos.org"
license="BSD-3-Clause"
arch="aarch64 armv7"
options="!check !archcheck"
depends="mesa-dri-freedreno"
_ucm_commit=e4639175c20c7dfe8f31fe32735d1efa8af31a48
source="$pkgname-$_ucm_commit.tar.gz::https://github.com/msm8916-mainline/alsa-ucm-conf/archive/$_ucm_commit.tar.gz"
package() {
cd "$srcdir/alsa-ucm-conf-$_ucm_commit"/ucm2
find msm8916* codecs/msm8916-wcd platforms/msm8916 -type f -name "*.conf" \
-exec install -Dm644 {} "$pkgdir"/usr/share/alsa/ucm2/{} \;
}
sha512sums="392ed18933d3ccad8cecb8086742c6cfb44cb24d3de4e20dfa9caa137707df2439e45bd4e6215883c6f2710f279a12c408f09ab18c333682483eccf863ced0de soc-qcom-msm8916-e4639175c20c7dfe8f31fe32735d1efa8af31a48.tar.gz"