Bug#988206: webkit2gtk: Experimental support for webrtc

Pirate Praveen praveen at onenetbeyond.org
Fri May 7 18:32:00 BST 2021


Package: src:webkit2gtk
Severity: wishlist

Webkit now has experimental support for webrtc and I'm trying to build 
it with this support enabled. This bug is just to document the effort 
in case the findings are useful when this is ready for inclusion.

gstreamer master snapshot is built and available here
https://people.debian.org/~praveen/gstwebrtc/

--- webkit2gtk-2.32.0/debian/control 2021-04-22 22:12:46.000000000 +0530
+++ webkit2gtk-2.32.0+git20210504.c4cdcb6/debian/control 2021-05-05 
01:23:27.000000000 +0530
@@ -41,7 +41,7 @@
                libtasn1-6-dev,
                libwebp-dev,
                libxt-dev,
- libgstreamer1.0-dev (>= 1.14.0),
+ libgstreamer1.0-dev (>= 1.18.4+git),
                libgstreamer-plugins-base1.0-dev (>= 1.14.0),
                libenchant-2-dev,
                libsecret-1-dev,
@@ -50,7 +50,8 @@
                ninja-build,
                libegl1-mesa-dev,
                libgl-dev,
- libgles-dev
+ libgles-dev,
+ liblcms-dev
 Build-Depends-Indep: gtk-doc-tools,
                libglib2.0-doc,
                libgtk-3-doc,

and needs adding the following flags

  -DENABLE_MEDIA_STREAM=ON \
    -DENABLE_WEB_RTC=ON \
    -DUSE_SOUP2=ON \
    -DUSE_GSTREAMER_WEBRTC=ON \

But the build fails (it succeeds without -DENABLE_MEDIA_STREAM=ON \  
-DENABLE_WEB_RTC=ON \ and   -DUSE_GSTREAMER_WEBRTC=ON \).

with the error,

-- Found GStreamer: 
GSTREAMER_INCLUDE_DIRS;GSTREAMER_LIBRARIES;GSTREAMER_VERSION;GSTREAMER_BASE_INCLUDE_DIRS;GSTREAMER_BASE_LIBRARIES;GSTREAMER_APP_INCLUDE_DIRS;GSTREAMER_APP_LIBRARIES;GSTREAMER_PBUTILS_INCLUDE_DIRS;GSTREAMER_PBUTILS_LIBRARIES;GSTREAMER_VIDEO_INCLUDE_DIRS;GSTREAMER_VIDEO_LIBRARIES;GSTREAMER_MPEGTS_INCLUDE_DIRS;GSTREAMER_MPEGTS_LIBRARIES;GSTREAMER_TAG_INCLUDE_DIRS;GSTREAMER_TAG_LIBRARIES;GSTREAMER_GL_INCLUDE_DIRS;GSTREAMER_GL_LIBRARIES;GSTREAMER_AUDIO_INCLUDE_DIRS;GSTREAMER_AUDIO_LIBRARIES;GSTREAMER_FFT_INCLUDE_DIRS;GSTREAMER_FFT_LIBRARIES 
(Required is at least version "1.14.0")
CMake Error at Source/cmake/GStreamerChecks.cmake:58 (message):
  GStreamerWebRTC >= 1.18 is needed for USE_GSTREAMER_WEBRTC.
Call Stack (most recent call first):
  Source/cmake/OptionsGTK.cmake:523 (include)
  Source/cmake/WebKitCommon.cmake:218 (include)
  CMakeLists.txt:20 (include)

We probably need to install some files in the gstreamer package. 
Attaching the full build log.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: webkit2gtk_2.32.0+git20210504.c4cdcb6-1_amd64.build
URL: <http://alioth-lists.debian.net/pipermail/pkg-webkit-maintainers/attachments/20210507/0842c029/attachment-0001.ksh>


More information about the Pkg-webkit-maintainers mailing list