public inbox for buildroot@busybox.net
 help / color / mirror / Atom feed
From: Adam Di Carlo <a.p.dicarlo@gmail.com>
To: buildroot@buildroot.org
Cc: Adam Di Carlo <a.p.dicarlo@gmail.com>
Subject: [Buildroot] [PATCH v2 3/3] package/gst1-plugins-bad: presence of libgudev enables udev support
Date: Mon, 30 Mar 2026 10:45:52 -0400	[thread overview]
Message-ID: <20260330144553.2525883-4-a.p.dicarlo@gmail.com> (raw)
In-Reply-To: <20260330144553.2525883-1-a.p.dicarlo@gmail.com>

If the buildroot packages libgudev (BR2_PACKAGE_LIBGUDEV) is enabled,
enable udev support in various plugins.  Also bring libgudev into the
build dependencies, so they are there when required.

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

diff --git a/package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.mk b/package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.mk
index e488fa3c2d..bd2061a7d5 100644
--- a/package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.mk
+++ b/package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.mk
@@ -77,7 +77,6 @@ GST1_PLUGINS_BAD_CONF_OPTS += \
 	-Dsvthevcenc=disabled \
 	-Dtranscode=disabled \
 	-Dunixfd=disabled \
-	-Dudev=disabled \
 	-Duvcgadget=disabled \
 	-Dvulkan=disabled \
 	-Dx11=disabled \
@@ -111,6 +110,13 @@ else
 GST1_PLUGINS_BAD_CONF_OPTS += -Dorc=disabled
 endif
 
+ifeq ($(BR2_PACKAGE_LIBGUDEV),y)
+GST1_PLUGINS_BAD_CONF_OPTS += -Dudev=enabled
+GST1_PLUGINS_BAD_DEPENDENCIES += libgudev
+else
+GST1_PLUGINS_BAD_CONF_OPTS += -Dudev=disabled
+endif
+
 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_BLUEZ),y)
 GST1_PLUGINS_BAD_DEPENDENCIES += bluez5_utils
 GST1_PLUGINS_BAD_CONF_OPTS += -Dbluez=enabled
-- 
2.47.3

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

      parent reply	other threads:[~2026-03-30 14:46 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-03-19  2:29 [Buildroot] [PATCH 1/2] package/gstreamer1/gst1-plugins-bad: decouple drm suppoprt from va, since kvm uses it as well Adam Di Carlo
2026-03-19  2:29 ` [Buildroot] [PATCH 2/2] package/gstreamer1/gst1-plugins-bad: enable drm if buildroot package is enabled, adding it as a proper dep Adam Di Carlo
2026-03-29 15:47 ` [Buildroot] [PATCH v2 0/3] gstreamer1: enable drm and udev independently Adam Di Carlo
2026-03-29 15:47   ` [Buildroot] [PATCH v2 1/3] package/gst1-plugins-base: if libdrm is enabled, make use of it Adam Di Carlo
2026-03-29 16:20     ` Fiona Klute via buildroot
2026-03-29 19:19       ` Adam Di Carlo
2026-03-29 15:47   ` [Buildroot] [PATCH v2 2/3] package/gst1-plugins-bad: decouple va from drm and separately select them Adam Di Carlo
2026-03-29 15:47   ` [Buildroot] [PATCH v2 3/3] package/gst1-plugins-bad: presence of libgudev enables udev support Adam Di Carlo
2026-03-30 14:45   ` [Buildroot] [PATCH v2 0/3] gstreamer1: enable drm and udev independently Adam Di Carlo
2026-03-30 14:45     ` [Buildroot] [PATCH v2 1/3] package/gst1-plugins-base: if libdrm is enabled, make use of it Adam Di Carlo
2026-03-30 14:45     ` [Buildroot] [PATCH v2 2/3] package/gst1-plugins-bad: decouple va from drm and separately select them Adam Di Carlo
2026-03-30 14:45     ` Adam Di Carlo [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260330144553.2525883-4-a.p.dicarlo@gmail.com \
    --to=a.p.dicarlo@gmail.com \
    --cc=buildroot@buildroot.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox