Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] qt5-webengine: enable WebRTC screen sharing via PipeWire
@ 2021-03-03  6:38 Eluminae
  2021-03-03  7:41 ` Eluminae
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: Eluminae @ 2021-03-03  6:38 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 358 bytes --]

There is a new pull request by Eluminae against master on the void-packages repository

https://github.com/Eluminae/void-packages qt5-webengine-pipewire
https://github.com/void-linux/void-packages/pull/29191

qt5-webengine: enable WebRTC screen sharing via PipeWire


A patch file from https://github.com/void-linux/void-packages/pull/29191.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-qt5-webengine-pipewire-29191.patch --]
[-- Type: text/x-diff, Size: 1951 bytes --]

From 42c7c5d6b0998cddf023abbb084982d18f8d5542 Mon Sep 17 00:00:00 2001
From: Reed Wade <reedwade@misterbanal.net>
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 <me@johnnynator.dev>"
 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"

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: qt5-webengine: enable WebRTC screen sharing via PipeWire
  2021-03-03  6:38 [PR PATCH] qt5-webengine: enable WebRTC screen sharing via PipeWire Eluminae
@ 2021-03-03  7:41 ` Eluminae
  2021-03-03  7:41 ` Eluminae
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: Eluminae @ 2021-03-03  7:41 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 210 bytes --]

New comment by Eluminae on void-packages repository

https://github.com/void-linux/void-packages/pull/29191#issuecomment-789509893

Comment:
Someone could tell me why it build on some archs but not on others ?

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: qt5-webengine: enable WebRTC screen sharing via PipeWire
  2021-03-03  6:38 [PR PATCH] qt5-webengine: enable WebRTC screen sharing via PipeWire Eluminae
  2021-03-03  7:41 ` Eluminae
@ 2021-03-03  7:41 ` Eluminae
  2021-03-03  7:53 ` Eluminae
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: Eluminae @ 2021-03-03  7:41 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 210 bytes --]

New comment by Eluminae on void-packages repository

https://github.com/void-linux/void-packages/pull/29191#issuecomment-789509893

Comment:
Someone could tell me why it build on some archs but not on others ?

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: qt5-webengine: enable WebRTC screen sharing via PipeWire
  2021-03-03  6:38 [PR PATCH] qt5-webengine: enable WebRTC screen sharing via PipeWire Eluminae
  2021-03-03  7:41 ` Eluminae
  2021-03-03  7:41 ` Eluminae
@ 2021-03-03  7:53 ` Eluminae
  2021-03-03  8:13 ` Eluminae
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: Eluminae @ 2021-03-03  7:53 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 268 bytes --]

New comment by Eluminae on void-packages repository

https://github.com/void-linux/void-packages/pull/29191#issuecomment-789515708

Comment:
Works on local but builds seems to lack the pipewire/pipewire.h. pipewire-devel contain this header. 

What am I missing ?


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: qt5-webengine: enable WebRTC screen sharing via PipeWire
  2021-03-03  6:38 [PR PATCH] qt5-webengine: enable WebRTC screen sharing via PipeWire Eluminae
                   ` (2 preceding siblings ...)
  2021-03-03  7:53 ` Eluminae
@ 2021-03-03  8:13 ` Eluminae
  2021-03-03  8:15 ` [PR PATCH] [Updated] " Eluminae
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: Eluminae @ 2021-03-03  8:13 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 373 bytes --]

New comment by Eluminae on void-packages repository

https://github.com/void-linux/void-packages/pull/29191#issuecomment-789526519

Comment:
Okay I think I got it:

libpipewire0.2-devel contains /usr/include/pipewire/pipewire.h but pipewire-devel got /usr/include/pipewire-0.3/pipewire/pipewire.h

Why an older version of pipewire is the default and unversionned one ?

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PR PATCH] [Updated] qt5-webengine: enable WebRTC screen sharing via PipeWire
  2021-03-03  6:38 [PR PATCH] qt5-webengine: enable WebRTC screen sharing via PipeWire Eluminae
                   ` (3 preceding siblings ...)
  2021-03-03  8:13 ` Eluminae
