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 77741138334 for ; Sun, 9 Jun 2019 10:50:43 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 79D13E0872; Sun, 9 Jun 2019 10:50:42 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 22BC2E0874 for ; Sun, 9 Jun 2019 10:50:42 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 A385E345ABA for ; Sun, 9 Jun 2019 10:50:40 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D832660A for ; Sun, 9 Jun 2019 10:50:38 +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: <1560077435.f0cf6a401d0e649bd6caa1e2bb5322eefb39cf98.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.4.2.ebuild X-VCS-Directories: net-im/slack-bin/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: f0cf6a401d0e649bd6caa1e2bb5322eefb39cf98 X-VCS-Branch: master Date: Sun, 9 Jun 2019 10:50:38 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 0cb67ca5-66e0-40ed-850e-d12e1144d223 X-Archives-Hash: f8de4b33a09cff7dc21f7711031f59b8 commit: f0cf6a401d0e649bd6caa1e2bb5322eefb39cf98 Author: Vladimir Pavljuchenkov (SpiderX) spiderx dp ua> AuthorDate: Sun Jun 2 12:06:38 2019 +0000 Commit: Michał Górny gentoo org> CommitDate: Sun Jun 9 10:50:35 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f0cf6a40 net-im/slack-bin: version bump to 3.4.2 Signed-off-by: Vladimir Pavljuchenkov spiderx.dp.ua> Package-Manager: Portage-2.3.66, Repoman-2.3.11 Closes: https://github.com/gentoo/gentoo/pull/12171 Signed-off-by: Michał Górny gentoo.org> net-im/slack-bin/Manifest | 1 + net-im/slack-bin/slack-bin-3.4.2.ebuild | 100 ++++++++++++++++++++++++++++++++ 2 files changed, 101 insertions(+) diff --git a/net-im/slack-bin/Manifest b/net-im/slack-bin/Manifest index 081595b3006..03d9ac427a3 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 BLAKE2B e5b3375efbe00d31e34c900aedde4 DIST slack-desktop-3.1.1-amd64.deb 60320286 BLAKE2B 3054e8283b41d5b8b45323131b2a85800ba8b8e24e0b80aa0eff0c0152c7cad0a2914bf64a6b83621cf6c9ad52b9bf26c0d113cf5867d4c3f2e7d6129d4d27ae SHA512 06f209b07d1bbbadede592f4e63da7c53436ecc821585448269d4eda16ad0bdf8355ac46e508741150fae6dc883c90563509361f47dd02fda2f15b2829dda309 DIST slack-desktop-3.3.8-amd64.deb 56743966 BLAKE2B 3673a55a300b56b645d69e18617fd58241c9f4ac5fec088660bb715c722b4b22b77db9302ca3d8f09338bb41be188998366e8c5f9f0a145d80391f82fbc5fb6f SHA512 f9a0414213bf0d1a8404f532a37b16bf47a43b8ecf6bb9be99184577b3b8c58e5f1b1b40a044550dc900d328b40207763de6eb3936e0b8ded709782796e81720 DIST slack-desktop-3.4.0-amd64.deb 56807282 BLAKE2B fa0637b98344983b66a5362b03e719260e7553cabad0d5ff294ac5051d8b2bf189722c82f328410c5ffdbe057dd782a51f81ba0f213ce36efee017c4febe8291 SHA512 7ae266b5bf13a89d66d35646005a4d5cb0de0143cba19ea450b226ac394de90c82b45d6798f39c7d27db6cad36db2c25f1f4ee06a436753cc49170eabc9fa6b8 +DIST slack-desktop-3.4.2-amd64.deb 62724122 BLAKE2B 31ab566b9a1cb80f1daa207664f4bf0504666cb388f06bf5cd5d381ab26f6b11a4eae5a4a0abd634dd562277fd291bddfb213b9285c4fab218488acc3bbd39a9 SHA512 d3d9ea70467fe59c6194430054d4bed5824a39b156ed9d215df4592eed7b63fbdb93d0a135502941805575f99bce0ec3fe266643cac731b75d9c58a760b3c1a4 diff --git a/net-im/slack-bin/slack-bin-3.4.2.ebuild b/net-im/slack-bin/slack-bin-3.4.2.ebuild new file mode 100644 index 00000000000..2ec99996f51 --- /dev/null +++ b/net-im/slack-bin/slack-bin-3.4.2.ebuild @@ -0,0 +1,100 @@ +# 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="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}] + 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 + opt/slack/libVkICD_mock_icd.so + opt/slack/libEGL.so + opt/slack/libGLESv2.so + opt/slack/swiftshader/libEGL.so + opt/slack/swiftshader/libGLESv2.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 +}