summaryrefslogtreecommitdiff
path: root/net-im
diff options
context:
space:
mode:
authorViorel Munteanu <ceamac@gentoo.org>2024-05-09 09:11:51 +0300
committerViorel Munteanu <ceamac@gentoo.org>2024-05-09 09:46:45 +0300
commit4254eac271a06accef1fd833eab1508a2c70bb76 (patch)
tree76120fa646fa5341a215e642bfd959519d1d1da8 /net-im
parentapp-misc/fastfetch: drop 2.11.4 (diff)
downloadgentoo-4254eac271a06accef1fd833eab1508a2c70bb76.tar.gz
gentoo-4254eac271a06accef1fd833eab1508a2c70bb76.tar.bz2
gentoo-4254eac271a06accef1fd833eab1508a2c70bb76.zip
net-im/mattermost-desktop-bin: add 5.8.0_rc3
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.0_rc3.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 97a8bf7cf38e..695422af5a51 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.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
+DIST mattermost-desktop-5.8.0-rc.3-linux-arm64.tar.gz 103062805 BLAKE2B c912863d2ef1048a07cbbef084f1f84bec0571856850ed98545ed1c61f39a1ee662e305bfc0d7b92f8cfc6267b575cd2071dcdc6130aceb68866f0aef00d407a SHA512 21d58892263d08d94ffc6935f0f9c0c3ee2558a6679458779a0ced20920d2c88f3737877fc5d8b9354751b5d7761910d6aa12880ebfb548cb9fa229b85a135e6
+DIST mattermost-desktop-5.8.0-rc.3-linux-x64.tar.gz 103008296 BLAKE2B 9575c2b270ba3f1fa18afbd01846abea5d6bd5c40858285989f185c8c9b635f400ba67dd98d4b1e1e907be67802e8c1c6ea642ecc4b5b26ef1c0ef746ee66d89 SHA512 e839c02da28d4ec3081c04b8b5076132cc6cd3c475c9fa89bba236179b323ffd035edd012c705d5167d5dc580656c6e721cff9f451a82cdb6386ae1701e40126
diff --git a/net-im/mattermost-desktop-bin/mattermost-desktop-bin-5.8.0_rc3.ebuild b/net-im/mattermost-desktop-bin/mattermost-desktop-bin-5.8.0_rc3.ebuild
new file mode 100644
index 000000000000..8db20297843a
--- /dev/null
+++ b/net-im/mattermost-desktop-bin/mattermost-desktop-bin-5.8.0_rc3.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
+}