2020-05-27 00:15:46 +00:00
|
|
|
# Maintainer: Caleb Connolly (kalube) <caleb@connolly.tech>
|
|
|
|
pkgname=soc-qcom-sdm845
|
|
|
|
pkgdesc="Common package for Qualcomm SDM845 devices"
|
2021-05-28 15:27:54 +00:00
|
|
|
pkgver=4
|
2021-06-10 03:36:40 +00:00
|
|
|
pkgrel=2
|
2020-05-27 00:15:46 +00:00
|
|
|
url="https://postmarketos.org"
|
|
|
|
license="BSD-3-Clause"
|
|
|
|
arch="aarch64"
|
|
|
|
options="!check !archcheck !tracedeps"
|
2021-06-10 03:36:40 +00:00
|
|
|
depends="mesa-dri-gallium swclock-offset"
|
2021-02-18 19:40:58 +00:00
|
|
|
subpackages="
|
|
|
|
$pkgname-nonfree-firmware:nonfree_firmware
|
|
|
|
$pkgname-ucm
|
|
|
|
"
|
|
|
|
|
2021-05-28 15:27:54 +00:00
|
|
|
_ucm_commit="f959b6c46165f23eebcf34ffefef14c6be015a55"
|
2021-02-18 19:40:58 +00:00
|
|
|
source="
|
|
|
|
alsa-ucm-conf-$_ucm_commit.tar.gz::https://gitlab.com/sdm845-mainline/alsa-ucm-conf/-/archive/$_ucm_commit/alsa-ucm-conf-$_ucm_commit.tar.gz
|
|
|
|
90-feedbackd-pmi8998.rules
|
|
|
|
"
|
2020-05-27 00:15:46 +00:00
|
|
|
|
|
|
|
package() {
|
|
|
|
mkdir -p "$pkgdir"
|
2021-03-02 00:59:22 +00:00
|
|
|
install -Dm644 "$srcdir"/90-feedbackd-pmi8998.rules \
|
|
|
|
"$pkgdir"/usr/lib/udev/rules.d/90-feedbackd-pmi8998.rules
|
2020-05-27 00:15:46 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
nonfree_firmware() {
|
|
|
|
pkgdesc="Modem, WiFi and GPU Firmware"
|
2020-06-21 13:07:32 +00:00
|
|
|
depends="pd-mapper pd-mapper-openrc tqftpserv tqftpserv-openrc msm-modem"
|
2020-05-27 00:15:46 +00:00
|
|
|
install="$subpkgname.post-install"
|
|
|
|
mkdir "$subpkgdir"
|
2020-06-21 13:07:32 +00:00
|
|
|
}
|
2021-03-02 00:59:22 +00:00
|
|
|
|
2021-02-18 19:40:58 +00:00
|
|
|
ucm() {
|
|
|
|
provides="alsa-ucm-conf"
|
|
|
|
|
|
|
|
# install audio config files
|
|
|
|
mkdir -p "$subpkgdir"/usr/share/alsa/ucm2
|
|
|
|
cp -r "$srcdir/alsa-ucm-conf-$_ucm_commit"/ucm2 "$subpkgdir"/usr/share/alsa/
|
|
|
|
}
|
|
|
|
|
2021-05-28 15:27:54 +00:00
|
|
|
sha512sums="
|
|
|
|
48fba9c041a2a2dfef9f038dfeeb7f636ed4e3b4d1babe2bd9b6ee350a4a34472b0f20d69b57864aa79fb28b24bb38a88ef1542a6d3211db713b361a4d136745 alsa-ucm-conf-f959b6c46165f23eebcf34ffefef14c6be015a55.tar.gz
|
|
|
|
ea3c7f9664eb9be2ffb6879db044b44cd826747b73c6527d54d79102e58a44e1b32d08d0b1b261329eae43d6a30bc8ef80d89b1d63af1c74ba5dc66ac57911d7 90-feedbackd-pmi8998.rules
|
|
|
|
"
|