package/webkitgtk: select missing multimedia deps
authorAdrian Perez de Castro <aperez@igalia.com>
Wed, 19 May 2021 21:38:27 +0000 (00:38 +0300)
committerYann E. MORIN <yann.morin.1998@free.fr>
Fri, 21 May 2021 16:49:17 +0000 (18:49 +0200)
Select a few missing multimedia related dependencies:

- BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_AUTODETECT is needed for
  "autoaudiosink"; not having this element can cause a crash as
  it is used unconditionally.
- BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_MATROSKA and
  BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_VPX are needed for
  WebM video playback.

Note that BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_VPX depends on THREADS
(because of libvpx), but webktigtk already depend on libgtk3, which
depends on THREADS. The probability that GTK3 drops the dependency on
THREADS is sufficiently close to zero that we need not account for that.
So we do not propagate the THREADS dependency for this option.

Signed-off-by: Adrian Perez de Castro <aperez@igalia.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
package/webkitgtk/Config.in

index 4ea931fde186f50d244ebd40c2899e65414ee55b..2ba8d4766040f34a0e602ca9eeacb8c7178ad806 100644 (file)
@@ -98,8 +98,11 @@ config BR2_PACKAGE_WEBKITGTK_MULTIMEDIA
        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_AUTODETECT
        select BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_ISOMP4
+       select BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_MATROSKA
        select BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_RTSP
+       select BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_VPX
        select BR2_PACKAGE_GST1_LIBAV
        help
          This option pulls in all of the required dependencies