summaryrefslogtreecommitdiff
path: root/net-im
diff options
context:
space:
mode:
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.5.1_rc4.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 b761b4a87877..51e8af47e34b 100644
--- a/net-im/mattermost-desktop-bin/Manifest
+++ b/net-im/mattermost-desktop-bin/Manifest
@@ -2,3 +2,5 @@ DIST mattermost-desktop-5.5.0-linux-arm64.tar.gz 100549584 BLAKE2B fd66d80c2086c
DIST mattermost-desktop-5.5.0-linux-x64.tar.gz 99975458 BLAKE2B 7cf6080425446bc9359e754cb74cd16f21fdb79ef71741b05d3adb2a480da42db16437211d5c523380524faface12e0d211af15bfa3aab57edaebc53eccdc73f SHA512 ecd6338e8ceffae98087af0e882f0c69aa45e3b24990f015580ba15ef246862521965084bde18b35030c1e172f7d5f21d7690fab3439b1d470f56942e9616efe
DIST mattermost-desktop-5.5.1-rc.3-linux-arm64.tar.gz 100454879 BLAKE2B 738bb4c2f2b6a11c6b59477c46db90a684d5b86c53caea8e7c2ed2982b66df541369a1e31b11b226ab6d66315c5a4363e9002015e5b891d4c7d709c2e33cf3a9 SHA512 c112685cca8e86b9fcc24f1b49e153ecf08aac7eb5c1cc82a3d818b259ca6b7208b56ace3990aabe677cbff3ea4d09fc79c3bf7aecdc475735a9fa931cc4cf51
DIST mattermost-desktop-5.5.1-rc.3-linux-x64.tar.gz 99900551 BLAKE2B 9e159a28ead8f7550bc92ad797cb0040a897ba0687e2b094a52683a04d49cd38c3f798dfc79e7445f6a9b88fcc27b0c44c1d95684cb26a5c45e6f0d9b17f2b5e SHA512 c8aa8da2e45dd5854ea4c7ef16992dd3ae88bd2d784433e998adcdc765929fe0c9a0b80d69cca2b904ace471955a7419a8262f60b483059b32ac3be741e987b0
+DIST mattermost-desktop-5.5.1-rc.4-linux-arm64.tar.gz 100458820 BLAKE2B a7f321e381b29ecc533560d8ba09345b472ea93cad63d42ea85be1e0347106daec0301ba3f0d285af5daf6c2039569866e0b38da5838260a0ee10fbe2487ced7 SHA512 83a0db97433377fcdee48f4536ffaedd879c8b138fff10da8f6a576ffaff95eabedd129f92fda87ebd8d244c0674e7ede4cedcc1b939f2681fac3c0784ddb413
+DIST mattermost-desktop-5.5.1-rc.4-linux-x64.tar.gz 99900558 BLAKE2B 5f4dce188345061d47fbc9092caded1b19ed82d9a410877a4186573242a4cf301f60e472d8d32aedd989fba4b505c68823827fbbe793f9972d8279573d612d82 SHA512 9431d9404394851ac4881d9a93011e2392b5b4ce68da4706c9b3fa23d5ca1118098fb311b780e038763e8d5dbdb00b7eda1bd73dfe181ba989ac3f316db4b807
diff --git a/net-im/mattermost-desktop-bin/mattermost-desktop-bin-5.5.1_rc4.ebuild b/net-im/mattermost-desktop-bin/mattermost-desktop-bin-5.5.1_rc4.ebuild
new file mode 100644
index 000000000000..339810206271
--- /dev/null
+++ b/net-im/mattermost-desktop-bin/mattermost-desktop-bin-5.5.1_rc4.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 )
+"
+S="${WORKDIR}"
+
+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
+)
+
+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} --enable-features=WaylandWindowDecorations --ozone-platform-hint=auto" \
+ Mattermost "${MY_PN}"
+
+ einstalldocs
+}