Skip to contentSkip to conversation

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

PATCH Superseded Peter Seiderer 1 participant 1 message Dec 17, 2019

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH v2 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

---
Changes v1 -> v2:
- changed from depends to select libdrm as the alternative patch which removes the wayland plugin dependency did not please upstream (see [2] and [3]) with the argument all wayland implementation do/will depend on libdrm

---
 package/gstreamer1/gst1-plugins-bad/Config.in           | 2 ++
 package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.mk | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)
package/gstreamer1/gst1-plugins-bad/Config.in +2 -0
index 08952f70cb..393950ef2f 100644
@@ -555,6 +555,8 @@ config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_WAYLAND
 	bool "wayland"
 	default y
 	depends on BR2_PACKAGE_WAYLAND
+	depends on BR2_TOOLCHAIN_HAS_THREADS #  libdrm -> libpthread-stubs
+	select BR2_PACKAGE_LIBDRM
 	select BR2_PACKAGE_WAYLAND_PROTOCOLS
 	help
 	  Wayland Video Sink
package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.mk +1 -1
index 1d4ba62bd2..259f00cdbb 100644
@@ -66,7 +66,7 @@ GST1_PLUGINS_BAD_DEPENDENCIES = gst1-plugins-base gstreamer1
 
 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