diff options
Diffstat (limited to 'net-im')
-rw-r--r-- | net-im/slack-bin/Manifest | 1 | ||||
-rw-r--r-- | net-im/slack-bin/slack-bin-2.8.0.ebuild | 80 |
2 files changed, 81 insertions, 0 deletions
diff --git a/net-im/slack-bin/Manifest b/net-im/slack-bin/Manifest index 6f6803ff7889..d79d4f317d62 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 SHA256 46576dbe929d4d60d0311056c0268 DIST slack-desktop-2.1.2-i386.deb 42997902 SHA256 cc9660d95f5ce765c18b35191e2475d6bd272affc6d47f176759cc202910ddb4 SHA512 6b68123d3c85687043e886974449fe424af267c326ffc869d03d911ae5d0f30f5081b611e136bc4f832da8d555b2851a4c093df9c8be2de98235ebcd03528d8c WHIRLPOOL 80514dc501a94652bb54dad205224ee73cc4abd12f356aaf2b454aff67f99b4a16ec88bde0f9c541dbbddfcb8739df040656ca6c91b42b2947d6862743be41a8 DIST slack-desktop-2.5.2-amd64.deb 47812458 SHA256 b176a9d292319a5157af4d1fb84cb07111d04ef517663df1f6dc5a8a8296e855 SHA512 0e8f305e33c17884bbb71cdcc236a602918e8596b00c525f155a1e0740ac02d0f99256b2afabe4381a09e6cd06e425f99b9d219bea43f113b9488c9bb0929ca9 WHIRLPOOL 692273af0c9fb6f3fd3871004e2fd7c9eae9ad58c5fb2e4a81695cadaab5a49a6f397f5bfde44af701b2cb08665d66a1820f98c90ac33c26ede7beac1fd9c960 DIST slack-desktop-2.6.3-amd64.deb 51434914 SHA256 ec11c05e954b1291f2503bbbd9d0b371190bdf157b2d973e54fa42418ea1e2f0 SHA512 943abc3084e395277c41f7a42feffcdeb184900c9cf0bce58bbbe6891d23b97b937fa8d47a1200e9aaa62ed0f7d4b6e3f24d41cd610cd185df570e58c31640bf WHIRLPOOL 0cc64b62f13388fc75b131b18cf8f753c5408d072818b6f6a4c260cc24173580ffe04bc671fc2066dcaac53464c59fea3d475c3cecae570fcbcff0a148673cba +DIST slack-desktop-2.8.0-amd64.deb 51225854 SHA256 15626e80dfef62d9f26d1c46987f4a6b333d722d49513797913e238741c4700a SHA512 9a3a8c4eec95583cde76003e99679dda9d6e44692258242bef888043666d589da8a7a5d68898f61e645a6810291ef36fea9551834c3d2fbec8e3baa6a84313d0 WHIRLPOOL d4ebec25adb2a5d18ac45e3eebfa90c5a72d04150c0e78b616219864cfe6fdcff17f16b5cf55d589b779f4d2308165919b7d1527dae1d6c439f4e1eb84d7f5ec diff --git a/net-im/slack-bin/slack-bin-2.8.0.ebuild b/net-im/slack-bin/slack-bin-2.8.0.ebuild new file mode 100644 index 000000000000..02da826eadc2 --- /dev/null +++ b/net-im/slack-bin/slack-bin-2.8.0.ebuild @@ -0,0 +1,80 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +MY_PN="${PN/-bin/}" + +inherit eutils gnome2-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="" +RESTRICT="bindist mirror" + +RDEPEND="app-crypt/libsecret:0 + dev-libs/atk:0 + dev-libs/expat:0 + dev-libs/glib:2 + dev-libs/nspr:0 + dev-libs/nss:0 + gnome-base/gconf:2 + 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/libxcb:0/1.12 + 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/libxkbfile: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/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_postinst() { + xdg_desktop_database_update + gnome2_icon_cache_update +} + +pkg_postrm() { + xdg_desktop_database_update + gnome2_icon_cache_update +} |