2021-03-27 11:58:43 +00:00
|
|
|
# Maintainer: Yassine Oudjana (Tooniis) <y.oudjana@protonmail.com>
|
|
|
|
pkgname=soc-qcom-msm8996
|
|
|
|
pkgdesc="Common package for Qualcomm MSM8996 devices"
|
2021-05-22 12:53:39 +00:00
|
|
|
pkgver=1
|
2022-10-10 19:33:44 +00:00
|
|
|
pkgrel=3
|
2021-03-27 11:58:43 +00:00
|
|
|
url="https://postmarketos.org"
|
|
|
|
license="BSD-3-Clause"
|
|
|
|
arch="aarch64"
|
|
|
|
options="!check !archcheck !tracedeps"
|
|
|
|
subpackages="
|
|
|
|
$pkgname-nonfree-firmware:nonfree_firmware
|
|
|
|
$pkgname-ucm
|
|
|
|
"
|
|
|
|
|
2022-07-16 09:13:31 +00:00
|
|
|
_ucm_commit="9f2fd084eccbb01c5bffa6dbc50dcd2b116371d8"
|
2021-03-27 11:58:43 +00:00
|
|
|
source="
|
|
|
|
alsa-ucm-conf-$_ucm_commit.tar.gz::https://gitlab.com/msm8996-mainline/alsa-ucm-conf/-/archive/$_ucm_commit/alsa-ucm-conf-$_ucm_commit.tar.gz
|
2021-07-08 16:50:02 +00:00
|
|
|
90-feedbackd-spmi-haptics.rules
|
2021-03-27 11:58:43 +00:00
|
|
|
"
|
|
|
|
|
|
|
|
package() {
|
|
|
|
mkdir -p "$pkgdir"
|
2021-07-08 16:50:02 +00:00
|
|
|
install -Dm644 "$srcdir"/90-feedbackd-spmi-haptics.rules \
|
|
|
|
"$pkgdir"/usr/lib/udev/rules.d/90-feedbackd-spmi-haptics.rules
|
2021-03-27 11:58:43 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
nonfree_firmware() {
|
2021-05-22 12:53:39 +00:00
|
|
|
pkgdesc="Non-free firmware for GPU and modem"
|
|
|
|
depends="linux-firmware-qcom msm-modem"
|
2021-03-27 11:58:43 +00:00
|
|
|
mkdir "$subpkgdir"
|
|
|
|
}
|
|
|
|
|
|
|
|
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-07-08 16:50:02 +00:00
|
|
|
sha512sums="
|
2022-07-16 09:13:31 +00:00
|
|
|
11183d9cc3b3bd01aaed64dccf166521c028b24bb2f9cb7deeba9488fb7306cef64ecfb414bd1dc157d731dcddd79a23a59eb016f5c5273d1e9df2f0391122a6 alsa-ucm-conf-9f2fd084eccbb01c5bffa6dbc50dcd2b116371d8.tar.gz
|
2021-07-08 16:50:02 +00:00
|
|
|
4f2c22a3a3fc7d380e200ad977578107d81f0e7ade7918e03bdb15b60a564e8db5f47e13cce22f636d38fd3722696bb46076b8872dae0ca2d8a3838522a1f025 90-feedbackd-spmi-haptics.rules
|
|
|
|
"
|