pmaports/device/testing/soc-qcom-msm8916/APKBUILD
Minecrell 53a58e9bd7
device/testing/soc-qcom-msm8916: upgrade (!1167)
- Enable speaker on samsung-gt510wifi/matissevewifi
- Replace deprecated mesa-dri-freedreno package with mesa-dri-gallium
- Build natively (this is just a trivial copy)
2020-04-22 20:12:31 +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=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"