webkitgtk24: add multimedia option

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>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
Gustavo Zacarias 2016-03-14 17:52:13 -03:00 committed by Thomas Petazzoni
parent c317904a6c
commit 1ace66408d
2 changed files with 26 additions and 2 deletions

View File

@ -48,3 +48,27 @@ 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
select BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_ALSA
select BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_APP
select BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_AUDIOCONVERT
select BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_AUDIORESAMPLE
select BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_PLAYBACK
select BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_VIDEOCONVERT
select BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_VIDEOSCALE
select BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_VOLUME
select BR2_PACKAGE_GST1_PLUGINS_GOOD
select BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_ISOMP4
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

View File

@ -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-base
WEBKITGTK24_DEPENDENCIES += gstreamer1 gst1-libav gst1-plugins-base gst1-plugins-good
else
WEBKITGTK24_CONF_OPTS += \
--disable-video \