summaryrefslogtreecommitdiff
path: root/net-im
diff options
context:
space:
mode:
authorViorel Munteanu <ceamac@gentoo.org>2023-06-19 17:14:50 +0300
committerViorel Munteanu <ceamac@gentoo.org>2023-06-19 17:14:50 +0300
commit0842d88a097192cf5b4ce07fecd5bea44957269d (patch)
treeea9324308970d135967fde699ca46b6dc378c530 /net-im
parentmedia-video/obs-studio: drop 29.1.2 (diff)
downloadgentoo-0842d88a097192cf5b4ce07fecd5bea44957269d.tar.gz
gentoo-0842d88a097192cf5b4ce07fecd5bea44957269d.tar.bz2
gentoo-0842d88a097192cf5b4ce07fecd5bea44957269d.zip
net-im/mattermost-desktop-bin: add 5.4.0
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.4.0.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 01703b296bf2..b328ce4d4566 100644
--- a/net-im/mattermost-desktop-bin/Manifest
+++ b/net-im/mattermost-desktop-bin/Manifest
@@ -1,4 +1,6 @@
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.4.0-linux-arm64.tar.gz 98202612 BLAKE2B 6fdef5720feb73ce11b2ef0ac0e761cbf8e0e2ccc91586cce01d8769e43ab998992430e0cdcd1386fcbd32180a7e536e6a0a3ce8101194740a27423f5d6631ea SHA512 585913994e6ab8d18e1725115c0803ce5104d34646f649943c7aa2345346988cd85e7cf81342ebdb761ae4c25463e1de498e315c53e23587b05e9eaedcd5fd6f
+DIST mattermost-desktop-5.4.0-linux-x64.tar.gz 97476223 BLAKE2B 469287aa11e2863f427736a099dee8dd96d48739a826eba7785f7c14147a69c16beddc7ff8752cfdc6fade0a4a9aafc166ba867dae2028b0b99db8161b16f3ad SHA512 26239df298b368816b472a69fcc0173f00e9e5123c195989a28ff6158a7c8a98c842dd22b4d74523c0d1ed05d8490a4436261768c55cee4d761325b5178bb62e
DIST mattermost-desktop-5.4.0-rc.2-linux-arm64.tar.gz 98202823 BLAKE2B b29548c8beaac6193003efa9e9e0e5f0530ac5f328723adb2b2d3c81b6eb269f008cddf32c847df51822109938625f8a033efc38e4b39a6bda7e402bff276d7d SHA512 6ff1dd645d4207787b9d3f79b08d8ab5e54c71bcf7ef983ddcc99695fdfa14ddaa82f56a902418a88aff0e2d9783e0002845253d1645ff786c9377506e7d310d
DIST mattermost-desktop-5.4.0-rc.2-linux-x64.tar.gz 97476926 BLAKE2B 250065f5861ba0bea33baaab1b0db63af82b54bd73865346cb2c44584f6e44dad6534ab91648f523f45900e75566e56764102922ad08c5a12a5a7896f47312aa SHA512 ed4fa6f6fed3eded888a9620e08b819356957fad1c52e23a119bf2141edfad8f9ae2443d8a5e22d4154823427ea5b3e4708104c1dfe45d1280375e590c68206c
diff --git a/net-im/mattermost-desktop-bin/mattermost-desktop-bin-5.4.0.ebuild b/net-im/mattermost-desktop-bin/mattermost-desktop-bin-5.4.0.ebuild
new file mode 100644
index 000000000000..6239ac543889
--- /dev/null
+++ b/net-im/mattermost-desktop-bin/mattermost-desktop-bin-5.4.0.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
+}