summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorViorel Munteanu <ceamac@gentoo.org>2024-04-29 17:25:01 +0300
committerViorel Munteanu <ceamac@gentoo.org>2024-04-29 17:25:38 +0300
commit4819f0d47c4b2edc5af71246355da949c8030820 (patch)
treef214f5076158fdf0b6480ec4283c9b9175e85ec5 /net-im/mattermost-desktop-bin
parentwww-client/firefox-bin: add 125.0.3 (diff)
downloadgentoo-4819f0d47c4b2edc5af71246355da949c8030820.tar.gz
gentoo-4819f0d47c4b2edc5af71246355da949c8030820.tar.bz2
gentoo-4819f0d47c4b2edc5af71246355da949c8030820.zip
net-im/mattermost-desktop-bin: add 5.8.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.8.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 e7ff804a5cb5..58742c5f7a65 100644
--- a/net-im/mattermost-desktop-bin/Manifest
+++ b/net-im/mattermost-desktop-bin/Manifest
@@ -2,3 +2,5 @@ DIST mattermost-desktop-5.7.0-linux-arm64.tar.gz 104464404 BLAKE2B 08caa572a9868
DIST mattermost-desktop-5.7.0-linux-x64.tar.gz 104733209 BLAKE2B 3da6c25a3b197f60169b8178208e7dd2d14585c8d1e83247720f1cebd71e7f8a663df1ad479cca47931abcb016f3d576ece435ea6ab9a9ea3dbef9d653216d88 SHA512 e993f30d19adc5ee619f2708b0e7e91872b07ff8d4cba102097239e8928ea6464efd87d80a66d39219a79393719fe5db7d7b28df7fd9d53fae3a72e84ee7e718
DIST mattermost-desktop-5.8.0-rc.1-linux-arm64.tar.gz 103062689 BLAKE2B cfe5c2e3dd8f6a8fb4e792fb8539b37364126ba4cea1d89692ed770c1c36bdeb6b4d737e1fab111942a2277ec33c6ce173a1b52c99b57ca2760df5b4e8c8ce52 SHA512 272c1d4fe9213450e1e77a9551d2f991aad775b9b7fbf737655ee27336e559d9f629fa0c5e0c286b4bbb7a455fceb6fe2c41dfe7a4657475000b8f2875ce5433
DIST mattermost-desktop-5.8.0-rc.1-linux-x64.tar.gz 103008224 BLAKE2B f02c619df0ed714961e1ec145e46ee403ee20d3107eb5367809046711ce9049c756abea1679b6f15b2f63241fb19c12c0b2b96e71eea946284cb9dab614b56d9 SHA512 7129b253b2e56757cd31787f1c4468050f68f023a2795f05a7f14826e33187346894c5fd7650c8d64d003205b1ca4ffd351290a939b88354f4811ef732ca02f0
+DIST mattermost-desktop-5.8.0-rc.2-linux-arm64.tar.gz 103062623 BLAKE2B 85d0013317486d60a3545feca4f27bce14140c8719262c3fd9f5e3ab10a6decc9d9e6421e037e5754b8407a0ef7a915c8269fde0578e5cb5a2870c903a577e2c SHA512 6afe06020720d25ed2052e87d18fdbd871bc80b1a4ac9a093ae65da56a65f7ba8eb1d7c89569ce65224a874b466c9c3ab04b03cabeb719be06f833f95006eb27
+DIST mattermost-desktop-5.8.0-rc.2-linux-x64.tar.gz 103008303 BLAKE2B 52312c9bb09f50668c4c23485a12a3e64aa0d40bb7ce0007af8c5d5ac15c7b1b9ce3dda39e3f4687a44e277ff5f1e0de83c92795ee266bfe665ae998667e1ba0 SHA512 d1d4b082da057f1bd20c917d624641804f5012149defb3fd000a7abaec037887ccc74eb4aa3a831f8ae369ac971750794b92d580b74a00b9bad64befe76c4154
diff --git a/net-im/mattermost-desktop-bin/mattermost-desktop-bin-5.8.0_rc2.ebuild b/net-im/mattermost-desktop-bin/mattermost-desktop-bin-5.8.0_rc2.ebuild
new file mode 100644
index 000000000000..8db20297843a
--- /dev/null
+++ b/net-im/mattermost-desktop-bin/mattermost-desktop-bin-5.8.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
+}