pmaports/device/community/alsa-ucm-conf-google-kukui/APKBUILD
WeirdTreeThing 1f86677848
alsa-ucm-conf-google-kukui: improvements for mt8183 ucm (MR 4733)
Krane doesn't have a headphone jack, which caused audio server issues
for me. Add a check to only enable the headphone and headset mic device
on non-Krane boards. Also improve the formatting and remove
ChromeOS-specifc options.

[ci:skip-build]: already built successfully in CI
2024-01-18 19:21:25 +01:00

41 lines
1.8 KiB
Text

# Maintainer: WeirdTreeThing <bradyn127@protonmail.com>
# Co-Maintainer: Jenneron <jenneron@protonmail.com>
pkgname=alsa-ucm-conf-google-kukui
pkgver=2
pkgrel=0
pkgdesc="ALSA Use Case Manager configuration for Google Kukui Chromebooks"
url="https://alsa-project.org"
arch="aarch64"
license="BSD-3-Clause"
source="
mt8183_da7219_HiFi.conf
mt8183_da7219_rt1015p.conf
mt8183_mt6358_HiFi.conf
mt8183_mt6358_ts3a227_max98357.conf
"
options="!check" # no tests
depends="alsa-ucm-conf"
replaces="alsa-ucm-conf"
package() {
install -Dm644 mt8183_da7219_HiFi.conf \
"$pkgdir"/usr/share/alsa/ucm2/conf.d/mt8183_da7219_r/HiFi.conf
install -Dm644 mt8183_da7219_rt1015p.conf \
"$pkgdir"/usr/share/alsa/ucm2/conf.d/mt8183_da7219_r/mt8183_da7219_rt1015p.conf
install -Dm644 mt8183_mt6358_HiFi.conf \
"$pkgdir"/usr/share/alsa/ucm2/conf.d/mt8183_mt6358_t/HiFi.conf
install -Dm644 mt8183_mt6358_ts3a227_max98357.conf \
"$pkgdir"/usr/share/alsa/ucm2/conf.d/mt8183_mt6358_t/mt8183_mt6358_ts3a227_max98357.conf
ln -s /usr/share/alsa/ucm2/conf.d/mt8183_da7219_r \
"$pkgdir"/usr/share/alsa/ucm2/mt8183_da7219_r
ln -s /usr/share/alsa/ucm2/conf.d/mt8183_mt6358_t \
"$pkgdir"/usr/share/alsa/ucm2/mt8183_mt6358_t
}
sha512sums="
9755c2eaf4bc28a9f3734b6778550ebd77bbee8f6aa353642bc5a35d68e009a17b05d9b09f1c62fe592eb16a2d342e3d2abcda98f2c53142bd4905e4a883a88b mt8183_da7219_HiFi.conf
13ffff0471c29d4e624ba7089d8df811f6578bebc4a9da2e8e82e247430fd41dbc95204fdf1891cfb76f1d90303fcdb8501ecf47b8ca40c7429066bf2ff1379b mt8183_da7219_rt1015p.conf
3656cb0cc76994aab39bd0d0cfe283339bce0689448612f74a0d09a30b19516950132456945096a13bd5700d0e7f868c413e268ced810046ec70252ca8b07603 mt8183_mt6358_HiFi.conf
171e9e3376e5bd56e133a5b19309f60f6326f052922064e6f95c53b4345ea12cc205adde7305a7bd840722a29b7fb393c71d2b39e60952b0979ecc2e5ec03efa mt8183_mt6358_ts3a227_max98357.conf
"