Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

net-im/slack: cleanup, version bump, wrt #836874, #772137, #853964 #26950

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion net-im/slack/Manifest
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
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
DIST slack-desktop-4.27.156-amd64.deb 66938030 BLAKE2B b7d457fcb6a2518eaea7efc4d7b43f01f8c1da8a1218d3c2c2c14e195004102be344c6f4e2b60dd4f4677e53ea976cb7b0b102e3e0eec385df881eecdee4a7cd SHA512 b7aa66136a330536393a157843e02e4cfec5eca74431304b1b166e80eaadf41e8b12ad69af8616032042237cb9a38414f9bf1b76701def1985edd0a5570781f9
Original file line number Diff line number Diff line change
@@ -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}]
Expand Down Expand Up @@ -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} \
Expand Down