aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRodrigo Oliveira <mdkcore@qtrnn.io>2024-03-14 20:18:19 +0000
committercinerea0 <49368915+cinerea0@users.noreply.github.com>2024-04-05 01:25:50 +0000
commit2472d00df9722a6f6755d2a5f94c4af5ef15721f (patch)
tree0203e3af247837b2adf2432c9492aa5d73e6dfbc
parent549b0ff9b48b36fc8a64ec0bbe9db534d0150503 (diff)
downloadvoid-packages-2472d00df9722a6f6755d2a5f94c4af5ef15721f.tar
void-packages-2472d00df9722a6f6755d2a5f94c4af5ef15721f.tar.gz
void-packages-2472d00df9722a6f6755d2a5f94c4af5ef15721f.tar.bz2
void-packages-2472d00df9722a6f6755d2a5f94c4af5ef15721f.tar.lz
void-packages-2472d00df9722a6f6755d2a5f94c4af5ef15721f.tar.xz
void-packages-2472d00df9722a6f6755d2a5f94c4af5ef15721f.tar.zst
void-packages-2472d00df9722a6f6755d2a5f94c4af5ef15721f.zip
slack-desktop: allow the use of WebRTCPipeWireCapturer flag, adopt
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
-rw-r--r--srcpkgs/slack-desktop/template5
1 files changed, 3 insertions, 2 deletions
diff --git a/srcpkgs/slack-desktop/template b/srcpkgs/slack-desktop/template
index 4ed60d25375..1a7288bd1a3 100644
--- a/srcpkgs/slack-desktop/template
+++ b/srcpkgs/slack-desktop/template
@@ -1,11 +1,11 @@
# 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"
-maintainer="dataCobra <datacobra@thinkbot.de>"
+maintainer="Rodrigo Oliveira <mdkcore@qtrnn.io>"
license="custom:Proprietary"
homepage="https://slack.com/"
distfiles="https://downloads.slack-edge.com/releases/linux/${version}/prod/x64/${pkgname}-${version}-amd64.deb"
@@ -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
}