From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 4B3241382C5 for ; Fri, 30 Mar 2018 18:16:48 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5764CE0959; Fri, 30 Mar 2018 18:16:47 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1A3FDE0959 for ; Fri, 30 Mar 2018 18:16:47 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 569C9335D5F for ; Fri, 30 Mar 2018 18:16:45 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9C04C268 for ; Fri, 30 Mar 2018 18:16:43 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1522433797.1485323484724faad35067f91ed36e94e953e83d.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-im/slack-bin/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-im/slack-bin/Manifest net-im/slack-bin/slack-bin-3.1.0.ebuild X-VCS-Directories: net-im/slack-bin/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 1485323484724faad35067f91ed36e94e953e83d X-VCS-Branch: master Date: Fri, 30 Mar 2018 18:16:43 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: a1ac165e-7beb-4157-b528-9077c79c1b7c X-Archives-Hash: 9769772752777c580561e8f640517c60 commit: 1485323484724faad35067f91ed36e94e953e83d Author: Vladimir Pavljuchenkov (SpiderX) spiderx dp ua> AuthorDate: Thu Mar 22 13:22:26 2018 +0000 Commit: Michał Górny gentoo org> CommitDate: Fri Mar 30 18:16:37 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=14853234 net-im/slack-bin: version bump to 3.1.0 Closes: https://bugs.gentoo.org/646614 Closes: https://github.com/gentoo/gentoo/pull/7549 Package-Manager: Portage-2.3.24, Repoman-2.3.6 net-im/slack-bin/Manifest | 1 + net-im/slack-bin/slack-bin-3.1.0.ebuild | 94 +++++++++++++++++++++++++++++++++ 2 files changed, 95 insertions(+) diff --git a/net-im/slack-bin/Manifest b/net-im/slack-bin/Manifest index e0ecba8835d..e9ad71fec87 100644 --- a/net-im/slack-bin/Manifest +++ b/net-im/slack-bin/Manifest @@ -6,3 +6,4 @@ DIST slack-desktop-2.8.0-amd64.deb 51225854 BLAKE2B 746a11d85941272c53a9c7d2433c DIST slack-desktop-2.8.2-amd64.deb 51257834 BLAKE2B 85f06aa634b40f3ddd1450fcfaa044bf4cf9b5a7463525ac0ee98b07cd882e0b30e0a894c8ab2e2605e3db903e570c318d6d6cb968223d59abc5013053528547 SHA512 533b360ff22ff74743fb7323c08f01230509428e752aed2ed090bf002475934063e6c3853727ab030f6267ca332d783a045df02da02a3a12d045d6a168bf5b58 DIST slack-desktop-3.0.2-amd64.deb 55654542 BLAKE2B 70a1da6cc7be1313b02e74225ee87fbb93c0050f40301e0a02c01241efe91db9d09149fd8feeecf33786c657b53e8aec3a4d7563e61ae88e4b46f85bad27ded7 SHA512 29d7d96dbf4b81ac4164043c0cae0e314d94770b74118068684770763a52eed2a3fd430b4a307db2d133ad46cc57379a71415d92790946f5c1b448153c9bc2c1 DIST slack-desktop-3.0.5-amd64.deb 55664624 BLAKE2B ad53ab04debf12d5af79069132a6852b03b85d1e99fc318e1e118556adc709fcd77e3bf866eed53ba34411b451ca46be42094deb6e7effde4ae8a21c9ccf1123 SHA512 a8bf160440d46ced92f70b57d8998dec957cd3a4f56813193974a9c0693ff45ad6493f74b682a9590ad3b9fbe2ac3fc01586b052e5c16f7570b0eb1430d25b12 +DIST slack-desktop-3.1.0-amd64.deb 60324688 BLAKE2B bf9184ed49d31baa8b03d430091a965434ebdb13d0e85c4872fc5ee4101782b548c817388ef3f52b2c769dd23ed931c997d2b9efe56929dae8640918b4afca38 SHA512 8b7c93e54a24bdd3b83dcaef7dbef5fe2da62719a8c84d9c0c78236a077de30bf7ebc5c29e25228fd2306594abcf3733364f6075aa08ecce1de86cb0223986b0 diff --git a/net-im/slack-bin/slack-bin-3.1.0.ebuild b/net-im/slack-bin/slack-bin-3.1.0.ebuild new file mode 100644 index 00000000000..504150b0b29 --- /dev/null +++ b/net-im/slack-bin/slack-bin-3.1.0.ebuild @@ -0,0 +1,94 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +MY_PN="${PN/-bin/}" +MULTILIB_COMPAT=( abi_x86_64 ) + +inherit desktop gnome2-utils 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 pax_kernel" +RESTRICT="bindist mirror" + +RDEPEND="app-crypt/libsecret:0[${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}] + 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+:2[${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:2[${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_mimeinfo_database_update + gnome2_icon_cache_update +} + +pkg_postrm() { + xdg_desktop_database_update + xdg_mimeinfo_database_update + gnome2_icon_cache_update +}