diff options
author | Sam James <sam@gentoo.org> | 2023-10-25 07:58:22 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-10-25 07:59:01 +0100 |
commit | 2c3b69bc19168694e1c6618e9bb15b5e33b71543 (patch) | |
tree | 79412c1bb2813b371463f10936a619ebd3589f6b /media-libs | |
parent | mail-client/thunderbird-bin: add 115.4.0 (diff) | |
download | gentoo-2c3b69bc19168694e1c6618e9bb15b5e33b71543.tar.gz gentoo-2c3b69bc19168694e1c6618e9bb15b5e33b71543.tar.bz2 gentoo-2c3b69bc19168694e1c6618e9bb15b5e33b71543.zip |
media-libs/alsa-ucm-conf: add splitpcm config fix
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-libs')
-rw-r--r-- | media-libs/alsa-ucm-conf/alsa-ucm-conf-1.2.10-r1.ebuild | 24 | ||||
-rw-r--r-- | media-libs/alsa-ucm-conf/files/alsa-ucm-conf-1.2.10-fix-splitpcm.patch | 21 |
2 files changed, 45 insertions, 0 deletions
diff --git a/media-libs/alsa-ucm-conf/alsa-ucm-conf-1.2.10-r1.ebuild b/media-libs/alsa-ucm-conf/alsa-ucm-conf-1.2.10-r1.ebuild new file mode 100644 index 000000000000..0cbde8c51eee --- /dev/null +++ b/media-libs/alsa-ucm-conf/alsa-ucm-conf-1.2.10-r1.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="ALSA ucm configuration files" +HOMEPAGE="https://alsa-project.org/wiki/Main_Page" +SRC_URI="https://www.alsa-project.org/files/pub/lib/${P}.tar.bz2" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" + +RDEPEND="!<media-libs/alsa-lib-1.2.1" +DEPEND="${RDEPEND}" + +PATCHES=( + "${FILESDIR}"/${P}-fix-splitpcm.patch +) + +src_install() { + insinto /usr/share/alsa + doins -r ucm{,2} +} diff --git a/media-libs/alsa-ucm-conf/files/alsa-ucm-conf-1.2.10-fix-splitpcm.patch b/media-libs/alsa-ucm-conf/files/alsa-ucm-conf-1.2.10-fix-splitpcm.patch new file mode 100644 index 000000000000..35202a4454b3 --- /dev/null +++ b/media-libs/alsa-ucm-conf/files/alsa-ucm-conf-1.2.10-fix-splitpcm.patch @@ -0,0 +1,21 @@ +https://github.com/alsa-project/alsa-ucm-conf/commit/b68aa52acdd2763fedad5eec0f435fbf43e5ccc6 + +From b68aa52acdd2763fedad5eec0f435fbf43e5ccc6 Mon Sep 17 00:00:00 2001 +From: Jaroslav Kysela <perex@perex.cz> +Date: Mon, 4 Sep 2023 16:39:52 +0200 +Subject: [PATCH] SplitPCM: Device argument may not be set + +Link: https://github.com/alsa-project/alsa-ucm-conf/issues/346 +Fixes: 10967ea ("SplitPCM: Fix Device variable in SplitPCMDevice macro") +Signed-off-by: Jaroslav Kysela <perex@perex.cz> +--- a/ucm2/common/pcm/split.conf ++++ b/ucm2/common/pcm/split.conf +@@ -326,7 +326,7 @@ DefineMacro.SplitPCMDevice { + If.0 { + Condition { + Type String +- Empty "${var:__Device}" ++ Empty "${var:-__Device}" + } + True.Define.__Device "0" + } |