From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1180755-garchives=archives.gentoo.org@lists.gentoo.org>
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 4A2DA1382C5
	for <garchives@archives.gentoo.org>; Fri, 19 Jun 2020 15:30:34 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 7CA12E0829;
	Fri, 19 Jun 2020 15:30:33 +0000 (UTC)
Received: from smtp.gentoo.org (dev.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 3868FE0829
	for <gentoo-commits@lists.gentoo.org>; Fri, 19 Jun 2020 15:30:33 +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 78D3234F070
	for <gentoo-commits@lists.gentoo.org>; Fri, 19 Jun 2020 15:30:05 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id D968B175
	for <gentoo-commits@lists.gentoo.org>; Fri, 19 Jun 2020 15:30:03 +0000 (UTC)
From: "Matthew Thode" <prometheanfire@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Matthew Thode" <prometheanfire@gentoo.org>
Message-ID: <1592580598.108d6a0c512b52ceffcc13e2809e6b54f08dd25b.prometheanfire@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: net-im/mattermost-desktop-bin/
X-VCS-Repository: repo/gentoo
X-VCS-Files: net-im/mattermost-desktop-bin/Manifest net-im/mattermost-desktop-bin/mattermost-desktop-bin-4.5.0.ebuild
X-VCS-Directories: net-im/mattermost-desktop-bin/
X-VCS-Committer: prometheanfire
X-VCS-Committer-Name: Matthew Thode
X-VCS-Revision: 108d6a0c512b52ceffcc13e2809e6b54f08dd25b
X-VCS-Branch: master
Date: Fri, 19 Jun 2020 15:30:03 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 74fbce6a-3577-4dda-983f-8c6c566c6308
X-Archives-Hash: 4266b3ab6944500f936d2aa8ad0423e8

commit:     108d6a0c512b52ceffcc13e2809e6b54f08dd25b
Author:     Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 19 15:29:42 2020 +0000
Commit:     Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
CommitDate: Fri Jun 19 15:29:58 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=108d6a0c

net-im/mattermost-desktop-bin: 4.5.0 bump

Closes: https://bugs.gentoo.org/728772
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Matthew Thode <prometheanfire <AT> gentoo.org>

 net-im/mattermost-desktop-bin/Manifest             |  3 +
 .../mattermost-desktop-bin-4.5.0.ebuild            | 93 ++++++++++++++++++++++
 2 files changed, 96 insertions(+)

diff --git a/net-im/mattermost-desktop-bin/Manifest b/net-im/mattermost-desktop-bin/Manifest
index ad4413e17c1..9eff5effad3 100644
--- a/net-im/mattermost-desktop-bin/Manifest
+++ b/net-im/mattermost-desktop-bin/Manifest
@@ -1,3 +1,6 @@
 DIST mattermost-desktop-4.4.0-linux-ia32.tar.gz 95565337 BLAKE2B f81d381656d812274b1d54740d8bd1e1aacc47762c279a4edd1fb2ad9fdd595b2575a92825a37c1b12ab4a0a98423905ba605040cac8f7ababefe946a6bacd1e SHA512 412ebe5c110528372ad462d24c395125c46fe0930515a09ff705693cdd905a71037bd3672c2fe3ccc263addca4ecf497787f7dc70b45e782fbba1413a871eb7f
 DIST mattermost-desktop-4.4.0-linux-x64.tar.gz 94614879 BLAKE2B c83d449e45bfbde229316885210d6bd6eb5cfc6f6791c863fc02d4b1cb6ab9a89d5268e1fe4beb3273ee3b09a408fc5fa4c6949e05da8c19e7d92a13940be232 SHA512 eae1a08cf73199bab1d2b35d68134193211d71fae532486ff328534707c652e8a33cdfd984de79b663f4b40d1f29923c3a9afb8bf6be7bbe9fac3c381dc7f50e
+DIST mattermost-desktop-4.5.0-linux-ia32.tar.gz 104812036 BLAKE2B 340c208bf6b58c06e0ba5b51a5a1e8618273d785b63ac452f71e6ee5197b4818bd593566df813cfac7194c33b597129a3a10d551a6ebcbe9a1b5be99778fb5b6 SHA512 01f93fdce44177d1729a3a984089b9ee3a825cddfc3b034619a34695175d912e2246f46123d5ff1384e90fa782a2c1fe3948ada35e83ea09293d658de33c9c5f
+DIST mattermost-desktop-4.5.0-linux-x64.tar.gz 103227052 BLAKE2B 38a3fcfb2df79c9a25c7d8efd43f97e2a531ccb084479637b07c28e77f23dd09c8090550a665c07745d32a46446b3b1d920bc0afc43610fd42a70a55f969e4de SHA512 389c862902a7c82e5c5c3f5622c48a85fc1fdf5b07361fddde7a94cd005e4a85f829cd2ff0034652bcb857ba918b59487675974eb19a181b4eb55886aede49fd
 DIST mattermost-desktop-bin-4.4.0.tar.gz 1295527 BLAKE2B 89fd256e96c732e2e808ffef71e4d615e54d17af24c7392ddc699a18d9df1c5184d9d9263b01172a78b096e8941567abf6ca98789966407dfc2b360e41d1d50c SHA512 7f4d72fe1b90fe17796c1e9eb2c5ff9bf3d3c7ff855585f9f20c1997317eb805b917f3b2a58e6add67668e60a542cb5e3be6202a30af4ce495184335e2b94b3e
+DIST mattermost-desktop-bin-4.5.0.tar.gz 1653847 BLAKE2B 07947a59c2fb3d818859847ed26199eba3255543f33bef212fa2e6d52fe931a00c69a77e5febb67d9572cb52727136bc309189a2fbb038b27c7f1cc92907132d SHA512 4d05da854f8fb1655255d20799b742a021483e96291ef96f4bc6b735215e29c679393e38699b204573248a2900e3b5c35babc22f7e7e825b487d3cc97ca96f8c

diff --git a/net-im/mattermost-desktop-bin/mattermost-desktop-bin-4.5.0.ebuild b/net-im/mattermost-desktop-bin/mattermost-desktop-bin-4.5.0.ebuild
new file mode 100644
index 00000000000..0f1c0d6f81d
--- /dev/null
+++ b/net-im/mattermost-desktop-bin/mattermost-desktop-bin-4.5.0.ebuild
@@ -0,0 +1,93 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+MY_PN="${PN%-*}"
+
+inherit desktop eutils
+
+DESCRIPTION="Mattermost Desktop application"
+HOMEPAGE="https://about.mattermost.com/"
+
+SRC_URI="
+	https://github.com/mattermost/desktop/archive/v${PV}.tar.gz -> ${P}.tar.gz
+	amd64? ( https://releases.mattermost.com/desktop/${PV}/mattermost-desktop-${PV}-linux-x64.tar.gz )
+	x86?   ( https://releases.mattermost.com/desktop/${PV}/mattermost-desktop-${PV}-linux-ia32.tar.gz )
+"
+
+LICENSE="Apache-2.0 GPL-2+ LGPL-2.1+ MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+	gnome-base/gconf:2
+	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-print/cups:0
+	sys-apps/dbus:0
+	sys-devel/gcc
+	sys-libs/glibc:2.2
+	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/libXrandr:0
+	x11-libs/libXrender:0
+	x11-libs/libXScrnSaver:0
+	x11-libs/libXtst:0
+	x11-libs/pango:0"
+
+QA_PREBUILT="
+	opt/mattermost-desktop/mattermost-desktop
+	opt/mattermost-desktop/libnode.so
+	opt/mattermost-desktop/libffmpeg.so
+"
+
+DOCS=(
+	NOTICE.txt
+	LICENSES.chromium.html
+	LICENSE.txt
+	LICENSE.electron.txt
+	README.md
+)
+
+src_unpack() {
+	unpack ${A}
+	use amd64 && mv "${WORKDIR}/mattermost-desktop-${PV}-linux-x64" "${S}"
+	use x86 && mv "${WORKDIR}/mattermost-desktop-${PV}-linux-ia32" "${S}"
+}
+
+src_install() {
+	insinto "/opt/${MY_PN}/locales"
+	doins locales/*.pak
+
+	insinto "/opt/${MY_PN}/resources"
+	doins resources/*.asar
+
+	insinto "/opt/${MY_PN}"
+	doins *.pak *.bin *.dat
+	exeinto "/opt/${MY_PN}"
+	doexe *.so "${MY_PN}"
+
+	dosym "../..//opt/${MY_PN}/${MY_PN}" "/usr/bin/${MY_PN}"
+
+	newicon "${S}/icon.svg" "${MY_PN}.svg"
+	make_desktop_entry "${MY_PN}" Mattermost "${MY_PN}"
+
+	einstalldocs
+}