diff options
author | Vladimir Pavljuchenkov (SpiderX) <spiderx@spiderx.dp.ua> | 2019-03-15 18:51:52 +0200 |
---|---|---|
committer | Patrice Clement <monsieurp@gentoo.org> | 2019-03-18 23:52:01 +0100 |
commit | 130942804f218952ee4fa7919c6dd2772bde8762 (patch) | |
tree | 65d4ca9a16728b4dc6af13ba8752a906f96799a5 /net-im | |
parent | net-libs/pjproject: use HTTPS. (diff) | |
download | gentoo-130942804f218952ee4fa7919c6dd2772bde8762.tar.gz gentoo-130942804f218952ee4fa7919c6dd2772bde8762.tar.bz2 gentoo-130942804f218952ee4fa7919c6dd2772bde8762.zip |
net-im/slack-bin: version bump to 3.3.8, EAPI 7.
1. Version bump to 3.3.8
2. Moved to EAPI 7
3. Replaced deprecated gnome2_icon_cache_update by xdg_icon_cache_update
4. Removed gnome2-utils eclass
Closes: https://bugs.gentoo.org/680316
Signed-off-by: Vladimir Pavljuchenkov <spiderx@spiderx.dp.ua>
Package-Manager: Portage-2.3.62, Repoman-2.3.11
Closes: https://github.com/gentoo/gentoo/pull/11375
Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
Diffstat (limited to 'net-im')
-rw-r--r-- | net-im/slack-bin/Manifest | 1 | ||||
-rw-r--r-- | net-im/slack-bin/slack-bin-3.3.8.ebuild | 94 |
2 files changed, 95 insertions, 0 deletions
diff --git a/net-im/slack-bin/Manifest b/net-im/slack-bin/Manifest index dbb410224739..fa0a0712cb88 100644 --- a/net-im/slack-bin/Manifest +++ b/net-im/slack-bin/Manifest @@ -5,3 +5,4 @@ DIST slack-desktop-3.3.1-amd64.deb 54172074 BLAKE2B 88402ce58e02e20a2c5a90358b97 DIST slack-desktop-3.3.3-amd64.deb 54203216 BLAKE2B 93f72a2a7ead75682b9ef9bd9f9b5ec19a5954d20e4ef3da214154eb53fd21533fac4e07893d883b7f9a51fd3af4e53f4b7102a0bee060d23f98b15bbc9207e9 SHA512 bb773ddc9cb13f520143412f73d47e308410d861fa63ca13a986d2c390900c59827b2cca6c55175a2778b341c534b0aab49841a4506f63d11359cada57473b67 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 diff --git a/net-im/slack-bin/slack-bin-3.3.8.ebuild b/net-im/slack-bin/slack-bin-3.3.8.ebuild new file mode 100644 index 000000000000..3db3b00c13ef --- /dev/null +++ b/net-im/slack-bin/slack-bin-3.3.8.ebuild @@ -0,0 +1,94 @@ +# 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="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 +} |