summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorViorel Munteanu <ceamac@gentoo.org>2023-04-04 20:43:39 +0300
committerViorel Munteanu <ceamac@gentoo.org>2023-04-04 20:47:06 +0300
commitbc1c71b28a2780076f847a762183862fdcc2effa (patch)
treef4bda92eb1e84332a70adbeb51c1a8d22be94481 /net-im/mattermost-desktop-bin
parentapp-containers/syft: drop 0.54.0, 0.59.0 (diff)
downloadgentoo-bc1c71b28a2780076f847a762183862fdcc2effa.tar.gz
gentoo-bc1c71b28a2780076f847a762183862fdcc2effa.tar.bz2
gentoo-bc1c71b28a2780076f847a762183862fdcc2effa.zip
net-im/mattermost-desktop-bin: add 5.3.1
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.3.1.ebuild94
2 files changed, 96 insertions, 0 deletions
diff --git a/net-im/mattermost-desktop-bin/Manifest b/net-im/mattermost-desktop-bin/Manifest
index 19b7066c0262..eef21053d3c9 100644
--- a/net-im/mattermost-desktop-bin/Manifest
+++ b/net-im/mattermost-desktop-bin/Manifest
@@ -2,5 +2,7 @@ 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-linux-arm64.tar.gz 99876870 BLAKE2B 1934720e90900195ac3a560dae0e41f3b809b924fafbad23d1b7fc382b7dc0d22fdce6b128c0ff080a51bc804919b7d6006ed3df77771ee7ed1d42975cfde22d SHA512 1eac35df02d9228f5256d10101b19cdc62faf04eba01f1d41ec8c10ac91e603d28d097fbcc92db5a14b6cb0c00bf696d22e4aad57a7a229036c09218962d3bfc
DIST mattermost-desktop-5.3.0-linux-x64.tar.gz 99665838 BLAKE2B 6d607ffec23ea8a9fb4a28f304bae49f17332a8dda9a4a803e378ea4c029e2e05a6d0af37fbb698677676e3c6192de2b2e2b0a8a5d2ed41366f5664efb0c9481 SHA512 87a8f8eaea60c2a2543f31d0d241170b606f13766f706927cc088d76de5a7c6d6ef766bf4f4a3d8a882dec87f51dc3732678849b97caa02c1e5124e4847ade80
+DIST mattermost-desktop-5.3.1-linux-arm64.tar.gz 99877249 BLAKE2B a519510d2d5e09b053012e10620fcc47418abab6ebb1276a3f4ecdc624a5f29852e61447954f125a23ec1c1e34cda17259ed44fa4381048ed105d4a12ed1db69 SHA512 6b047a5a7160957a38201e05df2cfdd395de7d25db2128e5b9f29cbcfb63a3733f4633f323973c334a705747c92be4f79c0ac94caf80af3dda258d8a24a2b3b0
+DIST mattermost-desktop-5.3.1-linux-x64.tar.gz 99666315 BLAKE2B 5d330cc70404e969c9a7e1ed65c0ad6361453c331639e20443ac25d9c7df179667bf55c737b4392eb738ae58cc708d6542ff1de9a53411381321dbdcafebf725 SHA512 94959fbd20598c7c13838e5ce8c95ed71756d4f59a377dd98662d23f70f8f600d35f8ac027d2fd0da63ae72af930814322cc57a1be1c43389e90cd58ad3b5cfb
DIST mattermost-desktop-5.3.1-rc.1-linux-arm64.tar.gz 99877655 BLAKE2B 2687bf25445c57c22f640cc112b7aaeffa44e0d2f23d94df7acc48fa008f7f00a8e7d584a627a3e53d638f599084def76db2528e194ec42fb8774dc484f143c3 SHA512 4ec2ea132893139bdf0d70e66533a080c92a78cdd3633d7b2ad569a31103eb5aaacb13a7ae2d7ee2806793fd242e5816aaf6c2e5b8eb9aee7ecdc179385e8a57
DIST mattermost-desktop-5.3.1-rc.1-linux-x64.tar.gz 99666860 BLAKE2B ded28bc1229723572b8419549a8c8707629da9f27d817fdd595f42a21749ad89bdaef3679f8af29f4d14bbd9dfec702686af1dea929907c3be8365e5d9fa5b5d SHA512 5d532e756b4331ffb88fadbf422faa9831828da1ad5061557cdf4c63c7d5425203d21fa57699de22863730a79ed1e243042b1070ad44363a20517b89d00648ba
diff --git a/net-im/mattermost-desktop-bin/mattermost-desktop-bin-5.3.1.ebuild b/net-im/mattermost-desktop-bin/mattermost-desktop-bin-5.3.1.ebuild
new file mode 100644
index 000000000000..6239ac543889
--- /dev/null
+++ b/net-im/mattermost-desktop-bin/mattermost-desktop-bin-5.3.1.ebuild
@@ -0,0 +1,94 @@
+# 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} --enable-features=WaylandWindowDecorations --ozone-platform-hint=auto" \
+ Mattermost "${MY_PN}"
+
+ einstalldocs
+}