* [Buildroot] [PATCH 1/1] package/gstreamer1/gst1-plugins-bad: add option to enable uvch264
@ 2021-10-30 11:22 James Hilliard
2021-12-30 16:36 ` Thomas Petazzoni
0 siblings, 1 reply; 2+ messages in thread
From: James Hilliard @ 2021-10-30 11:22 UTC (permalink / raw)
To: buildroot; +Cc: James Hilliard
Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
---
package/gstreamer1/gst1-plugins-bad/Config.in | 21 +++++++++++++++++++
.../gst1-plugins-bad/gst1-plugins-bad.mk | 8 ++++++-
2 files changed, 28 insertions(+), 1 deletion(-)
diff --git a/package/gstreamer1/gst1-plugins-bad/Config.in b/package/gstreamer1/gst1-plugins-bad/Config.in
index 1204a65681..b5c940553b 100644
--- a/package/gstreamer1/gst1-plugins-bad/Config.in
+++ b/package/gstreamer1/gst1-plugins-bad/Config.in
@@ -595,6 +595,27 @@ config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_SRTP
bool "srtp"
select BR2_PACKAGE_LIBSRTP
+config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_UVCH264
+ bool "uvch264"
+ depends on BR2_PACKAGE_HAS_UDEV # libgudev
+ depends on BR2_TOOLCHAIN_HAS_THREADS # libgudev, libusb
+ depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libusb
+ depends on BR2_USE_MMU # libgudev
+ depends on BR2_USE_WCHAR # libgudev
+ select BR2_PACKAGE_LIBGUDEV
+ select BR2_PACKAGE_LIBUSB
+ help
+ UVC compliant H.264 camera source plugin
+
+comment "uvch264 needs udev /dev management"
+ depends on BR2_USE_MMU
+ depends on !BR2_PACKAGE_HAS_UDEV
+
+comment "uvch264 needs a toolchain w/ threads, wchar, gcc >= 4.9"
+ depends on BR2_USE_MMU
+ depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \
+ !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
+
config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_VOAACENC
bool "voaacenc"
select BR2_PACKAGE_VO_AACENC
diff --git a/package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.mk b/package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.mk
index d3f089bfed..ac00fd59e1 100644
--- a/package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.mk
+++ b/package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.mk
@@ -36,7 +36,6 @@ GST1_PLUGINS_BAD_CONF_OPTS = \
GST1_PLUGINS_BAD_CONF_OPTS += \
-Davtp=disabled \
-Dopensles=disabled \
- -Duvch264=disabled \
-Dmsdk=disabled \
-Dvoamrwbenc=disabled \
-Dbs2b=disabled \
@@ -722,6 +721,13 @@ else
GST1_PLUGINS_BAD_CONF_OPTS += -Dsrtp=disabled
endif
+ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_UVCH264),y)
+GST1_PLUGINS_BAD_CONF_OPTS += -Duvch264=enabled
+GST1_PLUGINS_BAD_DEPENDENCIES += libgudev libusb
+else
+GST1_PLUGINS_BAD_CONF_OPTS += -Duvch264=disabled
+endif
+
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_VOAACENC),y)
GST1_PLUGINS_BAD_CONF_OPTS += -Dvoaacenc=enabled
GST1_PLUGINS_BAD_DEPENDENCIES += vo-aacenc
--
2.25.1
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [Buildroot] [PATCH 1/1] package/gstreamer1/gst1-plugins-bad: add option to enable uvch264
2021-10-30 11:22 [Buildroot] [PATCH 1/1] package/gstreamer1/gst1-plugins-bad: add option to enable uvch264 James Hilliard
@ 2021-12-30 16:36 ` Thomas Petazzoni
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2021-12-30 16:36 UTC (permalink / raw)
To: James Hilliard; +Cc: buildroot
On Sat, 30 Oct 2021 05:22:11 -0600
James Hilliard <james.hilliard1@gmail.com> wrote:
> Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
> ---
> package/gstreamer1/gst1-plugins-bad/Config.in | 21 +++++++++++++++++++
> .../gst1-plugins-bad/gst1-plugins-bad.mk | 8 ++++++-
> 2 files changed, 28 insertions(+), 1 deletion(-)
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-12-30 16:36 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-30 11:22 [Buildroot] [PATCH 1/1] package/gstreamer1/gst1-plugins-bad: add option to enable uvch264 James Hilliard
2021-12-30 16:36 ` Thomas Petazzoni
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.