commit: b46327024c6174706a8a4860da3df5fcfcd4346a
Author: Niklāvs Koļesņikovs <89q1r14hd <AT> relay <DOT> firefox <DOT> com>
AuthorDate: Sat Jun 5 18:54:34 2021 +0000
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Sat Jun 5 20:09:21 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b4632702
media-libs/alsa-ucm-conf: adds a small upstream patch used by Fedora
Not entirely sure what this does but it's very small, already
upstreamed and cherry picked by Fedora's maintainer who also maintains
ALSA, so it's probably a good idea to have.
Signed-off-by: Niklāvs Koļesņikovs <89q1r14hd <AT> relay.firefox.com>
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
...nf-1.2.5.ebuild => alsa-ucm-conf-1.2.5-r1.ebuild} | 2 ++
...tel-the-lookups-are-supported-from-syntax-4.patch | 20 ++++++++++++++++++++
2 files changed, 22 insertions(+)
diff --git a/media-libs/alsa-ucm-conf/alsa-ucm-conf-1.2.5.ebuild
b/media-libs/alsa-ucm-conf/alsa-ucm-conf-1.2.5-r1.ebuild
similarity index 83%
rename from media-libs/alsa-ucm-conf/alsa-ucm-conf-1.2.5.ebuild
rename to media-libs/alsa-ucm-conf/alsa-ucm-conf-1.2.5-r1.ebuild
index 167ded14299..444cc259d28 100644
--- a/media-libs/alsa-ucm-conf/alsa-ucm-conf-1.2.5.ebuild
+++ b/media-libs/alsa-ucm-conf/alsa-ucm-conf-1.2.5-r1.ebuild
@@ -17,6 +17,8 @@ DEPEND="${RDEPEND}"
MY_P="${PN}-1.2.4.81.g4884e"
S="${WORKDIR}/${MY_P}"
+PATCHES=(
"${FILESDIR}/${PN}-1.2.5-hda-Intel-the-lookups-are-supported-from-syntax-4.patch"
) # bug #793410
+
src_install() {
insinto /usr/share/alsa
doins -r ucm{,2}
diff --git
a/media-libs/alsa-ucm-conf/files/alsa-ucm-conf-1.2.5-hda-Intel-the-lookups-are-supported-from-syntax-4.patch
b/media-libs/alsa-ucm-conf/files/alsa-ucm-conf-1.2.5-hda-Intel-the-lookups-are-supported-from-syntax-4.patch
new file mode 100644
index 00000000000..6564be8977c
--- /dev/null
+++
b/media-libs/alsa-ucm-conf/files/alsa-ucm-conf-1.2.5-hda-Intel-the-lookups-are-supported-from-syntax-4.patch
@@ -0,0 +1,20 @@
+From 3f34021beffba4e39f064a14c5faceeaa224b766 Mon Sep 17 00:00:00 2001
+From: Jaroslav Kysela <[email protected]>
+Date: Tue, 1 Jun 2021 21:08:53 +0200
+Subject: [PATCH] HDA-Intel: the lookups are supported from syntax 4
+
+Signed-off-by: Jaroslav Kysela <[email protected]>
+---
+ ucm2/HDA-Intel/HDA-Intel.conf | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/ucm2/HDA-Intel/HDA-Intel.conf b/ucm2/HDA-Intel/HDA-Intel.conf
+index 5794e72..8a8e0e7 100644
+--- a/ucm2/HDA-Intel/HDA-Intel.conf
++++ b/ucm2/HDA-Intel/HDA-Intel.conf
+@@ -1,4 +1,4 @@
+-Syntax 3
++Syntax 4
+
+ Define.Use "" # a non-empty string to use UCM configuration for HDA devices
+