diff options
Diffstat (limited to 'net-im/slack')
-rw-r--r-- | net-im/slack/Manifest | 4 | ||||
-rw-r--r-- | net-im/slack/slack-4.27.156.ebuild (renamed from net-im/slack/slack-4.22.0.ebuild) | 22 |
2 files changed, 19 insertions, 7 deletions
diff --git a/net-im/slack/Manifest b/net-im/slack/Manifest index bbeb7bdc57fa..f7093d235ed6 100644 --- a/net-im/slack/Manifest +++ b/net-im/slack/Manifest @@ -1,5 +1,5 @@ -DIST slack-desktop-4.22.0-amd64.deb 65772046 BLAKE2B e0178bb0118fa22699c459f7e289ba17fa116ba4f231a5fca6d4a889b737110c8de036651ca753a282500b168bba0fbae83c03a42e1a6df0096d1ca31761adcf SHA512 085122d454c9cf66091c167d16017d051a37dcf3cec07dcc8b4e28f40bc1b77bc98315b63219b1bd56c65305b3b49b9fb4161f8271a03e4bf7d42889b9c282f1 DIST slack-desktop-4.23.0-amd64.deb 65626830 BLAKE2B a4b49e71b956e74a915ea9f2e26272d8ef15191c92479b1ed2615108569cc4c6cb97de53ff8d4099e4348b81c97447c0edfc1b0fbeacda3833953de9463e877f SHA512 f7885d78f712624ec8c3a26787a1876f4c6a35fedeec824ed4b1d7cc57dd23b9402254a7cfa9f585c3869a920d6fcfc868b9875a477fde1eab9d42a01d43d550 -EBUILD slack-4.22.0.ebuild 2953 BLAKE2B d51f573718553249352c0cbd55d70aee616b1284bd2caf3ef941d24121c007ee11f9cda89b9b6c54e47d61d618a185a51494f377a32f436fb2b988ed6af9e5bb SHA512 fb31eaa886e7622e946068223e583a3b56331e07f8411dd0d162183f605502c4a6f1d64d2972a1b7b9c930b510b161e0001bab0eb78f14a878d429d6a4e9b30c +DIST slack-desktop-4.27.156-amd64.deb 66938030 BLAKE2B b7d457fcb6a2518eaea7efc4d7b43f01f8c1da8a1218d3c2c2c14e195004102be344c6f4e2b60dd4f4677e53ea976cb7b0b102e3e0eec385df881eecdee4a7cd SHA512 b7aa66136a330536393a157843e02e4cfec5eca74431304b1b166e80eaadf41e8b12ad69af8616032042237cb9a38414f9bf1b76701def1985edd0a5570781f9 EBUILD slack-4.23.0.ebuild 2953 BLAKE2B ddcb25cdc98ee870f8fe10d3f9a4a13a6b6459f38264903e58839bc136f230c356e7c3b7af487f7fca41349a40885fc7d5f9408eb742f89e389795ff0fcb9cde SHA512 04dbbe9ced8d375c0aba75e0b22342cde4ab82f7120472236f7bd82215887be71653cc9e7079fe9b4faf56b7d357360e2351bfe3b43c549017d87cb0ffb3ead0 +EBUILD slack-4.27.156.ebuild 3307 BLAKE2B d2087ad448603fa47650de27c597bbeadf78ab480c0f772a355875a979f18fed30e02d30b98561d02caf168565787670c4c5c0a1273bab3f095b0ecaf40676e1 SHA512 e298b02a95c21095c1fb26f029798139d01218e325af41f65bcc998c169ff8b487d8797b518eab311a2d935c239974c22583b038788b52411b5c322a1f42113e MISC metadata.xml 717 BLAKE2B c85da6ab5c26c0bff1b183b1cac406ea8d8ea4d73fbbf91b01f62acfc20f64b13d29d4a6502a4593b06757ea607409bcb0c206fd2d7de612222a0db2382791f4 SHA512 7e924f0a41f8f6889c403d8087afa3ac83852d9571ea35b6bca5ab0f47f898bfbcc5557e5ae8b9e95e692c46d185dc8b18895cb81160422e561abebbababd3ab diff --git a/net-im/slack/slack-4.22.0.ebuild b/net-im/slack/slack-4.27.156.ebuild index 8650535c9304..456821a8ac4a 100644 --- a/net-im/slack/slack-4.22.0.ebuild +++ b/net-im/slack/slack-4.27.156.ebuild @@ -1,20 +1,20 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 MULTILIB_COMPAT=( abi_x86_64 ) inherit desktop multilib-build optfeature pax-utils unpacker xdg DESCRIPTION="Team collaboration tool" -HOMEPAGE="https://www.slack.com" +HOMEPAGE="https://slack.com" SRC_URI="https://downloads.slack-edge.com/releases/linux/${PV}/prod/x64/${PN}-desktop-${PV}-amd64.deb" LICENSE="all-rights-reserved" SLOT="0" KEYWORDS="-* ~amd64" -IUSE="appindicator suid" +IUSE="appindicator +seccomp suid wayland" RESTRICT="bindist mirror" RDEPEND="app-accessibility/at-spi2-atk:2[${MULTILIB_USEDEP}] @@ -70,7 +70,19 @@ src_prepare() { if use appindicator ; then sed -i '/Exec/s|=|=env XDG_CURRENT_DESKTOP=Unity |' \ usr/share/applications/slack.desktop \ - || die "sed failed for slack.desktop" + || die "sed failed for appindicator" + fi + + if ! use seccomp ; then + sed -i '/Exec/s/%U/%U --disable-seccomp-filter-sandbox/' \ + usr/share/applications/slack.desktop \ + || die "sed failed for seccomp" + fi + + if use wayland ; then + sed -i '/Exec/s/%U/%U --enable-features=WebRTCPipeWireCapturer/' \ + usr/share/applications/slack.desktop \ + || die "sed failed for wayland" fi rm usr/lib/slack/LICENSE{,S-linux.json} \ |