summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorViorel Munteanu <ceamac@gentoo.org>2023-03-07 07:34:19 +0200
committerViorel Munteanu <ceamac@gentoo.org>2023-03-07 07:34:19 +0200
commite79a089e2b938611fbae6e04e4d3fa21a37c2b12 (patch)
tree8e167598777e6d07f7662c4016c938673bea4455
parentapp-admin/awscli: Bump to 1.27.85 (diff)
downloadgentoo-e79a089e2b938611fbae6e04e4d3fa21a37c2b12.tar.gz
gentoo-e79a089e2b938611fbae6e04e4d3fa21a37c2b12.tar.bz2
gentoo-e79a089e2b938611fbae6e04e4d3fa21a37c2b12.zip
net-im/mattermost-desktop-bin: add 5.3.0_rc4
Signed-off-by: Viorel Munteanu <ceamac@gentoo.org>
-rw-r--r--net-im/mattermost-desktop-bin/Manifest2
-rw-r--r--net-im/mattermost-desktop-bin/mattermost-desktop-bin-5.3.0_rc4.ebuild93
2 files changed, 95 insertions, 0 deletions
diff --git a/net-im/mattermost-desktop-bin/Manifest b/net-im/mattermost-desktop-bin/Manifest
index 639d761972de..cc2889041994 100644
--- a/net-im/mattermost-desktop-bin/Manifest
+++ b/net-im/mattermost-desktop-bin/Manifest
@@ -2,3 +2,5 @@ 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-rc.2-linux-arm64.tar.gz 99846797 BLAKE2B 6a7dcd2726bea46d5accb4a4e79ff4f4080f41f659150f5d7c1fccf85466d50bbe9d3d814e6f986bf18c740a4ecb8b28a4d4d11d66ed7acb5e61c55089531bcc SHA512 c64f2be6d5461dc78c3262c7afc84d8070843a4e5fd5c33e89ff7bf24c9db0ab5523a3288fb399446ccf4187a7f78583df8d2bb73a37b1afdea99970d623380c
DIST mattermost-desktop-5.3.0-rc.2-linux-x64.tar.gz 99649779 BLAKE2B 7e210b457ff01bb96fb5c6dd09dbefff6bfb549d8462dcf37617faebf2f0a60c5d545f1af65e37b4a1f19dc0335740184ba6caf31536052a1ecfbfc1eaf8cebc SHA512 4fb5bad06b9abe671779389a9ef254c17545f08415765a8b9328f38f6912f76feb8bc992f1832f8a51587d72c46567f128f057a41f6f351e442b192b36d7a4ad
+DIST mattermost-desktop-5.3.0-rc.4-linux-arm64.tar.gz 99854828 BLAKE2B c9a0f25160a1cdee2420b8c3d726c28ed41ce5a94c2ccc5521d40fb1c3c66c996d25829accf0221d71b860e0d1a82ed4dc3d827ff0936649c6d7b2460a0e5ab9 SHA512 7248efc865f7965d2e31fbea32f1dd21b87ce25dc144dcdbe543a396b90710452ed4daf2a00e04725207c046d84c24ef7ac93e6927c4f1e817bc7ffe6b9df935
+DIST mattermost-desktop-5.3.0-rc.4-linux-x64.tar.gz 99648394 BLAKE2B f834ceba66134e1ef8cbaa93b3a516f932329439a20025cc5ecd95761148c05246b819a0b833b43284143dbb40e02df8763c0f0be114678ea645c0edc71cb142 SHA512 112c829e92c14859c3e98adba2e0f479f5f2adeb9e93a4e27c1c1ff038122b5d3fa7d09190dd24463b5de914a9675b7325055468c28774917bc8cf9ac59ec4b9
diff --git a/net-im/mattermost-desktop-bin/mattermost-desktop-bin-5.3.0_rc4.ebuild b/net-im/mattermost-desktop-bin/mattermost-desktop-bin-5.3.0_rc4.ebuild
new file mode 100644
index 000000000000..bcf659429aa4
--- /dev/null
+++ b/net-im/mattermost-desktop-bin/mattermost-desktop-bin-5.3.0_rc4.ebuild
@@ -0,0 +1,93 @@
+# 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}" Mattermost "${MY_PN}"
+
+ einstalldocs
+}