summaryrefslogtreecommitdiff
path: root/net-im
diff options
context:
space:
mode:
authorViorel Munteanu <ceamac@gentoo.org>2023-02-18 09:34:05 +0200
committerViorel Munteanu <ceamac@gentoo.org>2023-02-18 09:34:56 +0200
commit85bc21d5e2bf81f3c363ec053986510d69c680bc (patch)
tree993035ae416deff74b84139b9b2e761bba1c5702 /net-im
parentdev-ruby/rouge: update upstream metadata (diff)
downloadgentoo-85bc21d5e2bf81f3c363ec053986510d69c680bc.tar.gz
gentoo-85bc21d5e2bf81f3c363ec053986510d69c680bc.tar.bz2
gentoo-85bc21d5e2bf81f3c363ec053986510d69c680bc.zip
net-im/mattermost-desktop-bin: add 5.3.0_rc2
Signed-off-by: Viorel Munteanu <ceamac@gentoo.org>
Diffstat (limited to 'net-im')
-rw-r--r--net-im/mattermost-desktop-bin/Manifest2
-rw-r--r--net-im/mattermost-desktop-bin/mattermost-desktop-bin-5.3.0_rc2.ebuild93
2 files changed, 95 insertions, 0 deletions
diff --git a/net-im/mattermost-desktop-bin/Manifest b/net-im/mattermost-desktop-bin/Manifest
index 31841085d59e..3cc4532b2efc 100644
--- a/net-im/mattermost-desktop-bin/Manifest
+++ b/net-im/mattermost-desktop-bin/Manifest
@@ -2,3 +2,5 @@ DIST mattermost-desktop-5.2.2-linux-arm64.tar.gz 116257022 BLAKE2B 42019e849b415
DIST mattermost-desktop-5.2.2-linux-x64.tar.gz 115646636 BLAKE2B f3d01c913205dcf2c14cfcfcfc8eba06909c36446a8d6f450270f50328adaf585c5eefa68de212fcc61d012d74b69053790ba9494ee291a90c2b382b530e2e23 SHA512 5ef578c2af8afcd55b75f93904eead8257c0f1e9614de34a13705da2c8ce8f0da2ea57cc62b1fffb12b8effa2a2a98bb200c43a7f43635dc910fa91f7e629f35
DIST mattermost-desktop-5.3.0-rc.1-linux-arm64.tar.gz 99846118 BLAKE2B a23325ed7046669bc4d888ffb098eee5a3a278c2b4d93e99bfdfe68808fd4334aa354485d0b55e1456df7e48283ace37c647ffcc069a2af4cd88164ed1a4d785 SHA512 655353c24f4598ca80a3c6faf263c9e12d787386428ddc6c78a8ac562171138e2b1f59f8b492d11552c929c2f30a4234c6f12dd467320c13d515cf3a2f4a24ea
DIST mattermost-desktop-5.3.0-rc.1-linux-x64.tar.gz 99648824 BLAKE2B 109fe211f55186e9f85ecc120f2b118396a0cd307abc6a4e89d2f4889546dd3cb2b1f931d44bded3f68fde6641971f67d8d44bed12c152c842264944003474ac SHA512 69dbfd3820ec19a34c2a7e06e02f2d6004044b4fa3831b5532059e358be31ffab9e7d057da68f4e39d64310c294ca63adc4fe3bb059c8c963fb51c03d52e5eb4
+DIST mattermost-desktop-5.3.0-rc.2-linux-arm64.tar.gz 99846797 BLAKE2B 6a7dcd2726bea46d5accb4a4e79ff4f4080f41f659150f5d7c1fccf85466d50bbe9d3d814e6f986bf18c740a4ecb8b28a4d4d11d66ed7acb5e61c55089531bcc SHA512 c64f2be6d5461dc78c3262c7afc84d8070843a4e5fd5c33e89ff7bf24c9db0ab5523a3288fb399446ccf4187a7f78583df8d2bb73a37b1afdea99970d623380c
+DIST mattermost-desktop-5.3.0-rc.2-linux-x64.tar.gz 99649779 BLAKE2B 7e210b457ff01bb96fb5c6dd09dbefff6bfb549d8462dcf37617faebf2f0a60c5d545f1af65e37b4a1f19dc0335740184ba6caf31536052a1ecfbfc1eaf8cebc SHA512 4fb5bad06b9abe671779389a9ef254c17545f08415765a8b9328f38f6912f76feb8bc992f1832f8a51587d72c46567f128f057a41f6f351e442b192b36d7a4ad
diff --git a/net-im/mattermost-desktop-bin/mattermost-desktop-bin-5.3.0_rc2.ebuild b/net-im/mattermost-desktop-bin/mattermost-desktop-bin-5.3.0_rc2.ebuild
new file mode 100644
index 000000000000..bcf659429aa4
--- /dev/null
+++ b/net-im/mattermost-desktop-bin/mattermost-desktop-bin-5.3.0_rc2.ebuild
@@ -0,0 +1,93 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MY_PN="${PN%-*}"
+MY_PV="${PV/_rc/-rc.}"
+
+inherit desktop xdg
+
+DESCRIPTION="Mattermost Desktop application"
+HOMEPAGE="https://mattermost.com/"
+
+SRC_URI="
+ amd64? ( https://releases.mattermost.com/desktop/${MY_PV}/mattermost-desktop-${MY_PV}-linux-x64.tar.gz )
+ arm64? ( https://releases.mattermost.com/desktop/${MY_PV}/mattermost-desktop-${MY_PV}-linux-arm64.tar.gz )
+"
+
+LICENSE="Apache-2.0 GPL-2+ LGPL-2.1+ MIT"
+SLOT="0"
+# Starting with 5.2.0 upstream dropped x86 for their binary release #879519
+if [[ ${PV} != *rc* ]]; then
+ KEYWORDS="~amd64 ~arm64"
+fi
+
+RDEPEND="
+ >=app-accessibility/at-spi2-core-2.46.0:2[X]
+ dev-libs/expat
+ dev-libs/glib:2
+ dev-libs/nspr
+ dev-libs/nss
+ dev-libs/wayland
+ media-libs/alsa-lib
+ media-libs/mesa
+ net-print/cups
+ sys-apps/dbus
+ sys-libs/glibc
+ x11-libs/cairo
+ x11-libs/gtk+:3[X]
+ x11-libs/libX11
+ x11-libs/libXcomposite
+ x11-libs/libXdamage
+ x11-libs/libXext
+ x11-libs/libXfixes
+ x11-libs/libXrandr
+ x11-libs/libdrm
+ x11-libs/libxcb
+ x11-libs/libxkbcommon
+ x11-libs/pango
+"
+
+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
+ opt/mattermost-desktop/libvk_swiftshader.so
+ opt/mattermost-desktop/libvulkan.so.1
+ opt/mattermost-desktop/resources/*
+"
+
+DOCS=(
+ NOTICE.txt
+)
+
+S="${WORKDIR}"
+
+src_install() {
+ if use amd64; then
+ cd mattermost-desktop-${MY_PV}-linux-x64 || die
+ elif use arm64; then
+ cd mattermost-desktop-${MY_PV}-linux-arm64 || die
+ fi
+ newicon app_icon.png ${MY_PN}.png
+
+ insinto "/opt/${MY_PN}/locales"
+ doins locales/*.pak
+
+ insinto "/opt/${MY_PN}/resources"
+ doins -r resources/*.asar*
+
+ insinto "/opt/${MY_PN}"
+ doins *.pak *.bin *.dat
+ exeinto "/opt/${MY_PN}"
+ doexe *.so *.so.* "${MY_PN}"
+
+ dosym -r "/opt/${MY_PN}/${MY_PN}" "/usr/bin/${MY_PN}"
+
+ make_desktop_entry "${MY_PN}" Mattermost "${MY_PN}"
+
+ einstalldocs
+}