summaryrefslogtreecommitdiff
path: root/net-im
diff options
context:
space:
mode:
authorVladimir Pavljuchenkov (SpiderX) <spiderx@spiderx.dp.ua>2017-01-08 12:24:46 +0200
committerGöktürk Yüksek <gokturk@gentoo.org>2017-01-14 21:12:59 -0500
commit29920663df8cf6a8d9568591287d1b8e7123cccc (patch)
treef734d8528431b45855e25eb2a618028c55df639c /net-im
parentdev-perl/List-MoreUtils: add ~m68k keyword (diff)
downloadgentoo-29920663df8cf6a8d9568591287d1b8e7123cccc.tar.gz
gentoo-29920663df8cf6a8d9568591287d1b8e7123cccc.tar.bz2
gentoo-29920663df8cf6a8d9568591287d1b8e7123cccc.zip
net-im/slack-bin: version bump
1. Bump to 2.3.4 2. Dropped x86 support, because upstream does not provide a package for this arch anymore. 3. Reworked RDEPEND. Package-Manager: portage-2.3.0
Diffstat (limited to 'net-im')
-rw-r--r--net-im/slack-bin/Manifest1
-rw-r--r--net-im/slack-bin/slack-bin-2.3.4.ebuild82
2 files changed, 83 insertions, 0 deletions
diff --git a/net-im/slack-bin/Manifest b/net-im/slack-bin/Manifest
index b774bc33ab83..a833c6198e14 100644
--- a/net-im/slack-bin/Manifest
+++ b/net-im/slack-bin/Manifest
@@ -1,2 +1,3 @@
DIST slack-desktop-2.1.2-amd64.deb 46460486 SHA256 46576dbe929d4d60d0311056c0268d22dfaa58edc6774ce8a7e61873414bbf2e SHA512 b23ccee498c2c6d043bdb4632b1b2755b3f0a96a1d78338020fb4221c49b7feeb437cc358abcf285e0f0a0f7b57f4db6792b2baa8b339596a287f1272ed12284 WHIRLPOOL 7b9dbf46c988dce1837318c4568ef7357481058593d80d0d00f0b8924a1ead28d8aaf3548d7e1f095d62042a05d721ba047658fcbb1758aad1ea006e69c74dcf
DIST slack-desktop-2.1.2-i386.deb 42997902 SHA256 cc9660d95f5ce765c18b35191e2475d6bd272affc6d47f176759cc202910ddb4 SHA512 6b68123d3c85687043e886974449fe424af267c326ffc869d03d911ae5d0f30f5081b611e136bc4f832da8d555b2851a4c093df9c8be2de98235ebcd03528d8c WHIRLPOOL 80514dc501a94652bb54dad205224ee73cc4abd12f356aaf2b454aff67f99b4a16ec88bde0f9c541dbbddfcb8739df040656ca6c91b42b2947d6862743be41a8
+DIST slack-desktop-2.3.4-amd64.deb 47476802 SHA256 cd855c11dc95f41c691c1cbb8ec8dd2c2df5eb253a9f98bd8d9e3824553d7906 SHA512 36770884dbc1a2304bb61a6a4ccd76976ad3f19f7337063db4e16f83ffa255f82c88ef13676998eb3f4543733bbc31d7ab7172ae848801f722f75525035151e8 WHIRLPOOL 8274f6cca770ed6038d046a7bc49275988ab7b59708197f2646134479f2580a537c1d4e62e2866def949d643a403a453e95bf5ebf9bf978707765f79e234073b
diff --git a/net-im/slack-bin/slack-bin-2.3.4.ebuild b/net-im/slack-bin/slack-bin-2.3.4.ebuild
new file mode 100644
index 000000000000..08b40275c9a9
--- /dev/null
+++ b/net-im/slack-bin/slack-bin-2.3.4.ebuild
@@ -0,0 +1,82 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+MY_PN="${PN/-bin/}"
+
+inherit eutils gnome2-utils unpacker
+
+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="no-source-code"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+RESTRICT="mirror"
+
+RDEPEND="dev-libs/atk:0
+ dev-libs/expat:0
+ dev-libs/glib:2
+ dev-libs/nspr:0
+ dev-libs/nss:0
+ gnome-base/gconf:2
+ gnome-base/libgnome-keyring:0
+ media-libs/alsa-lib:0
+ media-libs/fontconfig:1.0
+ media-libs/freetype:2
+ net-misc/curl:0
+ net-print/cups:0
+ sys-apps/dbus:0
+ x11-libs/cairo:0
+ x11-libs/gdk-pixbuf:2
+ x11-libs/gtk+:2
+ x11-libs/libX11:0
+ x11-libs/libXcomposite:0
+ x11-libs/libXcursor:0
+ x11-libs/libXdamage:0
+ x11-libs/libXext:0
+ x11-libs/libXfixes:0
+ x11-libs/libXi:0
+ x11-libs/libXrandr:0
+ x11-libs/libXrender:0
+ x11-libs/libXScrnSaver:0
+ x11-libs/libXtst:0
+ x11-libs/pango:0"
+
+QA_PREBUILT="opt/slack/slack
+ opt/slack/resources/app.asar.unpacked/node_modules/*
+ opt/slack/libnode.so
+ opt/slack/libgcrypt.so.11
+ opt/slack/libffmpeg.so
+ opt/slack/libCallsCore.so"
+
+S="${WORKDIR}"
+
+src_install() {
+ insinto /usr/share/pixmaps
+ doins usr/share/pixmaps/${MY_PN}.png
+
+ newicon -s 512 usr/share/pixmaps/${MY_PN}.png ${MY_PN}.png
+ domenu usr/share/applications/${MY_PN}.desktop
+
+ insinto /opt/${MY_PN}
+ doins -r usr/lib/${MY_PN}/.
+ fperms +x /opt/${MY_PN}/${MY_PN}
+ dosym /opt/${MY_PN}/${MY_PN} /usr/bin/${MY_PN}
+}
+
+pkg_preinst() {
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+}