diff options
author | Sergey Shiryaev <sergey@shiryaev.pro> | 2017-02-11 22:19:05 +0300 |
---|---|---|
committer | Patrice Clement <monsieurp@gentoo.org> | 2017-02-13 17:13:45 +0100 |
commit | 6328aecccebee6739ec1d6fdd52e804fb58ff5de (patch) | |
tree | 50f2a7d78188f28e4ba179c0a5302f85bff93108 | |
parent | app-text/paperwork: 1.1.1 bump (diff) | |
download | gentoo-6328aecccebee6739ec1d6fdd52e804fb58ff5de.tar.gz gentoo-6328aecccebee6739ec1d6fdd52e804fb58ff5de.tar.bz2 gentoo-6328aecccebee6739ec1d6fdd52e804fb58ff5de.zip |
net-im/mattermost-desktop-bin: new package.
Gentoo-Bug: https://bugs.gentoo.org/608646
Mattermost is a Slack-like free software team communication service. It brings
team messaging and file sharing into one place, accessible across PCs and
phones, with archiving and search.
Closes: https://github.com/gentoo/gentoo/pull/3919
-rw-r--r-- | net-im/mattermost-desktop-bin/Manifest | 3 | ||||
-rw-r--r-- | net-im/mattermost-desktop-bin/mattermost-desktop-bin-3.5.0.ebuild | 64 | ||||
-rw-r--r-- | net-im/mattermost-desktop-bin/metadata.xml | 8 |
3 files changed, 75 insertions, 0 deletions
diff --git a/net-im/mattermost-desktop-bin/Manifest b/net-im/mattermost-desktop-bin/Manifest new file mode 100644 index 000000000000..8d273109d9e3 --- /dev/null +++ b/net-im/mattermost-desktop-bin/Manifest @@ -0,0 +1,3 @@ +DIST 3.5.0.tar.gz 763198 SHA256 9948a5647906c6e759961072f838cebb38c5649a112fe9d053b90ec13e2c564c SHA512 06924e4ce18cbe8fd50c0742a74b0a2ec732c7a419bb741c6991097a0a7be01afdfc4ce43125856508aa06750e35d12ce34d06a1e5d6eb6ddd14e81a0a6dffba WHIRLPOOL 00e696a34a3c509cf3a15bdc7eb15043eb3141ef6f0aea0e7a2154485093260819e494c46c57d9d7c3a9a293991e35754cfdbb342657d3599d974d8c31f07d14 +DIST mattermost-desktop-3.5.0-linux-ia32.tar.gz 48847084 SHA256 116e2e5a8892de5b640da58b82eb593b98f62882486f972d015f623862e282b7 SHA512 cdb363ca5c13090ec484976a55efdc398549d6cfaefe19619443433f0cd8382ef00b1a65dc3e82caf4b7b7535e903392e9a51abcece131d4ea9c31661c024e99 WHIRLPOOL 14dc96fdeda67ac8fcbfe1a2eb3fc785c9bb342a34179a7948b60876c962ab31d30777ff2f7940f217ff2c9ca0a6d9422b091cb71065cccdc4cb63152c15c9d5 +DIST mattermost-desktop-3.5.0-linux-x64.tar.gz 47617590 SHA256 a00d98b1cb921e2584a78a75c7b86b936780b788dbb9898b3cba0405bfe33cec SHA512 b9bd3a9c3e3c63fd45764916acbde863c9297b9c6a5fcf6f6321d19945709b6f8d50842bec880d003c0ca5555bde0d46725a485557f8cbfb36fdf36875915f13 WHIRLPOOL a5513503d6f756e9aebdb2ac7ec3c25db96254ea2004d4905071a8c09728874ca29d657438ceac5f4fadde7ccc624349b3e25db4109e13bb49602c52ed590d6d diff --git a/net-im/mattermost-desktop-bin/mattermost-desktop-bin-3.5.0.ebuild b/net-im/mattermost-desktop-bin/mattermost-desktop-bin-3.5.0.ebuild new file mode 100644 index 000000000000..46a1cc78a8a5 --- /dev/null +++ b/net-im/mattermost-desktop-bin/mattermost-desktop-bin-3.5.0.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +inherit eutils gnome2-utils + +DESCRIPTION="Mattermost Desktop application" +HOMEPAGE="https://about.mattermost.com/" +SRC_URI="https://github.com/mattermost/desktop/archive/v${PV}.tar.gz -> ${PV}.tar.gz + amd64? ( https://releases.mattermost.com/desktop/3.5.0/mattermost-desktop-${PV}-linux-x64.tar.gz ) + x86? ( https://releases.mattermost.com/desktop/3.5.0/mattermost-desktop-${PV}-linux-ia32.tar.gz ) +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="-* ~amd64 ~x86" +IUSE="" +RESTRICT="mirror" + +DEPEND="" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/mattermost-desktop-${PV}" +QA_PREBUILT="opt/mattermost-desktop/mattermost-desktop + opt/mattermost-desktop/libnode.so + opt/mattermost-desktop/libffmpeg.so +" + +src_install() { + insinto /opt/mattermost-desktop/locales + doins locales/*.pak + + insinto /opt/mattermost-desktop/resources + doins resources/*.asar + + insinto /opt/mattermost-desktop + doins *.pak + doins *.bin + doins *.dat + + exeinto /opt/mattermost-desktop + + doexe *.so + doexe mattermost-desktop + + dosym /opt/mattermost-desktop/mattermost-desktop /opt/bin/mattermost-desktop + + newicon "${S}/icon.png" mattermost-desktop.png + make_desktop_entry mattermost-desktop Mattermost mattermost-desktop +} + +pkg_preinst() { + gnome2_icon_savelist +} + +pkg_postinst() { + gnome2_icon_cache_update +} + +pkg_postrm() { + gnome2_icon_cache_update +} diff --git a/net-im/mattermost-desktop-bin/metadata.xml b/net-im/mattermost-desktop-bin/metadata.xml new file mode 100644 index 000000000000..f8151855e277 --- /dev/null +++ b/net-im/mattermost-desktop-bin/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <!-- maintainer-needed --> + <upstream> + <remote-id type="github">mattermost/desktop</remote-id> + </upstream> +</pkgmetadata> |