From 2c3b69bc19168694e1c6618e9bb15b5e33b71543 Mon Sep 17 00:00:00 2001 From: Sam James Date: Wed, 25 Oct 2023 07:58:22 +0100 Subject: media-libs/alsa-ucm-conf: add splitpcm config fix Signed-off-by: Sam James --- .../alsa-ucm-conf/alsa-ucm-conf-1.2.10-r1.ebuild | 24 ++++++++++++++++++++++ .../files/alsa-ucm-conf-1.2.10-fix-splitpcm.patch | 21 +++++++++++++++++++ 2 files changed, 45 insertions(+) create mode 100644 media-libs/alsa-ucm-conf/alsa-ucm-conf-1.2.10-r1.ebuild create mode 100644 media-libs/alsa-ucm-conf/files/alsa-ucm-conf-1.2.10-fix-splitpcm.patch (limited to 'media-libs/alsa-ucm-conf') 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="! +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 +--- 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" + } -- cgit v1.2.3-65-gdbad