[Buildroot] [PATCH 1/1] package/wpewebkit: add option to enable media-stream
Arnout Vandecappelle
arnout at mind.be
Wed Oct 6 19:12:37 UTC 2021
On 24/09/2021 12:53, James Hilliard wrote:
> This has a compile time dependency on gst1-plugins-bad due to
> the codecparsers dependency.
>
> Signed-off-by: James Hilliard <james.hilliard1 at gmail.com>
Applied to master, thanks.
As James mentioned, the current situation already is that wpewebkit is
compiled without mediastream support. So although this is not a perfect
solution, it's at least a step forward.
Regards,
Arnout
> ---
> package/wpewebkit/Config.in | 6 ++++++
> package/wpewebkit/wpewebkit.mk | 7 +++++++
> 2 files changed, 13 insertions(+)
>
> diff --git a/package/wpewebkit/Config.in b/package/wpewebkit/Config.in
> index 04b2bf3beb..df1c900d9f 100644
> --- a/package/wpewebkit/Config.in
> +++ b/package/wpewebkit/Config.in
> @@ -105,6 +105,12 @@ config BR2_PACKAGE_WPEWEBKIT_MULTIMEDIA
> This option pulls in all of the required dependencies
> to enable multimedia (video/audio) support.
>
> +config BR2_PACKAGE_WPEWEBKIT_MEDIA_STREAM
> + bool "media-stream support"
> + depends on BR2_PACKAGE_WPEWEBKIT_MULTIMEDIA
> + help
> + This option enables media-stream support.
> +
> if BR2_PACKAGE_WPEWEBKIT_MULTIMEDIA
>
> config BR2_PACKAGE_WPEWEBKIT_USE_GSTREAMER_GL
> diff --git a/package/wpewebkit/wpewebkit.mk b/package/wpewebkit/wpewebkit.mk
> index 5c5e6625f8..9ad569a472 100644
> --- a/package/wpewebkit/wpewebkit.mk
> +++ b/package/wpewebkit/wpewebkit.mk
> @@ -46,6 +46,13 @@ WPEWEBKIT_CONF_OPTS += \
> -DENABLE_WEB_AUDIO=OFF
> endif
>
> +ifeq ($(BR2_PACKAGE_WPEWEBKIT_MEDIA_STREAM),y)
> +WPEWEBKIT_CONF_OPTS += -DENABLE_MEDIA_STREAM=ON
> +WPEWEBKIT_DEPENDENCIES += gst1-plugins-bad
> +else
> +WPEWEBKIT_CONF_OPTS += -DENABLE_MEDIA_STREAM=OFF
> +endif
> +
> ifeq ($(BR2_PACKAGE_WPEWEBKIT_USE_GSTREAMER_GL),y)
> WPEWEBKIT_CONF_OPTS += -DUSE_GSTREAMER_GL=ON
> else
>
More information about the buildroot
mailing list