@@ -544,6 +544,14 @@ config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_VOAACENC
bool "voaacenc"
select BR2_PACKAGE_VO_AACENC
+config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_WAYLAND
+ bool "wayland"
+ default y
+ depends on BR2_PACKAGE_WAYLAND
+ select BR2_PACKAGE_WAYLAND_PROTOCOLS
+ help
+ Wayland Video Sink
+
config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_WEBP
bool "webp"
select BR2_PACKAGE_WEBP
@@ -71,6 +71,13 @@ GST1_PLUGINS_BAD_CONF_ENV += \
-I$(STAGING_DIR)/usr/include/interface/vmcs_host/linux"
endif
+ifneq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_WAYLAND),)
+GST1_PLUGINS_BAD_CONF_OPTS += --enable-wayland
+GST1_PLUGINS_BAD_DEPENDENCIES += wayland wayland-protocols
+else
+GST1_PLUGINS_BAD_CONF_OPTS += --disable-wayland
+endif
+
ifeq ($(BR2_PACKAGE_ORC),y)
GST1_PLUGINS_BAD_DEPENDENCIES += orc
GST1_PLUGINS_BAD_CONF_OPTS += --enable-orc
- re-add the legacy (1.12.x) behaviour Signed-off-by: Peter Seiderer <ps.report@gmx.net> --- Note: The BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_WAYLAND help text 'Wayland Video Sink' is still not accurate, the gst1-plugins-bad configure option --disable/enable-wayland has more influence than only disable/enable the waylandsink plugin in gst1-plugins-bad-1.14.0/ext/wayland, see e.g.: $ grep -R USE_WAYLAND build/gst1-plugins-bad-1.14.0 [...] build/gst1-plugins-bad-1.14.0/ext/Makefile.am:if USE_WAYLAND build/gst1-plugins-bad-1.14.0/ext/Makefile.in:@USE_WAYLAND_FALSE@WAYLAND_DIR = build/gst1-plugins-bad-1.14.0/ext/Makefile.in:@USE_WAYLAND_TRUE@WAYLAND_DIR = wayland build/gst1-plugins-bad-1.14.0/ext/vulkan/Makefile.am:if USE_WAYLAND build/gst1-plugins-bad-1.14.0/ext/vulkan/Makefile.in:@USE_WAYLAND_TRUE@am__append_3 = wayland build/gst1-plugins-bad-1.14.0/ext/vulkan/Makefile.in:@USE_WAYLAND_TRUE@am__append_4 = wayland/libgstvulkan-wayland.la build/gst1-plugins-bad-1.14.0/gst-libs/gst/Makefile.am:if USE_WAYLAND build/gst1-plugins-bad-1.14.0/gst-libs/gst/Makefile.in:@USE_WAYLAND_TRUE@WAYLAND_DIR = wayland [...] --- package/gstreamer1/gst1-plugins-bad/Config.in | 8 ++++++++ package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.mk | 7 +++++++ 2 files changed, 15 insertions(+)