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 1/2] package/gstreamer1/gst1-plugins-bad: decouple drm suppoprt from va, since kvm uses it as well
Date: Wed, 18 Mar 2026 22:29:05 -0400	[thread overview]
Message-ID: <20260319022906.47253-1-a.p.dicarlo@gmail.com> (raw)

support udev if LIBGUDEV package is selected

Signed-off-by: Adam Di Carlo <a.p.dicarlo@gmail.com>
---
 .../gst1-plugins-bad/gst1-plugins-bad.mk        | 17 ++++++++++++-----
 1 file changed, 12 insertions(+), 5 deletions(-)

diff --git a/package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.mk b/package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.mk
index c6fb669e13..c75b84ca3d 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 \
@@ -736,6 +735,13 @@ else
 GST1_PLUGINS_BAD_CONF_OPTS += -Dsrtp=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_UVCH264),y)
 GST1_PLUGINS_BAD_CONF_OPTS += -Duvch264=enabled
 GST1_PLUGINS_BAD_DEPENDENCIES += libgudev libusb
@@ -746,14 +752,15 @@ endif
 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_VA),y)
 GST1_PLUGINS_BAD_CONF_OPTS += -Dva=enabled
 GST1_PLUGINS_BAD_DEPENDENCIES += libva
+else
+GST1_PLUGINS_BAD_CONF_OPTS += -Dva=disabled
+endif
+
 ifeq ($(BR2_PACKAGE_LIBDRM),y)
 GST1_PLUGINS_BAD_CONF_OPTS += -Ddrm=enabled
 GST1_PLUGINS_BAD_DEPENDENCIES += libdrm
-endif
 else
-GST1_PLUGINS_BAD_CONF_OPTS += \
-	-Ddrm=disabled \
-	-Dva=disabled
+GST1_PLUGINS_BAD_CONF_OPTS += -Ddrm=disabled
 endif
 
 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_VOAACENC),y)
-- 
2.47.3

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

             reply	other threads:[~2026-03-19  2:29 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-03-19  2:29 Adam Di Carlo [this message]
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     ` [Buildroot] [PATCH v2 3/3] package/gst1-plugins-bad: presence of libgudev enables udev support Adam Di Carlo

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=20260319022906.47253-1-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