commit:     7d05c013a8a63299ffd82fa6c1b41a412573f849
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 10 12:09:37 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Jun 10 13:16:57 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d05c013

gstreamer-meson.eclass: detect qt5/qt6 in split -good plugins

Closes: https://bugs.gentoo.org/907483
Signed-off-by: Sam James <sam <AT> gentoo.org>

 eclass/gstreamer-meson.eclass | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/eclass/gstreamer-meson.eclass b/eclass/gstreamer-meson.eclass
index 570254270e6d..96ab97f3767b 100644
--- a/eclass/gstreamer-meson.eclass
+++ b/eclass/gstreamer-meson.eclass
@@ -88,6 +88,16 @@ opencv"
                GST_PLUGINS_EXT_DEPS="${GST_PLUGINS_EXT_DEPS}
 hls"
        fi
+
+       # See bug #907483
+       if grep -q "option('qt5'" "${EMESON_SOURCE}"/meson_options.txt ; then
+               GST_PLUGINS_EXT_DEPS="${GST_PLUGINS_EXT_DEPS}
+qt5"
+       fi
+       if grep -q "option('qt6'" "${EMESON_SOURCE}"/meson_options.txt ; then
+               GST_PLUGINS_EXT_DEPS="${GST_PLUGINS_EXT_DEPS}
+qt6"
+       fi
 }
 
 # @FUNCTION: gstreamer_system_package

Reply via email to