summaryrefslogtreecommitdiff
path: root/net-im
diff options
context:
space:
mode:
authorViorel Munteanu <ceamac@gentoo.org>2024-06-10 18:51:23 +0300
committerViorel Munteanu <ceamac@gentoo.org>2024-06-10 18:52:00 +0300
commita3c1ea5f7414de756747fd90fb3023885783a54c (patch)
treea35ea3d342d0eec9b2756ed2ef2acd12eb0ab17d /net-im
parentsys-devel/gcc: add bug ref to fixincludes issue (diff)
downloadgentoo-a3c1ea5f7414de756747fd90fb3023885783a54c.tar.gz
gentoo-a3c1ea5f7414de756747fd90fb3023885783a54c.tar.bz2
gentoo-a3c1ea5f7414de756747fd90fb3023885783a54c.zip
net-im/mattermost-desktop-bin: add 5.8.1_rc1
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.8.1_rc1.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 6996e4859112..966559832962 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-linux-arm64.tar.gz 103062360 BLAKE2B 6ba3abfc6f0cc6f6de002045d4bc12798fec581083897b2f60230cef94988e0876c064220f89c690e6562579e190e5892e6a5860e6b3dee5a456bf64d290b9d6 SHA512 a14f538dc3e2cbc0822a9db3e45c236932dbca2731c5e4466315bdb813187fb99b8fb4beb268e25e2f1ce8784f77ac344cc72d82c953af70e93d1fec942e5680
DIST mattermost-desktop-5.8.0-linux-x64.tar.gz 103007793 BLAKE2B 24344d192addbc63b9e0a240f4243f6e95e9706f3a3db681c57cccb83c37b6563e8978cd064193292270ca8e8dc2d67cbdbbe870d5f776a916667225e93c14fb SHA512 4dc315239a4a35665a66c421befbf6b3333147b876f44c6b72b1f2f1ae1d8cdb22e8116b6c711c3281e6d7fb69b44787de45563e4650d0795556e751d5a0e73e
+DIST mattermost-desktop-5.8.1-rc.1-linux-arm64.tar.gz 103062938 BLAKE2B 2be286065a0751277b02e8ba8761fb5ade94d2ddcc33bfdd98598bfddb35d73d3723b68171098501b2a0449222ba3f0d856a5f4b333a754480f30e1a487b9faa SHA512 ee1e4f6cbced3dfb1ec30b360a69c39627cde709c702245ffb8893144b069a587aa525a5da85cbca6a479b14e11db5f251526b54c8f69ae9cc075da452ab37a5
+DIST mattermost-desktop-5.8.1-rc.1-linux-x64.tar.gz 103008659 BLAKE2B e63301da98ca834754111e84490e6822354e3986b84a52d365a1a1eeca16ed6a4478195730d046b1704522f582097bcc51204196decfcc1546ac9fa5cdaa4a35 SHA512 4898575a5fc593e76a96faedeb030af565d4c5ff04656ed6c41badcfe9d7205e1b80c4df2abbd50db1edd023a58115be525aa6fc8ec8b3d0bd2c0ec222a41467
diff --git a/net-im/mattermost-desktop-bin/mattermost-desktop-bin-5.8.1_rc1.ebuild b/net-im/mattermost-desktop-bin/mattermost-desktop-bin-5.8.1_rc1.ebuild
new file mode 100644
index 000000000000..8db20297843a
--- /dev/null
+++ b/net-im/mattermost-desktop-bin/mattermost-desktop-bin-5.8.1_rc1.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
+}