public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Jason A. Donenfeld" <zx2c4@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-im/slack-bin/
Date: Wed,  5 Feb 2020 11:55:03 +0000 (UTC)	[thread overview]
Message-ID: <1580903684.08e18230bca72b93af970bdee1d78dd29b12e760.zx2c4@gentoo> (raw)

commit:     08e18230bca72b93af970bdee1d78dd29b12e760
Author:     Vladimir Pavljuchenkov (SpiderX) <spiderx <AT> spiderx <DOT> dp <DOT> ua>
AuthorDate: Sat Jan 18 16:09:15 2020 +0000
Commit:     Jason A. Donenfeld <zx2c4 <AT> gentoo <DOT> org>
CommitDate: Wed Feb  5 11:54:44 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=08e18230

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

Closes: https://bugs.gentoo.org/705660
Package-Manager: Portage-2.3.79, Repoman-2.3.16
Signed-off-by: Vladimir Pavljuchenkov <spiderx <AT> spiderx.dp.ua>
Signed-off-by: Jason A. Donenfeld <zx2c4 <AT> gentoo.org>

 net-im/slack-bin/Manifest               |   1 +
 net-im/slack-bin/slack-bin-4.2.0.ebuild | 101 ++++++++++++++++++++++++++++++++
 2 files changed, 102 insertions(+)

diff --git a/net-im/slack-bin/Manifest b/net-im/slack-bin/Manifest
index 6e9a1cd44ec..ced0c549adf 100644
--- a/net-im/slack-bin/Manifest
+++ b/net-im/slack-bin/Manifest
@@ -2,3 +2,4 @@ DIST slack-desktop-2.1.2-amd64.deb 46460486 BLAKE2B c6478764d3bd49745f9626d85287
 DIST slack-desktop-2.1.2-i386.deb 42997902 BLAKE2B e5b3375efbe00d31e34c900aedde4c6c19b0e6a550d9db6155d9f8333c9d6db241da60e9b711eee7dbf6cf89d5ac4b84050c9e89c490172b7db205f38981dca3 SHA512 6b68123d3c85687043e886974449fe424af267c326ffc869d03d911ae5d0f30f5081b611e136bc4f832da8d555b2851a4c093df9c8be2de98235ebcd03528d8c
 DIST slack-desktop-3.1.1-amd64.deb 60320286 BLAKE2B 3054e8283b41d5b8b45323131b2a85800ba8b8e24e0b80aa0eff0c0152c7cad0a2914bf64a6b83621cf6c9ad52b9bf26c0d113cf5867d4c3f2e7d6129d4d27ae SHA512 06f209b07d1bbbadede592f4e63da7c53436ecc821585448269d4eda16ad0bdf8355ac46e508741150fae6dc883c90563509361f47dd02fda2f15b2829dda309
 DIST slack-desktop-4.1.1-amd64.deb 57986912 BLAKE2B eb90dff156eb826f8f15c3ab7c7c7127a321cd73011a11c6e24bc75721f4fa981980ad5b65e4accdce2fb893ac5ad8ddba42133de8285d8a9e10ac08bdb3ed70 SHA512 57b3e7a5a81406047bb9f8f8bb8ac322d3c801fe21919a388ac1457ccc68e50dab961c86a0e36ba9bb308e1832dc2ad00a038cddbad8ea9cc70ac186b37fec7c
+DIST slack-desktop-4.2.0-amd64.deb 50132376 BLAKE2B eb12f475b4d395a4d4f34c8f2bc22a1d3462901a7e96a65f219325ba4abd258d87e1fd3e4fb9bc800fccdf7b9a46b17fd7a43564ff1e39f9941fbc9e3ef19dbc SHA512 ab04639a7db404845f9a165a3177cd647e990675a057d043704e1087588cb916d4b99aa850fe41305131cd6142d61f993673f70bcd83183c52ce9838c94f2996

diff --git a/net-im/slack-bin/slack-bin-4.2.0.ebuild b/net-im/slack-bin/slack-bin-4.2.0.ebuild
new file mode 100644
index 00000000000..010dee24895
--- /dev/null
+++ b/net-im/slack-bin/slack-bin-4.2.0.ebuild
@@ -0,0 +1,101 @@
+# Copyright 1999-2020 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="https://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"
+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}]
+	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}]
+	sys-apps/util-linux: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/chrome-sandbox
+	opt/slack/slack
+	opt/slack/resources/app.asar.unpacked/node_modules/*
+	opt/slack/libffmpeg.so
+	opt/slack/libEGL.so
+	opt/slack/libGLESv2.so
+	opt/slack/swiftshader/libEGL.so
+	opt/slack/swiftshader/libGLESv2.so"
+
+S="${WORKDIR}"
+
+src_prepare() {
+	default
+
+	# remove hardcoded path (wrt 694058)
+	sed -i '/Icon/s|/usr/share/pixmaps/slack.png|slack|' \
+		usr/share/applications/slack.desktop \
+		|| die "sed failed in Icon for slack.desktop"
+
+	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
+
+	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	other threads:[~2020-02-05 11:55 UTC|newest]

Thread overview: 43+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-05 11:55 Jason A. Donenfeld [this message]
  -- strict thread matches above, loose matches on Subject: below --
2020-03-14  9:55 [gentoo-commits] repo/gentoo:master commit in: net-im/slack-bin/ Joonas Niilola
2020-02-08 16:25 David Seifert
2020-02-06  6:20 Joonas Niilola
2020-02-06  6:20 Joonas Niilola
2020-02-06  6:20 Joonas Niilola
2020-02-06  2:06 Andreas Sturmlechner
2020-02-05 11:55 Jason A. Donenfeld
2020-02-05 11:55 Jason A. Donenfeld
2019-09-05 18:28 Joonas Niilola
2019-09-05 18:28 Joonas Niilola
2019-06-09 10:50 Michał Górny
2019-05-09  1:19 Georgy Yakovlev
2019-05-09  1:19 Georgy Yakovlev
2019-05-09  1:19 Georgy Yakovlev
2019-03-18 22:53 Patrice Clement
2019-01-18 15:49 Matthew Thode
2019-01-15 18:43 Matthew Thode
2018-10-13 13:43 Michał Górny
2018-10-13 13:43 Michał Górny
2018-09-09 15:46 Amy Liffey
2018-07-08 19:23 Andreas Sturmlechner
2018-07-08 19:23 Andreas Sturmlechner
2018-06-17 21:32 Michał Górny
2018-05-13 19:25 Aaron Bauman
2018-05-13 19:25 Aaron Bauman
2018-05-13 19:25 Aaron Bauman
2018-03-30 18:16 Michał Górny
2018-02-09  9:33 Michał Górny
2018-02-09  9:33 Michał Górny
2018-01-14  9:17 Michael Palimaka
2017-10-28 13:37 Patrice Clement
2017-09-22 13:54 Patrice Clement
2017-07-15 11:25 Michał Górny
2017-07-11 20:01 Michał Górny
2017-07-11 20:01 Michał Górny
2017-07-11 20:01 Michał Górny
2017-07-11 20:01 Michał Górny
2017-07-11 20:01 Michał Górny
2017-03-16 19:13 David Seifert
2017-01-21 21:14 Patrice Clement
2017-01-15  2:26 Göktürk Yüksek
2016-09-27 20:29 Patrice Clement

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1580903684.08e18230bca72b93af970bdee1d78dd29b12e760.zx2c4@gentoo \
    --to=zx2c4@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox