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-11-26 10:39:55 +00:00
|
|
|
pkgver=10
|
2020-09-28 07:51:25 +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"
|
2020-10-28 11:12:32 +00:00
|
|
|
depends="mesa-dri-gallium $pkgname-ucm"
|
|
|
|
subpackages="$pkgname-ucm $pkgname-modem"
|
2019-06-23 10:58:45 +00:00
|
|
|
|
2020-11-26 10:39:55 +00:00
|
|
|
_ucm_commit="174c39580db41f3b895c6262dc747c283a0e5e3c"
|
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-10-28 11:12:32 +00:00
|
|
|
# parent package is empty
|
|
|
|
mkdir -p "$pkgdir"
|
|
|
|
}
|
|
|
|
|
|
|
|
# Upstream keeps making breaking changes to UCM in patch releases.
|
|
|
|
# My last upstreaming efforts failed without ever getting a reply,
|
|
|
|
# since then UCM was entirely reworked like 3 times already...
|
|
|
|
# I don't want to fix this up every few months, so let's package a stable
|
|
|
|
# version for now. Once all the UCM refactoring upstream has settled down a bit
|
|
|
|
# we can investigate how to integrate it properly for upstreaming.
|
|
|
|
ucm() {
|
|
|
|
provides="alsa-ucm-conf"
|
|
|
|
|
|
|
|
cd "$srcdir/alsa-ucm-conf-$_ucm_commit"
|
|
|
|
mkdir -p "$subpkgdir"/usr/share/alsa
|
|
|
|
cp -r ucm2 "$subpkgdir"/usr/share/alsa
|
2019-06-23 10:58:45 +00:00
|
|
|
}
|
|
|
|
|
2020-01-18 11:33:38 +00:00
|
|
|
modem() {
|
2020-06-21 13:07:32 +00:00
|
|
|
depends="msm-modem-rpmsg q6voiced"
|
2020-05-13 20:26:38 +00:00
|
|
|
install="$subpkgname.post-install"
|
|
|
|
|
|
|
|
install -Dm644 q6voiced.conf "$subpkgdir"/etc/conf.d/q6voiced
|
2020-01-18 11:33:38 +00:00
|
|
|
}
|
|
|
|
|
2020-11-26 10:39:55 +00:00
|
|
|
sha512sums="ee92bff4fdab39f5f58a149eff7ad9a06a98fe700cbc6604ec2696ba7794aa9e5753de631d27c2f1f9dcb2ed968dc8f459dbf1daa21e3bde82844930b1995ceb soc-qcom-msm8916-174c39580db41f3b895c6262dc747c283a0e5e3c.tar.gz
|
2020-05-13 20:26:38 +00:00
|
|
|
3a4a9322839d4b3ef9d79668a37840a9f444954759ae3c512e694051d2f9a2573db42ad6c4c1a5c75eeb861232a27ba1a8cef9b503decd54ead25a96e3dd6f98 q6voiced.conf"
|