2023-09-05 19:01:35 +00:00
|
|
|
# Maintainer: Barnabas Czeman <trabarni@gmail.com>
|
2023-07-20 18:11:33 +00:00
|
|
|
pkgname=soc-qcom-msm8953
|
|
|
|
pkgdesc="Common package for Qualcomm MSM8953 devices"
|
2024-05-07 20:35:50 +00:00
|
|
|
pkgver=10
|
2023-07-20 18:11:33 +00:00
|
|
|
pkgrel=0
|
|
|
|
url="https://postmarketos.org"
|
|
|
|
license="BSD-3-Clause"
|
|
|
|
arch="aarch64"
|
|
|
|
options="!check !archcheck !tracedeps pmb:cross-native"
|
|
|
|
depends="$pkgname-ucm swclock-offset"
|
|
|
|
subpackages="
|
2024-03-24 10:39:54 +00:00
|
|
|
$pkgname-gpu
|
2023-09-09 23:54:37 +00:00
|
|
|
$pkgname-modem
|
2023-07-20 18:11:33 +00:00
|
|
|
$pkgname-ucm
|
|
|
|
"
|
|
|
|
|
2024-05-14 18:32:53 +00:00
|
|
|
_ucm_commit="b6860eae577ddea6f55834850fb4ed403f208d2f"
|
2023-09-05 19:01:35 +00:00
|
|
|
source="
|
|
|
|
$pkgname-$_ucm_commit.tar.gz::https://github.com/msm8953-mainline/alsa-ucm-conf/archive/$_ucm_commit.tar.gz
|
|
|
|
90-feedbackd-pm8xxx-vib.rules
|
2023-09-09 23:54:37 +00:00
|
|
|
q6voiced.conf
|
2024-03-24 10:39:54 +00:00
|
|
|
adreno-a506-quirks.sh
|
2023-09-05 19:01:35 +00:00
|
|
|
"
|
2023-07-20 18:11:33 +00:00
|
|
|
|
|
|
|
package() {
|
2023-09-05 19:01:35 +00:00
|
|
|
install -Dm644 "$srcdir"/90-feedbackd-pm8xxx-vib.rules \
|
|
|
|
"$pkgdir"/usr/lib/udev/rules.d/90-feedbackd-pm8xxx-vib.rules
|
2023-07-20 18:11:33 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
ucm() {
|
|
|
|
provides="alsa-ucm-conf"
|
|
|
|
provider_priority=1
|
|
|
|
|
|
|
|
cd "$srcdir/alsa-ucm-conf-$_ucm_commit"
|
|
|
|
mkdir -p "$subpkgdir"/usr/share/alsa
|
|
|
|
cp -r ucm2 "$subpkgdir"/usr/share/alsa
|
|
|
|
}
|
|
|
|
|
2023-09-09 23:54:37 +00:00
|
|
|
modem() {
|
|
|
|
depends="
|
|
|
|
msm-modem-uim-selection
|
|
|
|
q6voiced
|
|
|
|
q6voiced-openrc
|
|
|
|
qrtr
|
|
|
|
rmtfs
|
|
|
|
rmtfs-openrc
|
|
|
|
"
|
|
|
|
install="$subpkgname.post-install $subpkgname.post-upgrade"
|
|
|
|
install -Dm644 "$srcdir"/q6voiced.conf "$subpkgdir"/etc/conf.d/q6voiced
|
|
|
|
}
|
|
|
|
|
2024-03-24 10:39:54 +00:00
|
|
|
gpu() {
|
|
|
|
pkgdesc="Various GPU workarounds for Adreno a506"
|
|
|
|
install_if="$pkgname=$pkgver-r$pkgrel mesa-dri-gallium"
|
|
|
|
|
|
|
|
install -Dm644 "$srcdir"/adreno-a506-quirks.sh \
|
|
|
|
"$subpkgdir"/etc/profile.d/adreno-a506-quirks.sh
|
|
|
|
}
|
|
|
|
|
2023-07-20 18:11:33 +00:00
|
|
|
sha512sums="
|
2024-05-14 18:32:53 +00:00
|
|
|
a7e6ca9fa3409403af780dfd97d2c5f502c54bf5877123739a893050a77d62ceeeafd73674fd34fe69eb7e1fffdb790f6df75633e6afd49b1c74da5f9c480047 soc-qcom-msm8953-b6860eae577ddea6f55834850fb4ed403f208d2f.tar.gz
|
2023-09-05 19:01:35 +00:00
|
|
|
90fca4a3291a2c84c0b20e41308c4698374ba896e9365ca80dbfd0c0c4f7dc08317f3dd865a3c7f6707c81b02f5bb24136d1172253d2e4fdd50039bbbf02a178 90-feedbackd-pm8xxx-vib.rules
|
2023-09-09 23:54:37 +00:00
|
|
|
3a4a9322839d4b3ef9d79668a37840a9f444954759ae3c512e694051d2f9a2573db42ad6c4c1a5c75eeb861232a27ba1a8cef9b503decd54ead25a96e3dd6f98 q6voiced.conf
|
2024-03-24 10:39:54 +00:00
|
|
|
d546c99ca8d406b4e2e3901a417e4e461314a38f2f01c48525e44ca524ad57af7bfc280f416bda90573b0bfb1cca27d45cb0a0ed44e999ef8d406a380d1fdbb2 adreno-a506-quirks.sh
|
2023-07-20 18:11:33 +00:00
|
|
|
"
|