commit:     0803c44cc9a7b134ce056a5d3351b5153d140bbd
Author:     Viorel Munteanu <ceamac.paragon <AT> gmail <DOT> com>
AuthorDate: Sun Mar 14 10:33:21 2021 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Wed Mar 17 14:08:19 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0803c44c

net-im/mattermost-desktop-bin: add version 4.6.2

Drop an unused .tar.gz from SRC_URI

Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Viorel Munteanu <ceamac.paragon <AT> gmail.com>
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 net-im/mattermost-desktop-bin/Manifest             |  2 +
 .../mattermost-desktop-bin-4.6.2.ebuild            | 71 ++++++++++++++++++++++
 2 files changed, 73 insertions(+)

diff --git a/net-im/mattermost-desktop-bin/Manifest 
b/net-im/mattermost-desktop-bin/Manifest
index 6b2d1122127..b1fa920bd59 100644
--- a/net-im/mattermost-desktop-bin/Manifest
+++ b/net-im/mattermost-desktop-bin/Manifest
@@ -4,6 +4,8 @@ DIST mattermost-desktop-4.5.2-linux-ia32.tar.gz 104826222 
BLAKE2B f0552069099e54
 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-4.6.2-linux-ia32.tar.gz 116280086 BLAKE2B 
f0770b12abf23c43ae1a71b068045abcbbc44d7cd40de3ef84e4cde7e22210c911cd8401a8ad330bd5ea19f664087d423fadd43834a351e48b479693686e9ba8
 SHA512 
409966b02256f5250da976ca825d75ea5690f667bfafb30cfae7e16cf96aa39f8a2fc797768bc1b8b9bfc0e511dfabd85a9033161830077d0a424deac22bb362
+DIST mattermost-desktop-4.6.2-linux-x64.tar.gz 114689112 BLAKE2B 
9efc54fc424dc1be2544b6f1901387ef4ee2ad976dfa1a2c0fa18c4410f16393a471e9549dc0c36219eedefde2d246d9c6a054f8a7c38bde68f700bd5574116b
 SHA512 
19e1f3a273ae5ab202bbd380f68f3acbc3b42748ad978897bac05be8ba264026fe3466ddfa73b711bc3b1bd331661a49fcd6f800ca23e11a463e5b97ee9f35eb
 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.2.ebuild 
b/net-im/mattermost-desktop-bin/mattermost-desktop-bin-4.6.2.ebuild
new file mode 100644
index 00000000000..aec31639d31
--- /dev/null
+++ b/net-im/mattermost-desktop-bin/mattermost-desktop-bin-4.6.2.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+MY_PN="${PN%-*}"
+
+inherit desktop
+
+DESCRIPTION="Mattermost Desktop application"
+HOMEPAGE="https://about.mattermost.com/";
+
+SRC_URI="
+       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="
+       app-accessibility/at-spi2-atk:2
+       app-accessibility/at-spi2-core:2[X]
+       dev-libs/expat
+       dev-libs/nss
+       media-libs/alsa-lib
+       net-print/cups
+       sys-apps/dbus
+       x11-libs/gtk+:3[X]
+       x11-libs/libXScrnSaver
+"
+
+QA_PREBUILT="
+       opt/mattermost-desktop/mattermost-desktop
+       opt/mattermost-desktop/libnode.so
+       opt/mattermost-desktop/libffmpeg.so
+"
+
+DOCS=(
+       NOTICE.txt
+       README.md
+)
+
+S="${WORKDIR}"
+
+src_install() {
+       if use amd64; then
+               cd "${WORKDIR}/mattermost-desktop-${PV}-linux-x64" || die
+       elif use x86; then
+               cd "${WORKDIR}/mattermost-desktop-${PV}-linux-ia32" || die
+       fi
+
+       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 "./icon.svg" "${MY_PN}.svg"
+       make_desktop_entry "${MY_PN}" Mattermost "${MY_PN}"
+
+       einstalldocs
+}

Reply via email to