2023-03-28 16:47:25 +00:00
|
|
|
# Maintainer: Jianhua Lu <lujianhua000@gmail.com>
|
2023-11-08 15:55:04 +00:00
|
|
|
pkgname=alsa-ucm-conf-qcom-sm8250
|
2023-03-28 16:47:25 +00:00
|
|
|
pkgver=1.0
|
2023-11-08 15:55:04 +00:00
|
|
|
pkgrel=1
|
2023-03-28 16:47:25 +00:00
|
|
|
pkgdesc="ALSA Use Case Manager configuration for phones and tablets based on Qualcomm's SM8250 SoC"
|
|
|
|
subpackages="
|
2023-11-08 15:55:04 +00:00
|
|
|
alsa-ucm-conf-xiaomi-elish:xiaomi_elish
|
2023-03-28 16:47:25 +00:00
|
|
|
"
|
|
|
|
url="https://alsa-project.org"
|
|
|
|
arch="aarch64"
|
|
|
|
license="BSD-3-Clause"
|
|
|
|
source="
|
|
|
|
alsa-ucm-conf/elish.conf
|
|
|
|
alsa-ucm-conf/elish_HiFi.conf
|
|
|
|
"
|
|
|
|
options="!check" # no tests
|
2023-11-08 15:55:04 +00:00
|
|
|
|
2023-03-28 16:47:25 +00:00
|
|
|
package() {
|
|
|
|
# parent package is empty
|
|
|
|
mkdir -p "$pkgdir"
|
|
|
|
}
|
|
|
|
|
|
|
|
xiaomi_elish() {
|
|
|
|
pkgdesc="ALSA Use Case Manager configuration for Xiaomi Mi Pad 5 Pro"
|
|
|
|
depends="alsa-ucm-conf"
|
|
|
|
replaces="alsa-ucm-conf"
|
|
|
|
|
|
|
|
mkdir -p "$subpkgdir/usr/share/alsa/ucm2/conf.d/sm8250"
|
|
|
|
|
|
|
|
install -Dm644 "$srcdir/elish.conf" \
|
|
|
|
"$subpkgdir/usr/share/alsa/ucm2/Xiaomi/elish/elish.conf"
|
|
|
|
|
|
|
|
install -Dm644 "$srcdir/elish_HiFi.conf" \
|
|
|
|
"$subpkgdir/usr/share/alsa/ucm2/Xiaomi/elish/HiFi.conf"
|
|
|
|
|
|
|
|
ln -s ../../Xiaomi/elish/elish.conf \
|
|
|
|
"$subpkgdir/usr/share/alsa/ucm2/conf.d/sm8250/Xiaomi Mi Pad 5 Pro.conf"
|
|
|
|
}
|
|
|
|
|
|
|
|
sha512sums="
|
|
|
|
7b5def03dc5da28c7449719f0619f9d9ddbd988235b8591304ae4fea0989189d65ca1bc0d43664115f595137ba7896359b1b5f48fd6e350cac5d41ef9b1df869 elish.conf
|
|
|
|
ed9a509f70715fd6c6614ee5fddbdb0ed2aa69f4a2983af9dbec26bdeb18fe93e3d1a65e03c618550c61da1416c79eb9440fb1bcd4961f85059b27904c4395cc elish_HiFi.conf
|
|
|
|
"
|