2020-01-15 18:26:28 +00:00
|
|
|
# Maintainer: Minecrell <minecrell@minecrell.net>
|
2019-06-23 10:58:45 +00:00
|
|
|
pkgname="soc-qcom-msm8916"
|
|
|
|
pkgdesc="Common package for Qualcomm MSM8916 devices"
|
|
|
|
pkgver=1
|
2020-01-15 18:26:28 +00:00
|
|
|
pkgrel=1
|
2019-06-23 10:58:45 +00:00
|
|
|
url="https://postmarketos.org"
|
2020-01-15 18:26:28 +00:00
|
|
|
license="BSD-3-Clause"
|
2019-12-07 14:00:39 +00:00
|
|
|
arch="aarch64 armv7"
|
2019-06-23 10:58:45 +00:00
|
|
|
options="!check !archcheck"
|
2020-01-15 18:26:28 +00:00
|
|
|
depends="mesa-dri-freedreno"
|
2019-06-23 10:58:45 +00:00
|
|
|
|
2020-01-15 18:26:28 +00:00
|
|
|
_ucm_commit=e4639175c20c7dfe8f31fe32735d1efa8af31a48
|
|
|
|
source="$pkgname-$_ucm_commit.tar.gz::https://github.com/msm8916-mainline/alsa-ucm-conf/archive/$_ucm_commit.tar.gz"
|
2019-06-23 10:58:45 +00:00
|
|
|
|
|
|
|
package() {
|
2020-01-15 18:26:28 +00:00
|
|
|
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/{} \;
|
2019-06-23 10:58:45 +00:00
|
|
|
}
|
|
|
|
|
2020-01-15 18:26:28 +00:00
|
|
|
sha512sums="392ed18933d3ccad8cecb8086742c6cfb44cb24d3de4e20dfa9caa137707df2439e45bd4e6215883c6f2710f279a12c408f09ab18c333682483eccf863ced0de soc-qcom-msm8916-e4639175c20c7dfe8f31fe32735d1efa8af31a48.tar.gz"
|