summaryrefslogtreecommitdiff
path: root/net-im
diff options
context:
space:
mode:
authorViorel Munteanu <ceamac@gentoo.org>2022-11-02 19:24:16 +0200
committerViorel Munteanu <ceamac@gentoo.org>2022-11-04 11:52:15 +0200
commit23a98792e6ce2154b6a8ee7629f0b75664b6d847 (patch)
tree165c3c246404607baa970ec251625d278363a72e /net-im
parentsys-libs/liburing: drop 2.1-r1 (diff)
downloadgentoo-23a98792e6ce2154b6a8ee7629f0b75664b6d847.tar.gz
gentoo-23a98792e6ce2154b6a8ee7629f0b75664b6d847.tar.bz2
gentoo-23a98792e6ce2154b6a8ee7629f0b75664b6d847.zip
net-im/mattermost-desktop-bin: add 5.2.0
Signed-off-by: Viorel Munteanu <ceamac@gentoo.org>
Diffstat (limited to 'net-im')
-rw-r--r--net-im/mattermost-desktop-bin/Manifest1
-rw-r--r--net-im/mattermost-desktop-bin/mattermost-desktop-bin-5.2.0.ebuild83
2 files changed, 84 insertions, 0 deletions
diff --git a/net-im/mattermost-desktop-bin/Manifest b/net-im/mattermost-desktop-bin/Manifest
index 9c096b333e70..9ee502e6169e 100644
--- a/net-im/mattermost-desktop-bin/Manifest
+++ b/net-im/mattermost-desktop-bin/Manifest
@@ -1,2 +1,3 @@
DIST mattermost-desktop-5.1.1-linux-ia32.tar.gz 102392038 BLAKE2B ad18b2c654e9d1b7d575a0e877ae8ac702d0e5b37c2654ff5b000404f25cf1a67995cc9a63ce833c7779285ed4a038aadc00d2e5dab9de1737142bc98d77f632 SHA512 57e1901d0d9c106e16a3ff7df332cfb0716c0e6b1bdf0dd447cd81059df628c445164079baa464751980583f4de12d704f46f3601df1823eab05cd83b850d73f
DIST mattermost-desktop-5.1.1-linux-x64.tar.gz 102908239 BLAKE2B 34bb28894aa8a4dc5e2c9ea2ad601665db4a1a1eaf888f3eaeeabf01aedab07a51da0a3cb25e11bbf08b16e12a24af7e8d8dec308be3951d8d52953a0c9abd43 SHA512 576f41d0a5f7a6217c13594a7b5328442203d143b7ee54843167a38d0cdcb38d93732bcf3f42d6e329107917989f261483a303a2780f7639b0d91666d5a82c73
+DIST mattermost-desktop-5.2.0-linux-x64.tar.gz 115645702 BLAKE2B 1e21d143b6b6a03ed640f4437fbe5090315e76795ac6146404d49156ec3d72147ed5000caf85f646af2470ff78a0629e5421f116001dbc49f4d7039c43908cd8 SHA512 0208121c3a0c4ce6e8f1dfbcdda07dd26cbad7f490fa256f7508e8e9ea83173f60eb7cdbba7ed077958d86eff44a7cbd73c9dcffae4b8935450b1c482ac3ece6
diff --git a/net-im/mattermost-desktop-bin/mattermost-desktop-bin-5.2.0.ebuild b/net-im/mattermost-desktop-bin/mattermost-desktop-bin-5.2.0.ebuild
new file mode 100644
index 000000000000..55544fe21516
--- /dev/null
+++ b/net-im/mattermost-desktop-bin/mattermost-desktop-bin-5.2.0.ebuild
@@ -0,0 +1,83 @@
+# Copyright 1999-2022 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="https://releases.mattermost.com/desktop/${MY_PV}/mattermost-desktop-${MY_PV}-linux-x64.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
+KEYWORDS="~amd64"
+
+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}/mattermost-desktop-${MY_PV}-linux-x64"
+
+src_install() {
+ 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}" Mattermost "${MY_PN}"
+
+ einstalldocs
+}