summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorViorel Munteanu <ceamac@gentoo.org>2024-10-18 20:11:00 +0300
committerViorel Munteanu <ceamac@gentoo.org>2024-10-18 20:14:57 +0300
commitc72e066e0d521ef90f5ff4a3ee214cdb4bf1a89e (patch)
tree47acb607cc90f6412945835eb9828941719c1c01 /net-im/mattermost-desktop-bin
parentwww-apps/rutorrent: drop old (diff)
downloadgentoo-c72e066e0d521ef90f5ff4a3ee214cdb4bf1a89e.tar.gz
gentoo-c72e066e0d521ef90f5ff4a3ee214cdb4bf1a89e.tar.bz2
gentoo-c72e066e0d521ef90f5ff4a3ee214cdb4bf1a89e.zip
net-im/mattermost-desktop-bin: add 5.10.0_rc2
Signed-off-by: Viorel Munteanu <ceamac@gentoo.org>
Diffstat (limited to 'net-im/mattermost-desktop-bin')
-rw-r--r--net-im/mattermost-desktop-bin/Manifest2
-rw-r--r--net-im/mattermost-desktop-bin/mattermost-desktop-bin-5.10.0_rc2.ebuild95
2 files changed, 97 insertions, 0 deletions
diff --git a/net-im/mattermost-desktop-bin/Manifest b/net-im/mattermost-desktop-bin/Manifest
index c00f01337066..e01b5b013d81 100644
--- a/net-im/mattermost-desktop-bin/Manifest
+++ b/net-im/mattermost-desktop-bin/Manifest
@@ -1,3 +1,5 @@
+DIST mattermost-desktop-5.10.0-rc.2-linux-arm64.tar.gz 105790228 BLAKE2B 15cfa983d871e3025f9cf3f5f1801db5001ed939c43cff6ca35d01b168222afeb6b4cc06580b902492322864af4f2ab2dd133a9a67cdfcedd419adeeccf90be1 SHA512 389bbe686369cb978a25dbdeb3bd8ee96f14c7f051e9ee571b979b94e4721f64c224e9a4e5b610f1b38645aa47e201fe5d6bf4bdf7d40ff1ab1c26ca7e412d70
+DIST mattermost-desktop-5.10.0-rc.2-linux-x64.tar.gz 105775641 BLAKE2B cdf29af6e22c58c426e612104176c3ef20b152b35b52c31c4550eb7252e2580cf249385211717b03bc3430226b7d3438bbe38c299b87430168242e2385179002 SHA512 daa97e03263b56a33e30d28c738aa147cd0a74b343f9a339239f527b13659b2cb8c79e840455d5e8c880878d327f8d600724c54b4dba297cf7f438089dc1fea4
DIST mattermost-desktop-5.8.1-linux-arm64.tar.gz 103062905 BLAKE2B 0a40d98ab9ff356236a8a4f5e62314fe651aecdb37c5b8aecc124090ffca4507b1ed5b07399922f560b78166435efbc5eb4cb1a88d1fb2eae8cc4108d0f7c398 SHA512 522a6f95fcfa0261022ba195e5c3accbdd8b178b779da57c89070eee727562cc1a0533ef3e8d39ed24d29fd281f689c70ac540d78428ba4c8cad683d290b2f30
DIST mattermost-desktop-5.8.1-linux-x64.tar.gz 103008114 BLAKE2B 0f944b3db932e8533b894137c179b6a3e2cef3c08f9ddb02ee927007612304704c0aca7383ddf9d1147f4f79d4ce559bca60b7af07e1095d29ac35078e04f204 SHA512 ca503d85cd72a7f29cc45edabdd83d0e98e28f553e48631bd209a7a3d1e9e02ab11a9c1778bee5cd7bcc4082d8c760b31ff0fec42a82781a1024bfbc43e51d91
DIST mattermost-desktop-5.9.0-linux-arm64.tar.gz 105770103 BLAKE2B 582c1acb9a226620a10ea0973444edbdd81d7bb3b3ee715871e41b9bc00f3d21e0bc1c5bb88e96b9a4c96571cba381e022d9dc330bb211428160df9111be1054 SHA512 fe15d0874c0f1020a8c069c0cf9ff8432508e877006fd30ebf8cc3a33a11ba95d49b0698761a13ff324701198ea096908f6b18d0e13f0c3cf29cfc5183e85827
diff --git a/net-im/mattermost-desktop-bin/mattermost-desktop-bin-5.10.0_rc2.ebuild b/net-im/mattermost-desktop-bin/mattermost-desktop-bin-5.10.0_rc2.ebuild
new file mode 100644
index 000000000000..8db20297843a
--- /dev/null
+++ b/net-im/mattermost-desktop-bin/mattermost-desktop-bin-5.10.0_rc2.ebuild
@@ -0,0 +1,95 @@
+# Copyright 1999-2024 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 %U" \
+ Mattermost "${MY_PN}" "Network;InstantMessaging;" \
+ "MimeType=x-scheme-handler/mattermost;"
+
+ einstalldocs
+}