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-05-13 20:26:38 +00:00
|
|
|
pkgver=6
|
2020-04-20 10:07:28 +00:00
|
|
|
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-05-11 20:22:46 +00:00
|
|
|
_ucm_commit="8b9065809e15e6818d85a7ebfdb36a025d5b02f9"
|
2020-05-13 20:26:38 +00:00
|
|
|
source="$pkgname-$_ucm_commit.tar.gz::https://github.com/msm8916-mainline/alsa-ucm-conf/archive/$_ucm_commit.tar.gz
|
|
|
|
q6voiced.conf
|
|
|
|
"
|
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-05-13 20:26:38 +00:00
|
|
|
depends="msm-modem-mainline q6voiced"
|
|
|
|
install="$subpkgname.post-install"
|
|
|
|
|
|
|
|
install -Dm644 q6voiced.conf "$subpkgdir"/etc/conf.d/q6voiced
|
2020-01-18 11:33:38 +00:00
|
|
|
}
|
|
|
|
|
2020-05-13 20:26:38 +00:00
|
|
|
sha512sums="d0736fae04fdc8fc6a4827841090b315fee5e0c9b6ce799d80b6c1752b5fde85f08342edb814d72ef93cc75e4f977d2d62d70bd8b544926fc52f9b75a3458eed soc-qcom-msm8916-8b9065809e15e6818d85a7ebfdb36a025d5b02f9.tar.gz
|
|
|
|
3a4a9322839d4b3ef9d79668a37840a9f444954759ae3c512e694051d2f9a2573db42ad6c4c1a5c75eeb861232a27ba1a8cef9b503decd54ead25a96e3dd6f98 q6voiced.conf"
|