diff mbox series

[v2,1/3] package/gst1-plugins-base: if libdrm is enabled, make use of it

Message ID 20260330144553.2525883-2-a.p.dicarlo@gmail.com
State Handled Elsewhere
Headers show
Series [v2,1/3] package/gst1-plugins-base: if libdrm is enabled, make use of it | expand

Commit Message

Adam Di Carlo March 30, 2026, 2:45 p.m. UTC
This formalizes the relation between the configuration option, now
automatically aka randomly set, depending on the state of
libdrm (BR2_PACKAGE_LIBDRM).  Since that dependency was not
previously noted, configure would sometimes choose one way or another,
but usually without.

Signed-off-by: Adam Di Carlo <a.p.dicarlo@gmail.com>
---
 package/gstreamer1/gst1-plugins-base/gst1-plugins-base.mk | 7 +++++++
 1 file changed, 7 insertions(+)
diff mbox series

Patch

diff --git a/package/gstreamer1/gst1-plugins-base/gst1-plugins-base.mk b/package/gstreamer1/gst1-plugins-base/gst1-plugins-base.mk
index adfb407386..467e15414b 100644
--- a/package/gstreamer1/gst1-plugins-base/gst1-plugins-base.mk
+++ b/package/gstreamer1/gst1-plugins-base/gst1-plugins-base.mk
@@ -47,6 +47,13 @@  else
 GST1_PLUGINS_BASE_CONF_OPTS += -Dintrospection=disabled
 endif
 
+ifeq ($(BR2_PACKAGE_LIBDRM),y)
+GST1_PLUGINS_BASE_CONF_OPTS += -Ddrm=enabled
+GST1_PLUGINS_BASE_DEPENDENCIES += libdrm
+else
+GST1_PLUGINS_BASE_CONF_OPTS += -Ddrm=disabled
+endif
+
 ifeq ($(BR2_PACKAGE_ORC),y)
 GST1_PLUGINS_BASE_DEPENDENCIES += orc
 GST1_PLUGINS_BASE_CONF_OPTS += -Dorc=enabled