pmaports/device/testing/soc-qcom-msm8916/APKBUILD
Minecrell 1b2b5a6b97
device/testing/soc-qcom-msm8916: update UCM files (MR 1228)
- Add speaker for samsung-a5u/a3u
2020-05-13 15:52:55 +02:00

28 lines
1,010 B
Text

# Maintainer: Minecrell <minecrell@minecrell.net>
pkgname=soc-qcom-msm8916
pkgdesc="Common package for Qualcomm MSM8916 devices"
pkgver=5
pkgrel=0
url="https://postmarketos.org"
license="BSD-3-Clause"
arch="aarch64 armv7"
options="!check !archcheck !tracedeps pmb:cross-native"
depends="mesa-dri-gallium"
subpackages="$pkgname-modem"
_ucm_commit="8b9065809e15e6818d85a7ebfdb36a025d5b02f9"
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 samsung-a2015 samsung-gt510 codecs/msm8916-wcd platforms/msm8916 \
-type f -name "*.conf" \
-exec install -Dm644 {} "$pkgdir"/usr/share/alsa/ucm2/{} \;
}
modem() {
depends="msm-modem-mainline"
mkdir "$subpkgdir"
}
sha512sums="d0736fae04fdc8fc6a4827841090b315fee5e0c9b6ce799d80b6c1752b5fde85f08342edb814d72ef93cc75e4f977d2d62d70bd8b544926fc52f9b75a3458eed soc-qcom-msm8916-8b9065809e15e6818d85a7ebfdb36a025d5b02f9.tar.gz"