Skip to contentSkip to conversation

package/gst1-plugins-bad: wayland plugin needs libdrm

RFC Superseded Peter Seiderer 1 participant 1 message Nov 25, 2019

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

RFC 1/1 package/gst1-plugins-bad: wayland plugin needs libdrm

Fixes:

Run-time dependency wayland-client found: YES 1.17.0
Run-time dependency libdrm found: NO (tried pkgconfig) gst-libs/gst/wayland/meson.build:3:0: ERROR: Dependency "libdrm" not found, tried pkgconfig

[1] http://autobuild.buildroot.net/results/e06fbed25fc8369c2ff1f3d89b8800766e365ea3

---
Notes:
- sent as RFC, not sure about the (silent) 'depends on BR2_PACKAGE_LIBDRM' but I think a 'select BR2_PACKAGE_LIBDRM' is wrong as not all wayland implementation are based on libdrm

---
 package/gstreamer1/gst1-plugins-bad/Config.in           | 1 +
 package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.mk | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)
package/gstreamer1/gst1-plugins-bad/Config.in +1 -0
index e79f266ad0..ead1180476 100644
@@ -554,6 +554,7 @@ config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_VOAACENC
 config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_WAYLAND
 	bool "wayland"
 	default y
+	depends on BR2_PACKAGE_LIBDRM
 	depends on BR2_PACKAGE_WAYLAND
 	select BR2_PACKAGE_WAYLAND_PROTOCOLS
 	help
package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.mk +1 -1
index 856db88e49..4be16fd3db 100644
@@ -74,7 +74,7 @@ endif
 
 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_WAYLAND),y)
 GST1_PLUGINS_BAD_CONF_OPTS += -Dwayland=enabled
-GST1_PLUGINS_BAD_DEPENDENCIES += wayland wayland-protocols
+GST1_PLUGINS_BAD_DEPENDENCIES += libdrm wayland wayland-protocols
 else
 GST1_PLUGINS_BAD_CONF_OPTS += -Dwayland=disabled
 endif
Signature · 1 line
2.24.0