commit:     2e16f952fba92f886cfa96bc0bffb71af406b815
Author:     Vladimir Pavljuchenkov (SpiderX) <spiderx <AT> spiderx <DOT> dp 
<DOT> ua>
AuthorDate: Sat May  4 15:08:05 2019 +0000
Commit:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Thu May  9 01:19:20 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2e16f952

net-im/slack-bin: version bump to 3.4.0

1. version bump to 3.4.0
2. added app-accessibility/at-spi2-atk to RDEPEND

Closes: https://bugs.gentoo.org/684926
Signed-off-by: Vladimir Pavljuchenkov <spiderx <AT> spiderx.dp.ua>
Package-Manager: Portage-2.3.62, Repoman-2.3.11
Closes: https://github.com/gentoo/gentoo/pull/11897
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>

 net-im/slack-bin/Manifest               |  1 +
 net-im/slack-bin/slack-bin-3.4.0.ebuild | 95 +++++++++++++++++++++++++++++++++
 2 files changed, 96 insertions(+)

diff --git a/net-im/slack-bin/Manifest b/net-im/slack-bin/Manifest
index fa0a0712cb8..9a2f18329f4 100644
--- a/net-im/slack-bin/Manifest
+++ b/net-im/slack-bin/Manifest
@@ -6,3 +6,4 @@ DIST slack-desktop-3.3.3-amd64.deb 54203216 BLAKE2B 
93f72a2a7ead75682b9ef9bd9f9b
 DIST slack-desktop-3.3.4-amd64.deb 56404428 BLAKE2B 
15e39e88f287a296f3f11a15f35602d2103263b2886f037674e4b8fc0f7b533980ab835de3862a92434b63eb0a466f1f6ee4db4e41026e2c609d6e52dd392463
 SHA512 
1c2f889ed6194191adf8892bb288ee2e53476b78bc7dbb48c9e5c516f010e47b486059ab1dad87ff41e747e74a10a43398027dfb3cb971103e70f00f58e6bd4c
 DIST slack-desktop-3.3.7-amd64.deb 56596720 BLAKE2B 
d463172b6528a98366b61b2e23c0bbfb8f7285387f7c0815b28977602f1b05954f1a89cae0ecf127acd79b771655ea5c7551bb0d7207b07b0e7790886c21e7d6
 SHA512 
b61f32a7f9ee4c40c10dbc70e0ab1c4371fd63610217348b2177c48f9ec17500e34ca5a09f38812543b62fd888cbc0344ad258d37d0b570fa91e4c262451e18a
 DIST slack-desktop-3.3.8-amd64.deb 56743966 BLAKE2B 
3673a55a300b56b645d69e18617fd58241c9f4ac5fec088660bb715c722b4b22b77db9302ca3d8f09338bb41be188998366e8c5f9f0a145d80391f82fbc5fb6f
 SHA512 
f9a0414213bf0d1a8404f532a37b16bf47a43b8ecf6bb9be99184577b3b8c58e5f1b1b40a044550dc900d328b40207763de6eb3936e0b8ded709782796e81720
+DIST slack-desktop-3.4.0-amd64.deb 56807282 BLAKE2B 
fa0637b98344983b66a5362b03e719260e7553cabad0d5ff294ac5051d8b2bf189722c82f328410c5ffdbe057dd782a51f81ba0f213ce36efee017c4febe8291
 SHA512 
7ae266b5bf13a89d66d35646005a4d5cb0de0143cba19ea450b226ac394de90c82b45d6798f39c7d27db6cad36db2c25f1f4ee06a436753cc49170eabc9fa6b8

diff --git a/net-im/slack-bin/slack-bin-3.4.0.ebuild 
b/net-im/slack-bin/slack-bin-3.4.0.ebuild
new file mode 100644
index 00000000000..c167031694c
--- /dev/null
+++ b/net-im/slack-bin/slack-bin-3.4.0.ebuild
@@ -0,0 +1,95 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+MY_PN="${PN/-bin/}"
+MULTILIB_COMPAT=( abi_x86_64 )
+
+inherit desktop multilib-build pax-utils unpacker xdg-utils
+
+DESCRIPTION="Team collaboration tool"
+HOMEPAGE="http://www.slack.com/";
+SRC_URI="https://downloads.slack-edge.com/linux_releases/${MY_PN}-desktop-${PV}-amd64.deb";
+
+LICENSE="all-rights-reserved"
+SLOT="0"
+KEYWORDS="-* ~amd64"
+IUSE="ayatana gnome-keyring pax_kernel"
+RESTRICT="bindist mirror"
+
+RDEPEND="app-accessibility/at-spi2-atk: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}]
+       gnome-base/gconf:2[${MULTILIB_USEDEP}]
+       media-libs/alsa-lib:0[${MULTILIB_USEDEP}]
+       media-libs/fontconfig:1.0[${MULTILIB_USEDEP}]
+       media-libs/freetype:2[${MULTILIB_USEDEP}]
+       net-misc/curl: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/libX11:0[${MULTILIB_USEDEP}]
+       x11-libs/libxcb:0/1.12[${MULTILIB_USEDEP}]
+       x11-libs/libXcomposite:0[${MULTILIB_USEDEP}]
+       x11-libs/libXcursor:0[${MULTILIB_USEDEP}]
+       x11-libs/libXdamage:0[${MULTILIB_USEDEP}]
+       x11-libs/libXext:0[${MULTILIB_USEDEP}]
+       x11-libs/libXfixes:0[${MULTILIB_USEDEP}]
+       x11-libs/libXi:0[${MULTILIB_USEDEP}]
+       x11-libs/libxkbfile:0[${MULTILIB_USEDEP}]
+       x11-libs/libXrandr:0[${MULTILIB_USEDEP}]
+       x11-libs/libXrender:0[${MULTILIB_USEDEP}]
+       x11-libs/libXScrnSaver:0[${MULTILIB_USEDEP}]
+       x11-libs/libXtst:0[${MULTILIB_USEDEP}]
+       x11-libs/pango:0[${MULTILIB_USEDEP}]
+       ayatana? ( dev-libs/libappindicator:3[${MULTILIB_USEDEP}] )
+       gnome-keyring? ( app-crypt/libsecret:0[${MULTILIB_USEDEP}] )"
+
+QA_PREBUILT="opt/slack/slack
+       opt/slack/resources/app.asar.unpacked/node_modules/*
+       opt/slack/libnode.so
+       opt/slack/libffmpeg.so
+       opt/slack/libCallsCore.so"
+
+S="${WORKDIR}"
+
+src_prepare() {
+       default
+
+       if use ayatana ; then
+               sed -i '/Exec/s|=|=env XDG_CURRENT_DESKTOP=Unity |' \
+                       usr/share/applications/slack.desktop \
+                       || die "sed failed for slack.desktop"
+       fi
+}
+
+src_install() {
+       doicon usr/share/pixmaps/slack.png
+       doicon -s 512 usr/share/pixmaps/slack.png
+       domenu usr/share/applications/slack.desktop
+
+       insinto /opt/slack
+       doins -r usr/lib/slack/.
+       fperms +x /opt/slack/slack
+       dosym ../../opt/slack/slack usr/bin/slack
+
+       use pax_kernel && pax-mark -m "${ED%/}"/opt/slack/slack
+}
+
+pkg_postinst() {
+       xdg_desktop_database_update
+       xdg_icon_cache_update
+       xdg_mimeinfo_database_update
+}
+
+pkg_postrm() {
+       xdg_desktop_database_update
+       xdg_icon_cache_update
+       xdg_mimeinfo_database_update
+}

Reply via email to