From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ezequiel Garcia Date: Sun, 31 May 2020 10:54:43 -0300 Subject: [Buildroot] [PATCH] package/gstreamer1/gst1-plugins-good: Optionally select GUDEV Message-ID: <20200531135443.12302-1-ezequiel@vanguardiasur.com.ar> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net From: Nicolas Dufresne Using udev for probes (such as Video4Linux2 devices probes) and device monitor greatly improves load time and monitoring performance. It also enables hotplug monitoring for cameras. Signed-off-by: Nicolas Dufresne Signed-off-by: Ezequiel Garcia --- package/gstreamer1/gst1-plugins-good/Config.in | 1 + package/gstreamer1/gst1-plugins-good/gst1-plugins-good.mk | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/package/gstreamer1/gst1-plugins-good/Config.in b/package/gstreamer1/gst1-plugins-good/Config.in index 20aebc473e89..be77f5a82e3d 100644 --- a/package/gstreamer1/gst1-plugins-good/Config.in +++ b/package/gstreamer1/gst1-plugins-good/Config.in @@ -295,6 +295,7 @@ config BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_SHOUT2 config BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_V4L2 bool "v4l2" depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0 # multi planar api + select BR2_PACKAGE_LIBGUDEV if BR2_PACKAGE_HAS_UDEV help elements for Video 4 Linux diff --git a/package/gstreamer1/gst1-plugins-good/gst1-plugins-good.mk b/package/gstreamer1/gst1-plugins-good/gst1-plugins-good.mk index 223af9850897..6878ce6ae85b 100644 --- a/package/gstreamer1/gst1-plugins-good/gst1-plugins-good.mk +++ b/package/gstreamer1/gst1-plugins-good/gst1-plugins-good.mk @@ -40,6 +40,10 @@ else GST1_PLUGINS_GOOD_CONF_OPTS += -Djack=disabled endif +ifeq ($(BR2_PACKAGE_LIBGUDEV),y) +GST1_PLUGINS_GOOD_DEPENDENCIES += libgudev +endif + ifeq ($(BR2_PACKAGE_LIBV4L),y) GST1_PLUGINS_GOOD_CONF_OPTS += -Dv4l2-libv4l2=enabled GST1_PLUGINS_GOOD_DEPENDENCIES += libv4l -- 2.26.0.rc2