summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-06-10 13:09:37 +0100
committerSam James <sam@gentoo.org>2023-06-10 14:16:57 +0100
commit7d05c013a8a63299ffd82fa6c1b41a412573f849 (patch)
treea560ff64a0d8cca0142d2665f1998525c64dfb74 /eclass/gstreamer-meson.eclass
parentprofiles: last-rite media-plugins/gst-plugins-va (diff)
downloadgentoo-7d05c013a8a63299ffd82fa6c1b41a412573f849.tar.gz
gentoo-7d05c013a8a63299ffd82fa6c1b41a412573f849.tar.bz2
gentoo-7d05c013a8a63299ffd82fa6c1b41a412573f849.zip
gstreamer-meson.eclass: detect qt5/qt6 in split -good plugins
Closes: https://bugs.gentoo.org/907483 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'eclass/gstreamer-meson.eclass')
-rw-r--r--eclass/gstreamer-meson.eclass10
1 files changed, 10 insertions, 0 deletions
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