mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-29 08:52:56 +02:00
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
This commit is contained in:
parent
549b0ff9b4
commit
2472d00df9
1 changed files with 3 additions and 2 deletions
|
@ -1,11 +1,11 @@
|
||||||
# Template file for 'slack-desktop'
|
# Template file for 'slack-desktop'
|
||||||
pkgname=slack-desktop
|
pkgname=slack-desktop
|
||||||
version=4.36.140
|
version=4.36.140
|
||||||
revision=1
|
revision=2
|
||||||
archs="x86_64"
|
archs="x86_64"
|
||||||
depends="xdg-utils"
|
depends="xdg-utils"
|
||||||
short_desc="Messaging app for teams"
|
short_desc="Messaging app for teams"
|
||||||
maintainer="dataCobra <datacobra@thinkbot.de>"
|
maintainer="Rodrigo Oliveira <mdkcore@qtrnn.io>"
|
||||||
license="custom:Proprietary"
|
license="custom:Proprietary"
|
||||||
homepage="https://slack.com/"
|
homepage="https://slack.com/"
|
||||||
distfiles="https://downloads.slack-edge.com/releases/linux/${version}/prod/x64/${pkgname}-${version}-amd64.deb"
|
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/applications/slack.desktop 644 usr/share/applications
|
||||||
vinstall usr/share/pixmaps/slack.png 644 usr/share/pixmaps
|
vinstall usr/share/pixmaps/slack.png 644 usr/share/pixmaps
|
||||||
mkdir ${DESTDIR}/usr/bin
|
mkdir ${DESTDIR}/usr/bin
|
||||||
|
vsed -i -e 's/,"WebRTCPipeWireCapturer"/,"LebRTCPipeWireCapturer"/' usr/lib/slack/resources/app.asar
|
||||||
vcopy usr/lib/slack usr/lib
|
vcopy usr/lib/slack usr/lib
|
||||||
ln -s ../lib/slack/slack ${DESTDIR}/usr/bin/slack
|
ln -s ../lib/slack/slack ${DESTDIR}/usr/bin/slack
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue