commit:     01b0eced8529249b476704bf8e0f3aabe9a2f5d5
Author:     Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 20 02:46:48 2020 +0000
Commit:     Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
CommitDate: Sun Dec 20 02:47:02 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=01b0eced

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

Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Matthew Thode <prometheanfire <AT> gentoo.org>

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

diff --git a/net-im/mattermost-desktop-bin/Manifest 
b/net-im/mattermost-desktop-bin/Manifest
index 28521d166f1..6b2d1122127 100644
--- a/net-im/mattermost-desktop-bin/Manifest
+++ b/net-im/mattermost-desktop-bin/Manifest
@@ -2,5 +2,8 @@ DIST mattermost-desktop-4.5.1-linux-ia32.tar.gz 104826424 
BLAKE2B c2d29b5ba463d7
 DIST mattermost-desktop-4.5.1-linux-x64.tar.gz 103238742 BLAKE2B 
dc7e9e2358cb9d82a080fca3082abff38a7850b5cb66cd47d8c111963e2980445f6767ee1f1cdcfedb8b8ff399bf20467de898ff7cc1e7b415e9d999d835e362
 SHA512 
7b1504c957ee30b2f3faa091556c30ac2e5a8cfd7595282e51bc616a74b2da76a6b363ebc56809c6bfdb931d08ae75360ef85bf6a6abe00c40ccccc14754e0bd
 DIST mattermost-desktop-4.5.2-linux-ia32.tar.gz 104826222 BLAKE2B 
f0552069099e548b4eff29a8dee8b830ebdba7aeab708748a242776a5d758be2253e8e2bbfe8f0b4eda5d0c25cad46fa7e7728233007f76102ef7b271a0280a5
 SHA512 
21943587b00585ab103213726de16bd010a013be2d780a9b1bad1ffb2bbcc23bff0cab76699bebb324e950b7d321df1d657cdbb8f889d670bfb7d8ca961ee652
 DIST mattermost-desktop-4.5.2-linux-x64.tar.gz 103238897 BLAKE2B 
46e56c55409db645ba0962a816f584610decea4696c182e66544d2085d5b420019aed7d2680c5a90b7bdd293f9549be81508d24f79d409446918f862bfeca474
 SHA512 
f22938b629840dd6e8fbdec5e6ae6fdadaa0eae0fb727a063ef1539a3a0a625d61dd8468ea8cf45732a8f3b2c6da002dceed2b287aa75b14d09a03268f967eb4
+DIST mattermost-desktop-4.6.1-linux-ia32.tar.gz 116278144 BLAKE2B 
737089a5454c8d8bc87cfefc68d4fbe5036287f2b8c4e92d8cdc000b481996641cc22c7aec1915bac0bd21f0fc2c2019e0e6d011070879cda25f566716f0c193
 SHA512 
8a2b7369fedf4cfb28bb5e54b2fa61bdc22ceda4ae01753a4259581856ba71459d4c2bea238d2e9aba8fe1c11bddfe6e45f1e470e99e7ca642058605c5589453
+DIST mattermost-desktop-4.6.1-linux-x64.tar.gz 114688536 BLAKE2B 
68be76641eeb0e073388ce6cbd6987903ff0a4a0e266ac1e27fa977dff7e1354ac226d1f19b43b4f07d0d731ea92ded2585b2744f68263ff57751f059703a0c2
 SHA512 
ed24ad4e33c88ae55440e8aa5f57e4e83f022b22ccb488146507707a79cf403895066be6b43dcaeb34217ddf0df4e1d02c3a8128bf8568d7b4be94a4e51bdd06
 DIST mattermost-desktop-bin-4.5.1.tar.gz 1653861 BLAKE2B 
2ad02df830cd2b62a730e8c6b385a739cfa7be30765ee4245f92e7a3db194ea03863490b337d03d47357f0d18ec31dd34fcde4576b93c80702e716ae9fd772a7
 SHA512 
6e2269de681ec416be2354ff8ee37d219ede4b10361e6a3669cc4e93e9ab06cd6a198dece05411756fdea271e55cafb94ad29161801cc55b5dae02b99b24ccab
 DIST mattermost-desktop-bin-4.5.2.tar.gz 1653801 BLAKE2B 
fac573ce27cd693489a173d3b90480476e569a7d0c435a53e44b075fc96a56720558e1e555c5a587f0fb7bed06b7f5e53c11728280804e812ee2090adc6d96d3
 SHA512 
69148aa9de18f6dac78450dc0b79630e9ea1552027ed46f6d03aca02ae57342b251a236f4c3ed6b9145e050be38d7748820bc4dd9f36f300c59940b7c2db7827
+DIST mattermost-desktop-bin-4.6.1.tar.gz 1702070 BLAKE2B 
1c8f0c21add6563f6cca51bea37c25f41ba2e00daed7101b3d937941b12cef2e34cfb958a2c83c9641e08b99dd99d4784196e71cdc98227a66d6f2a31ee35219
 SHA512 
ee16e27cd836a49c8329397ee70d0d61e72c1295dcc2329e235cd813ac2583394d24e7d0d40c8c6d47dc85c5c900a22d3b96bd3b4f0262224443e5232d2b2102

diff --git a/net-im/mattermost-desktop-bin/mattermost-desktop-bin-4.6.1.ebuild 
b/net-im/mattermost-desktop-bin/mattermost-desktop-bin-4.6.1.ebuild
new file mode 100644
index 00000000000..0f1c0d6f81d
--- /dev/null
+++ b/net-im/mattermost-desktop-bin/mattermost-desktop-bin-4.6.1.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
+}

Reply via email to