Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] slack-desktop: allow the use of WebRTCPipeWireCapturer flag
@ 2024-03-14 20:41 mdkcore0
  2024-03-14 20:41 ` mdkcore0
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: mdkcore0 @ 2024-03-14 20:41 UTC (permalink / raw)
  To: ml

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

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

https://github.com/mdkcore0/void-packages update-slack-desktop
https://github.com/void-linux/void-packages/pull/49298

slack-desktop: allow the use of WebRTCPipeWireCapturer flag
Slack seems to [disable screen sharing on Wayland](https://forums.slackcommunity.com/s/question/0D53a00009BSEGACA5/when-will-slack-support-wayland-screen-sharing-does-anyone-have-workarounds-or-hacks-to-make-it-work), this commit allow the use of WebRTCPipeWireCapturer.
Final user still needs to add the flag on the command line to make use of it:
`--enable-features=WebRTCPipeWireCapturer --ozone-platform-hint=auto`.

Note: just tested on Wayland, it would be great if someone tested it on x11 too.

#### Testing the changes
- I tested the changes in this PR: **briefly**

#### Local build testing
- I built this PR locally for my native architecture: x86_64-libc


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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-update-slack-desktop-49298.patch --]
[-- Type: text/x-diff, Size: 1523 bytes --]

From 4d719a772431a399d087881deb4e3b3b20d58c5d Mon Sep 17 00:00:00 2001
From: Rodrigo Oliveira <mdkcore@qtrnn.io>
Date: Thu, 14 Mar 2024 17:18:19 -0300
Subject: [PATCH] slack-desktop: allow the use of WebRTCPipeWireCapturer flag

Slack seems to disable screen sharing on Wayland [1], so this commit
allow the use of WebRTCPipeWireCapturer.
Note that the user still need to add the flag on the command line to
enable it: --enable-features=WebRTCPipeWireCapturer
--ozone-platform-hint=auto.

[1] https://forums.slackcommunity.com/s/question/0D53a00009BSEGACA5/when-will-slack-support-wayland-screen-sharing-does-anyone-have-workarounds-or-hacks-to-make-it-work
---
 srcpkgs/slack-desktop/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/slack-desktop/template b/srcpkgs/slack-desktop/template
index 4ed60d25375222..6368b1790c9039 100644
--- a/srcpkgs/slack-desktop/template
+++ b/srcpkgs/slack-desktop/template
@@ -1,7 +1,7 @@
 # Template file for 'slack-desktop'
 pkgname=slack-desktop
 version=4.36.140
-revision=1
+revision=2
 archs="x86_64"
 depends="xdg-utils"
 short_desc="Messaging app for teams"
@@ -19,6 +19,7 @@ do_install() {
 	vinstall usr/share/applications/slack.desktop 644 usr/share/applications
 	vinstall usr/share/pixmaps/slack.png 644 usr/share/pixmaps
 	mkdir ${DESTDIR}/usr/bin
+	vsed -i -e 's/,"WebRTCPipeWireCapturer"/,"LebRTCPipeWireCapturer"/' usr/lib/slack/resources/app.asar
 	vcopy usr/lib/slack usr/lib
 	ln -s ../lib/slack/slack ${DESTDIR}/usr/bin/slack
 }

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

end of thread, other threads:[~2024-04-05  1:25 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-14 20:41 [PR PATCH] slack-desktop: allow the use of WebRTCPipeWireCapturer flag mdkcore0
2024-03-14 20:41 ` mdkcore0
2024-03-14 22:01 ` [PR PATCH] [Updated] " mdkcore0
2024-03-15  7:01 ` dataCobra
2024-03-20  6:42 ` dataCobra
2024-03-20  6:42 ` dataCobra
2024-03-20 16:19 ` mdkcore0
2024-03-20 16:23 ` [PR PATCH] [Updated] " mdkcore0
2024-04-04 14:12 ` [PR PATCH] [Updated] slack-desktop: allow the use of WebRTCPipeWireCapturer flag, adopt mdkcore0
2024-04-05  1:25 ` [PR PATCH] [Merged]: " cinerea0

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).