From 42c7c5d6b0998cddf023abbb084982d18f8d5542 Mon Sep 17 00:00:00 2001 From: Reed Wade Date: Tue, 2 Mar 2021 19:46:15 +0100 Subject: [PATCH] qt5-webengine: enable WebRTC screen sharing via PipeWire --- srcpkgs/qt5-webengine/template | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/srcpkgs/qt5-webengine/template b/srcpkgs/qt5-webengine/template index b49665122bb..fe316ed640a 100644 --- a/srcpkgs/qt5-webengine/template +++ b/srcpkgs/qt5-webengine/template @@ -1,7 +1,7 @@ # Template file for 'qt5-webengine' pkgname=qt5-webengine version=5.15.2 -revision=2 +revision=3 archs="x86_64* i686* armv[67]* ppc64* aarch64*" wrksrc="qtwebengine-everywhere-src-${version}" build_style=qmake @@ -19,7 +19,7 @@ makedepends="qt5-webchannel-devel qt5-location-devel qt5-tools-devel qt5-devel libvpx-devel re2-devel libXtst-devel libXcursor-devel libXcomposite-devel jsoncpp-devel harfbuzz-devel lcms2-devel protobuf-devel pulseaudio-devel libXrandr-devel MesaLib-devel mit-krb5-devel alsa-lib-devel libxkbcommon-devel - $(vopt_if sndio sndio-devel)" + $(vopt_if sndio sndio-devel) $(vopt_if pipewire pipewire-devel)" short_desc="Cross-platform application and UI framework (QT5) - WebEngine component" maintainer="John " license="GPL-3.0-or-later, LGPL-3.0-or-later" @@ -28,14 +28,18 @@ distfiles="http://download.qt.io/official_releases/qt/${version%.*}/${version}/s checksum=c8afca0e43d84f7bd595436fbe4d13a5bbdb81ec5104d605085d07545b6f91e0 patch_args="-Np1" -build_options="sndio" -build_options_default="" +build_options="sndio pipewire" +build_options_default="pipewire" if [ "$build_option_sndio" ]; then configure_args+=" -sndio" fi +if [ "$build_option_pipewire" ]; then + configure_args+=" -webengine-webrtc-pipewire" +fi + if [ "$CROSS_BUILD" ]; then hostmakedepends+=" nss-devel libevent-devel qt5-location-devel qt5-declarative-devel"