logo

overlay

My (experimental) gentoo overlay
commit: 556ce6848d94521b9762b57a854b978603da0201
parent: b017bf4ac69761b8a1990107b48a85677c1450c3
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Sun, 15 Sep 2019 17:54:56 +0200

net-libs/webkit-gtk: Add USE=media-source

ENABLE_MEDIA_SOURCE requires GStreamer 1.16, which is currently not available in the trees

Diffstat:

Mnet-libs/webkit-gtk/metadata.xml1+
Mnet-libs/webkit-gtk/webkit-gtk-2.26.0.ebuild8++++++--
2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/net-libs/webkit-gtk/metadata.xml b/net-libs/webkit-gtk/metadata.xml @@ -14,5 +14,6 @@ <flag name="webgl">Build support for the WebGL HTML API using <pkg>virtual/opengl</pkg></flag> <flag name="experimental">Enable experimental features</flag> <flag name="wpe">Enable <pkg>net-libs/libwpe</pkg> rendering</flag> + <flag name="media-source">Enable support for Media Sources Extension (requires gstreamer 1.16+)</flag> </use> </pkgmetadata> diff --git a/net-libs/webkit-gtk/webkit-gtk-2.26.0.ebuild b/net-libs/webkit-gtk/webkit-gtk-2.26.0.ebuild @@ -17,7 +17,7 @@ LICENSE="LGPL-2+ BSD" SLOT="4/37" # soname version of libwebkit2gtk-4.0 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~amd64-linux ~x86-linux ~x86-macos" -IUSE="aqua coverage doc +egl examples experimental +geolocation gles2 gnome-keyring +gstreamer +introspection jpeg2k libnotify +opengl sandbox spell wayland +wpe +webgl +X" +IUSE="aqua coverage doc +egl examples experimental +geolocation gles2 gnome-keyring +gstreamer +introspection jpeg2k libnotify media-source +opengl sandbox spell wayland +wpe +webgl +X" # webgl needs gstreamer, bug #560612 # gstreamer with opengl/gles2 needs egl @@ -29,6 +29,7 @@ REQUIRED_USE=" || ( gles2 opengl ) ) wayland? ( egl ) wpe? ( wayland ) + media-source? ( gstreamer ) || ( aqua wayland X ) " @@ -70,7 +71,9 @@ RDEPEND=" >=media-libs/gstreamer-1.14:1.0 >=media-libs/gst-plugins-base-1.14:1.0[egl?,gles2?,opengl?] >=media-plugins/gst-plugins-opus-1.14.4-r1:1.0 - >=media-libs/gst-plugins-bad-1.14:1.0 ) + >=media-libs/gst-plugins-bad-1.14:1.0 + ) + media-source? ( >=media-libs/gstreamer-1.16:1.0 ) X? ( x11-libs/libX11 @@ -256,6 +259,7 @@ src_configure() { -DENABLE_OPENGL=${opengl_enabled} -DUSE_WPE_RENDERER=$(usex wpe) -DENABLE_BUBBLEWRAP_SANDBOX=$(usex sandbox) + -DENABLE_MEDIA_SOURCE=$(usex media-source) -DCMAKE_BUILD_TYPE=Release -DPORT=GTK ${ruby_interpreter}