This commit is contained in:
Gerben Jan Dijkman 2024-05-24 16:02:09 +02:00
parent 6861a9a5f0
commit 513365424c
3 changed files with 47 additions and 0 deletions

View File

@ -0,0 +1 @@
DIST alsa-ucm-pinephone-0.5.8.tar.gz 3880 BLAKE2B 6fd00ca7cc51450460126a193b66e1ba4756b0aaced5409f0e99b11bb26a3d4427851e34235297b471c037eab6e326663eda16d53866547ea32854acca84922b SHA512 3194018aa2932da58e5001692977f95bcbbe13f86017c493abf2630d0e715cc7a26697f3d75ef6d1ca83ce3b11a8a49719a6aff54d91108a2dffda1b135693c8

View File

@ -0,0 +1,38 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
COMMIT="355d788a6b53bb6b723779c5f791b735f589479d"
DESCRIPTION="ALSA ucm configuration files for the PinePhone (Pro)"
HOMEPAGE="https://gitlab.manjaro.org/manjaro-arm/packages/community/pinephone/alsa-ucm-pinephone"
SRC_URI="https://gitlab.manjaro.org/manjaro-arm/packages/community/pinephone/alsa-ucm-pinephone/-/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/alsa-ucm-pinephone-${COMMIT}"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~arm64"
RDEPEND="
>=media-libs/alsa-topology-conf-1.2.5
>=media-libs/alsa-lib-1.2.6
>=media-plugins/alsa-plugins-1.2.6
>=media-libs/alsa-ucm-conf-1.2.6
>=media-video/pipewire-0.3.42
>=media-sound/bluez-alsa-3.1.0
"
DEPEND="${RDEPEND}"
src_install() {
# PinePhone Pro Configs
insinto /usr/share/alsa/ucm2/PinePhonePro/
insopts -m644
newins "${S}"/PinePhonePro-HiFi.conf HiFi.conf
newins "${S}"/PinePhonePro-VoiceCall.conf VoiceCall.conf
doins "${S}"/PinePhonePro.conf
# Create Symlinks
dosym ../../PinePhonePro/PinePhonePro.conf /usr/share/alsa/ucm2/conf.d/simple-card/PinePhonePro.conf
}

View File

@ -0,0 +1,8 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>gjdijkman@gjdwebserver.nl</email>
<name>Gerben Jan Dijkman</name>
</maintainer>
</pkgmetadata>