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.2.ebuild | 80 |
2 files changed, 81 insertions, 0 deletions
diff --git a/net-im/slack-bin/Manifest b/net-im/slack-bin/Manifest index d79d4f317d62..fc0920bd3e7d 100644 --- a/net-im/slack-bin/Manifest +++ b/net-im/slack-bin/Manifest @@ -3,3 +3,4 @@ DIST slack-desktop-2.1.2-i386.deb 42997902 SHA256 cc9660d95f5ce765c18b35191e2475 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 +DIST slack-desktop-2.8.2-amd64.deb 51257834 SHA256 75661e19efc7c9760f481a9688e5d6e24a2bdc830bda60ca5ec9876a64fc2f05 SHA512 533b360ff22ff74743fb7323c08f01230509428e752aed2ed090bf002475934063e6c3853727ab030f6267ca332d783a045df02da02a3a12d045d6a168bf5b58 WHIRLPOOL f224a3e561bbd75c41ecfd3384bc46b287f3b30ced14887166c2201d6a7175ce3b910fd56478dcbcfc951759d31ef0f0fd714e82fd4097f1d43eccdfb293aac4 diff --git a/net-im/slack-bin/slack-bin-2.8.2.ebuild b/net-im/slack-bin/slack-bin-2.8.2.ebuild new file mode 100644 index 000000000000..02da826eadc2 --- /dev/null +++ b/net-im/slack-bin/slack-bin-2.8.2.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 +} |