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"
|
2022-03-17 07:56:22 +00:00
|
|
|
pkgver=6
|
2021-07-24 02:58:23 +00:00
|
|
|
pkgrel=0
|
2020-05-27 00:15:46 +00:00
|
|
|
url="https://postmarketos.org"
|
|
|
|
license="BSD-3-Clause"
|
|
|
|
arch="aarch64"
|
|
|
|
options="!check !archcheck !tracedeps"
|
2021-07-24 02:58:23 +00:00
|
|
|
depends="
|
|
|
|
mesa-dri-gallium
|
|
|
|
swclock-offset
|
|
|
|
msm-modem-uim-selection
|
|
|
|
"
|
2021-02-18 19:40:58 +00:00
|
|
|
subpackages="
|
|
|
|
$pkgname-nonfree-firmware:nonfree_firmware
|
|
|
|
$pkgname-ucm
|
|
|
|
"
|
|
|
|
|
2022-03-17 07:56:22 +00:00
|
|
|
_ucm_commit="621c71fd5f5742c60d38766ebb2d1bd3b863a2a4"
|
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
|
2021-07-24 02:58:23 +00:00
|
|
|
modemmanager.conf
|
2021-02-18 19:40:58 +00:00
|
|
|
"
|
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"
|
2022-03-17 07:56:22 +00:00
|
|
|
depends="pd-mapper pd-mapper-openrc tqftpserv tqftpserv-openrc q6voiced q6voiced-openrc msm-modem"
|
|
|
|
install="$subpkgname.post-install $subpkgname.post-upgrade"
|
2020-05-27 00:15:46 +00:00
|
|
|
mkdir "$subpkgdir"
|
2022-03-17 07:56:22 +00:00
|
|
|
|
|
|
|
install -Dm644 "$srcdir"/modemmanager.conf \
|
|
|
|
"$subpkgdir"/etc/conf.d/modemmanager
|
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="
|
2022-03-17 07:56:22 +00:00
|
|
|
a1a6c6f5a6156e76e5a15b0078e3baedf07fa02b354cb025b1124ed688434a620d80aa8c0069b2d7ded1a29e2bb9318ab6e8f8a85af33a9dd2478a7b7ec6b494 alsa-ucm-conf-621c71fd5f5742c60d38766ebb2d1bd3b863a2a4.tar.gz
|
2021-07-24 02:58:23 +00:00
|
|
|
4f2c22a3a3fc7d380e200ad977578107d81f0e7ade7918e03bdb15b60a564e8db5f47e13cce22f636d38fd3722696bb46076b8872dae0ca2d8a3838522a1f025 90-feedbackd-pmi8998.rules
|
|
|
|
e33f41360ccc4900bb76a26cc7b46bde1fb90facdf45c4fbcebc80499386939948401cacd6df9f779eafab10f4ee77ee1fef3e7bd06f483f8c2a4a644c84f327 modemmanager.conf
|
2021-05-28 15:27:54 +00:00
|
|
|
"
|