@@ -48,3 +48,20 @@ config BR2_PACKAGE_WEBKITGTK24
WebKit is an open source, standards compliant web browser engine.
http://www.webkitgtk.org/
+
+if BR2_PACKAGE_WEBKITGTK24
+
+config BR2_PACKAGE_WEBKITGTK24_MULTIMEDIA
+ bool "multimedia support"
+ select BR2_PACKAGE_GSTREAMER1
+ select BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_APP
+ select BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_VIDEOCONVERT
+ select BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_ALSA
+ select BR2_PACKAGE_GST1_PLUGINS_GOOD
+ select BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_RTSP
+ select BR2_PACKAGE_GST1_LIBAV
+ help
+ This option pulls in all of the required dependencies
+ to enable basic multimedia (video/audio) support.
+
+endif
@@ -42,11 +42,11 @@ WEBKITGTK24_CONF_OPTS = \
--disable-gtk-doc-html \
--disable-wayland-target
-ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE),y)
+ifeq ($(BR2_PACKAGE_WEBKITGTK24_MULTIMEDIA),y)
WEBKITGTK24_CONF_OPTS += \
--enable-video \
--enable-web-audio
-WEBKITGTK24_DEPENDENCIES += gst1-plugins-good
+WEBKITGTK24_DEPENDENCIES += gstreamer1 gst1-libav gst1-plugins-good
else
WEBKITGTK24_CONF_OPTS += \
--disable-video \
Add a BR2_PACKAGE_WEBKITGTK24_MULTIMEDIA option that will select/pull in the basic required components in order for a few multimedia websites (HTML5 video) to work. Tested with videojs.com & youtube.com Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> --- package/webkitgtk24/Config.in | 17 +++++++++++++++++ package/webkitgtk24/webkitgtk24.mk | 4 ++-- 2 files changed, 19 insertions(+), 2 deletions(-)