@ 2021-03-03  8:15 ` Eluminae
  2021-03-07 21:41 ` Johnnynator
  2021-03-08 18:41 ` [PR PATCH] [Closed]: " Johnnynator
  6 siblings, 0 replies; 8+ messages in thread
From: Eluminae @ 2021-03-03  8:15 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 363 bytes --]

There is an updated pull request by Eluminae against master on the void-packages repository

https://github.com/Eluminae/void-packages qt5-webengine-pipewire
https://github.com/void-linux/void-packages/pull/29191

qt5-webengine: enable WebRTC screen sharing via PipeWire


A patch file from https://github.com/void-linux/void-packages/pull/29191.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-qt5-webengine-pipewire-29191.patch --]
[-- Type: text/x-diff, Size: 2040 bytes --]

From 7f14b2d42ac2718540052eb9c2c56849f9baddef Mon Sep 17 00:00:00 2001
From: Reed Wade <reedwade@misterbanal.net>
Date: Tue, 2 Mar 2021 19:46:15 +0100
Subject: [PATCH] qt5-webengine: enable WebRTC screen sharing via PipeWire

---
 srcpkgs/qt5-webengine/template | 13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/qt5-webengine/template b/srcpkgs/qt5-webengine/template
index b49665122bb..b260cb3a05e 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 libpipewire0.2-devel)"
 short_desc="Cross-platform application and UI framework (QT5) - WebEngine component"
 maintainer="John <me@johnnynator.dev>"
 license="GPL-3.0-or-later, LGPL-3.0-or-later"
@@ -28,14 +28,19 @@ 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"
+desc_option_pipewire="Enable support for screen sharing for WebRTC via 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"

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: qt5-webengine: enable WebRTC screen sharing via PipeWire
  2021-03-03  6:38 [PR PATCH] qt5-webengine: enable WebRTC screen sharing via PipeWire Eluminae
                   ` (4 preceding siblings ...)
  2021-03-03  8:15 ` [PR PATCH] [Updated] " Eluminae
@ 2021-03-07 21:41 ` Johnnynator
  2021-03-08 18:41 ` [PR PATCH] [Closed]: " Johnnynator
  6 siblings, 0 replies; 8+ messages in thread
From: Johnnynator @ 2021-03-07 21:41 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 212 bytes --]

New comment by Johnnynator on void-packages repository

https://github.com/void-linux/void-packages/pull/29191#issuecomment-792358325

Comment:
Thx, I will take a look at this and pull it into the 5.15.3 update.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PR PATCH] [Closed]: qt5-webengine: enable WebRTC screen sharing via PipeWire
  2021-03-03  6:38 [PR PATCH] qt5-webengine: enable WebRTC screen sharing via PipeWire Eluminae
                   ` (5 preceding siblings ...)
  2021-03-07 21:41 ` Johnnynator
@ 2021-03-08 18:41 ` Johnnynator
  6 siblings, 0 replies; 8+ messages in thread
From: Johnnynator @ 2021-03-08 18:41 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 190 bytes --]

There's a closed pull request on the void-packages repository

qt5-webengine: enable WebRTC screen sharing via PipeWire
https://github.com/void-linux/void-packages/pull/29191

Description:


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2021-03-08 18:41 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-03  6:38 [PR PATCH] qt5-webengine: enable WebRTC screen sharing via PipeWire Eluminae
2021-03-03  7:41 ` Eluminae
2021-03-03  7:41 ` Eluminae
2021-03-03  7:53 ` Eluminae
2021-03-03  8:13 ` Eluminae
2021-03-03  8:15 ` [PR PATCH] [Updated] " Eluminae
2021-03-07 21:41 ` Johnnynator
2021-03-08 18:41 ` [PR PATCH] [Closed]: " Johnnynator

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).