summaryrefslogtreecommitdiff
path: root/net-im/mattermost-desktop-bin
diff options
context:
space:
mode:
Diffstat (limited to 'net-im/mattermost-desktop-bin')
-rw-r--r--net-im/mattermost-desktop-bin/Manifest3
-rw-r--r--net-im/mattermost-desktop-bin/mattermost-desktop-bin-4.7.0.ebuild71
2 files changed, 74 insertions, 0 deletions
diff --git a/net-im/mattermost-desktop-bin/Manifest b/net-im/mattermost-desktop-bin/Manifest
index ab3f9c3000e5..f3042b99c5dc 100644
--- a/net-im/mattermost-desktop-bin/Manifest
+++ b/net-im/mattermost-desktop-bin/Manifest
@@ -1,4 +1,7 @@
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-4.7.0-linux-ia32.tar.gz 83111746 BLAKE2B 81b7f50570e29a562b5abb9f84296212d7e0b48f9346a0cd9b3f46411010aaf4da05ce96508743f083f7519b2e5ee6fdaedae211228d2e9ea1a00b62eda4d70e SHA512 7520384b61efa0cf80feb9028fcb632d5e4fc29b907a53436c59359aa1d4f2ebbed0be4da41ead97f7450fe389815e69f2513acc9e63cd3cea2286a49e96ff83
+DIST mattermost-desktop-4.7.0-linux-x64.tar.gz 84882264 BLAKE2B b9667ee63fe9fe756d431efbe53c259a96cccf05d29a8a47e660f835ebad3ae826bc274aa8a8daa481c333a28d38bce9025b5a22dd730927bab901d87538c5de SHA512 225fa12e684f3735f4c55869ee27ee3cf26385bdfadeedc01c1fe070ebe585277fd701611a7275bd5bc894a0d0460e484ff31f959aa41a0b0b98c19d486986b6
EBUILD mattermost-desktop-bin-4.6.2.ebuild 1546 BLAKE2B b6ea0855a44175147beb7c4f1b37b52301cd086df1644b4883e91fbf2a2b4738d1b48e02aa15ae1de52a92533bb90a47086cd7b3512f28b96ee6b665d364a41c SHA512 71c8fd446631197bafc34f38e7dc49f99d6d75118a96e4e6c989941b1c491cb7f0238336cb1ecebfd3401e0fb445bbca75b785e7bd15baf76bc163d7f185a6d7
+EBUILD mattermost-desktop-bin-4.7.0.ebuild 1498 BLAKE2B f0602e18772c9efceb5cbb48d2ddf7ab7e2a7e898a0ff1495d25e9fc6e545f75429376744cd2f7d6deaa3d41c234a50e9c63c059a9d9bff41b6b83b0f8f09237 SHA512 7cfed21d67a1a221ed6ed137017d693f4bad4105951c7ee4d6739ca22e09aceb3c12eb318b1f10240ac8a12ee7638d2deec2634311d91565363fceed4da2ae76
MISC metadata.xml 485 BLAKE2B 35760e18fc4421046f98f05a9a959a76fdf880ae88bc27617c0a969bd9c10352f803ea17b9e81851e4886801662273bdd70b8bbe61981bdbcd84c964107a3781 SHA512 ccc78798b891f43ff9e0b9cd050706417f9f6771b20847b4d08ac36ddf8441fc30f1200780d5a62d978c25b181373d0e7d26e29ec158f2d58cb4b1218981eba0
diff --git a/net-im/mattermost-desktop-bin/mattermost-desktop-bin-4.7.0.ebuild b/net-im/mattermost-desktop-bin/mattermost-desktop-bin-4.7.0.ebuild
new file mode 100644
index 000000000000..294315d57b10
--- /dev/null
+++ b/net-im/mattermost-desktop-bin/mattermost-desktop-bin-4.7.0.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
+ opt/mattermost-desktop/libGLESv2.so
+ opt/mattermost-desktop/libEGL.so
+"
+
+DOCS=(
+ NOTICE.txt
+)
+
+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}"
+
+ make_desktop_entry "${MY_PN}" Mattermost "${MY_PN}"
+
+ einstalldocs
+}