pmaports/device/testing/soc-qcom-msm8916/APKBUILD

29 lines
1,010 B
Text
Raw Normal View History

# Maintainer: Minecrell <minecrell@minecrell.net>
pkgname=soc-qcom-msm8916
pkgdesc="Common package for Qualcomm MSM8916 devices"
pkgver=4
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="b4d73298abf07cf4c0cb58ecfe62c3eb978b1bbd"
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="55d9beed96c51772859b2eaeaa3383802bc2713846e8000e728f92ab7673c645b2ef74701f4bd5a9137d2dba51fa1bbfd2fc807ea1b39f889fb0b8208148323a soc-qcom-msm8916-b4d73298abf07cf4c0cb58ecfe62c3eb978b1bbd.tar.gz"