2020-01-15 18:26:28 +00:00
|
|
|
# Maintainer: Minecrell <minecrell@minecrell.net>
|
2020-04-20 10:07:28 +00:00
|
|
|
pkgname=soc-qcom-msm8916
|
2019-06-23 10:58:45 +00:00
|
|
|
pkgdesc="Common package for Qualcomm MSM8916 devices"
|
2020-04-20 10:07:28 +00:00
|
|
|
pkgver=4
|
|
|
|
pkgrel=0
|
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"
|
2020-04-20 10:07:28 +00:00
|
|
|
options="!check !archcheck !tracedeps pmb:cross-native"
|
|
|
|
depends="mesa-dri-gallium"
|
2020-01-18 11:33:38 +00:00
|
|
|
subpackages="$pkgname-modem"
|
2019-06-23 10:58:45 +00:00
|
|
|
|
2020-04-20 10:07:28 +00:00
|
|
|
_ucm_commit="b4d73298abf07cf4c0cb58ecfe62c3eb978b1bbd"
|
2020-01-15 18:26:28 +00:00
|
|
|
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
|
2020-04-20 10:07:28 +00:00
|
|
|
find msm8916 samsung-a2015 samsung-gt510 codecs/msm8916-wcd platforms/msm8916 \
|
2020-02-25 15:05:02 +00:00
|
|
|
-type f -name "*.conf" \
|
2020-01-15 18:26:28 +00:00
|
|
|
-exec install -Dm644 {} "$pkgdir"/usr/share/alsa/ucm2/{} \;
|
2019-06-23 10:58:45 +00:00
|
|
|
}
|
|
|
|
|
2020-01-18 11:33:38 +00:00
|
|
|
modem() {
|
2020-03-08 19:26:46 +00:00
|
|
|
depends="msm-modem-mainline"
|
2020-01-18 11:33:38 +00:00
|
|
|
mkdir "$subpkgdir"
|
|
|
|
}
|
|
|
|
|
2020-04-20 10:07:28 +00:00
|
|
|
sha512sums="55d9beed96c51772859b2eaeaa3383802bc2713846e8000e728f92ab7673c645b2ef74701f4bd5a9137d2dba51fa1bbfd2fc807ea1b39f889fb0b8208148323a soc-qcom-msm8916-b4d73298abf07cf4c0cb58ecfe62c3eb978b1bbd.tar.gz"
|