summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Strogin <steils@gentoo.org>2021-11-17 12:22:39 +0200
committerStefan Strogin <steils@gentoo.org>2021-11-17 12:22:39 +0200
commit07519a4ed1ad220d57a3a15a6b80339d1b800e7c (patch)
tree41d682be511529f68cb106380487dcc6da9ee878
parentdev-python/hypothesis: Bump to 6.24.5 (diff)
downloadgentoo-07519a4ed1ad220d57a3a15a6b80339d1b800e7c.tar.gz
gentoo-07519a4ed1ad220d57a3a15a6b80339d1b800e7c.tar.bz2
gentoo-07519a4ed1ad220d57a3a15a6b80339d1b800e7c.zip
net-im/slack: upgrade to 4.22.0; drop old
Closes: https://bugs.gentoo.org/823828 Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Stefan Strogin <steils@gentoo.org>
-rw-r--r--net-im/slack/Manifest3
-rw-r--r--net-im/slack/slack-4.19.2.ebuild97
-rw-r--r--net-im/slack/slack-4.22.0.ebuild (renamed from net-im/slack/slack-4.18.0.ebuild)2
3 files changed, 2 insertions, 100 deletions
diff --git a/net-im/slack/Manifest b/net-im/slack/Manifest
index b381e2b2386f..83d828ff2136 100644
--- a/net-im/slack/Manifest
+++ b/net-im/slack/Manifest
@@ -1,2 +1 @@
-DIST slack-desktop-4.18.0-amd64.deb 61001506 BLAKE2B 45e37972be8946102f77c60acbe781215c12a004b9d799a695c89776350f673e54427d9db07c1dc17b7c10d2706afe39616c19e19c149cb0a357b3cf8b9df7b5 SHA512 e826116d45aafb7885a8af0682f3dc69df66799929878f18232d6cf4b26165a23b0f12cf9ab43d08432629c9c6a15b31f002c8297e311c9f085af699404d901f
-DIST slack-desktop-4.19.2-amd64.deb 62407682 BLAKE2B 2ee89d96b71898878d5c82e4095a6e46b3b5d5acdc815174c1d06c8df4e95f7279674e799e3564aa863cf2feba8f88d57c5529435a3ae3dde9b4556ca539ff52 SHA512 414e0738ebee8f328447a4926cfd788d4123059c37c33b927b70bbb136c4aaefb01f886dbcc21b25b2c0d76c12547af4677ef099fd77d54f557ec46b1422f35c
+DIST slack-desktop-4.22.0-amd64.deb 65772046 BLAKE2B e0178bb0118fa22699c459f7e289ba17fa116ba4f231a5fca6d4a889b737110c8de036651ca753a282500b168bba0fbae83c03a42e1a6df0096d1ca31761adcf SHA512 085122d454c9cf66091c167d16017d051a37dcf3cec07dcc8b4e28f40bc1b77bc98315b63219b1bd56c65305b3b49b9fb4161f8271a03e4bf7d42889b9c282f1
diff --git a/net-im/slack/slack-4.19.2.ebuild b/net-im/slack/slack-4.19.2.ebuild
deleted file mode 100644
index 4e9ba7d637c3..000000000000
--- a/net-im/slack/slack-4.19.2.ebuild
+++ /dev/null
@@ -1,97 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-MULTILIB_COMPAT=( abi_x86_64 )
-
-inherit desktop multilib-build optfeature pax-utils unpacker xdg
-
-DESCRIPTION="Team collaboration tool"
-HOMEPAGE="https://www.slack.com"
-SRC_URI="https://downloads.slack-edge.com/linux_releases/${PN}-desktop-${PV}-amd64.deb"
-
-LICENSE="all-rights-reserved"
-SLOT="0"
-KEYWORDS="-* ~amd64"
-IUSE="appindicator suid"
-RESTRICT="bindist mirror"
-
-RDEPEND="app-accessibility/at-spi2-atk:2[${MULTILIB_USEDEP}]
- app-accessibility/at-spi2-core:2[${MULTILIB_USEDEP}]
- dev-libs/atk:0[${MULTILIB_USEDEP}]
- dev-libs/expat:0[${MULTILIB_USEDEP}]
- dev-libs/glib:2[${MULTILIB_USEDEP}]
- dev-libs/nspr:0[${MULTILIB_USEDEP}]
- dev-libs/nss:0[${MULTILIB_USEDEP}]
- media-libs/alsa-lib:0[${MULTILIB_USEDEP}]
- media-libs/mesa:0[${MULTILIB_USEDEP}]
- net-print/cups:0[${MULTILIB_USEDEP}]
- sys-apps/dbus:0[${MULTILIB_USEDEP}]
- x11-libs/cairo:0[${MULTILIB_USEDEP}]
- x11-libs/gdk-pixbuf:2[${MULTILIB_USEDEP}]
- x11-libs/gtk+:3[${MULTILIB_USEDEP}]
- x11-libs/libdrm:0[${MULTILIB_USEDEP}]
- x11-libs/libX11:0[${MULTILIB_USEDEP}]
- x11-libs/libxcb:0/1.12[${MULTILIB_USEDEP}]
- x11-libs/libXcomposite:0[${MULTILIB_USEDEP}]
- x11-libs/libXdamage:0[${MULTILIB_USEDEP}]
- x11-libs/libXext:0[${MULTILIB_USEDEP}]
- x11-libs/libXfixes:0[${MULTILIB_USEDEP}]
- x11-libs/libxkbcommon:0[${MULTILIB_USEDEP}]
- x11-libs/libxkbfile:0[${MULTILIB_USEDEP}]
- x11-libs/libXrandr:0[${MULTILIB_USEDEP}]
- x11-libs/pango:0[${MULTILIB_USEDEP}]
- appindicator? ( dev-libs/libappindicator:3[${MULTILIB_USEDEP}] )"
-
-QA_PREBUILT="/opt/slack/chrome-sandbox
- /opt/slack/libEGL.so
- /opt/slack/libffmpeg.so
- /opt/slack/libGLESv2.so
- /opt/slack/libvk_swiftshader.so
- /opt/slack/libvulkan.so*
- /opt/slack/resources/app.asar.unpacked/node_modules/*
- /opt/slack/slack
- /opt/slack/swiftshader/libEGL.so
- /opt/slack/swiftshader/libGLESv2.so"
-
-S="${WORKDIR}"
-
-src_prepare() {
- default
-
- # remove hardcoded path, logging noise (wrt 694058, 711494)
- sed -i -e '/Icon/s|/usr/share/pixmaps/slack.png|slack|' \
- -e '/Exec/s|slack|slack -s|' \
- usr/share/applications/slack.desktop \
- || die "sed failed in Icon for slack.desktop"
-
- if use appindicator ; then
- sed -i '/Exec/s|=|=env XDG_CURRENT_DESKTOP=Unity |' \
- usr/share/applications/slack.desktop \
- || die "sed failed for slack.desktop"
- fi
-
- rm usr/lib/slack/LICENSE{,S-linux.json} \
- || die "rm licenses failed"
-}
-
-src_install() {
- doicon usr/share/pixmaps/slack.png
- doicon -s 512 usr/share/pixmaps/slack.png
- domenu usr/share/applications/slack.desktop
-
- insinto /opt # wrt 720134
- cp -a usr/lib/slack "${ED}"/opt || die "cp failed"
-
- use suid && fperms u+s /opt/slack/chrome-sandbox # wrt 713094
- dosym ../../opt/slack/slack usr/bin/slack
-
- pax-mark -m "${ED}"/opt/slack/slack
-}
-
-pkg_postinst() {
- optfeature "storing passwords via gnome-keyring" app-crypt/libsecret
-
- xdg_pkg_postinst
-}
diff --git a/net-im/slack/slack-4.18.0.ebuild b/net-im/slack/slack-4.22.0.ebuild
index 4e9ba7d637c3..2e407a561928 100644
--- a/net-im/slack/slack-4.18.0.ebuild
+++ b/net-im/slack/slack-4.22.0.ebuild
@@ -9,7 +9,7 @@ inherit desktop multilib-build optfeature pax-utils unpacker xdg
DESCRIPTION="Team collaboration tool"
HOMEPAGE="https://www.slack.com"
-SRC_URI="https://downloads.slack-edge.com/linux_releases/${PN}-desktop-${PV}-amd64.deb"
+SRC_URI="https://downloads.slack-edge.com/releases/linux/${PV}/prod/x64/${PN}-desktop-${PV}-amd64.deb"
LICENSE="all-rights-reserved"
SLOT="0"