package/gstreamer1/gst1-plugins-good: qmlgl needs gstreamer-gl-1.0
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Sat, 28 Nov 2020 15:54:09 +0000 (16:54 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Sun, 29 Nov 2020 21:17:39 +0000 (22:17 +0100)
Build of qmlql fails without gstreamer-gl-1.0 since version 1.17.1 and
https://github.com/GStreamer/gst-plugins-good/commit/2ecba800bfbf177bc56999dc59ecdff00cbc353c

Fixes:
 - http://autobuild.buildroot.org/results/e1537ebac7cd70b6d868a8b7f0205ce3d8593508

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Reviewed-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/gstreamer1/gst1-plugins-good/Config.in

index 4dcf26766a520ad469fd7723177707f94e5ca35e..67df206eea078c233e3a8576df04a302146749e5 100644 (file)
@@ -279,6 +279,7 @@ config BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_QMLGL
        bool "qmlgl (qt5)"
        depends on BR2_PACKAGE_QT5
        depends on BR2_PACKAGE_QT5_JSCORE_AVAILABLE # qt5declarative
+       depends on BR2_PACKAGE_GST1_PLUGINS_BASE_HAS_LIB_OPENGL
        select BR2_PACKAGE_QT5BASE_WIDGETS
        select BR2_PACKAGE_QT5DECLARATIVE
        select BR2_PACKAGE_QT5DECLARATIVE_QUICK
@@ -286,6 +287,9 @@ config BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_QMLGL
        help
          QT5 plugin which includes elements qmlglsrc and qmlglsink
 
+comment "qmlgl (qt5) needs the gst1-plugins-base opengl library"
+       depends on !BR2_PACKAGE_GST1_PLUGINS_BASE_HAS_LIB_OPENGL
+
 config BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_SHOUT2
        bool "shout2"
        select BR2_PACKAGE_LIBSHOUT