diff options
author | Viorel Munteanu <ceamac@gentoo.org> | 2023-03-29 18:49:26 +0300 |
---|---|---|
committer | Viorel Munteanu <ceamac@gentoo.org> | 2023-03-29 18:49:39 +0300 |
commit | 7443f25f8a45ec802d0516c592f203d08423bb06 (patch) | |
tree | abd301e6a58f0b96ebede15043c0883d75cd8939 /net-im | |
parent | dev-qt/qtwebengine: add 5.15.8_p20230313 (diff) | |
download | gentoo-7443f25f8a45ec802d0516c592f203d08423bb06.tar.gz gentoo-7443f25f8a45ec802d0516c592f203d08423bb06.tar.bz2 gentoo-7443f25f8a45ec802d0516c592f203d08423bb06.zip |
net-im/mattermost-desktop-bin: add 5.3.0_rc7
Signed-off-by: Viorel Munteanu <ceamac@gentoo.org>
Diffstat (limited to 'net-im')
-rw-r--r-- | net-im/mattermost-desktop-bin/Manifest | 2 | ||||
-rw-r--r-- | net-im/mattermost-desktop-bin/mattermost-desktop-bin-5.3.0_rc7.ebuild | 94 |
2 files changed, 96 insertions, 0 deletions
diff --git a/net-im/mattermost-desktop-bin/Manifest b/net-im/mattermost-desktop-bin/Manifest index cd26bf017d89..3800ef322f47 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.6-linux-arm64.tar.gz 99876083 BLAKE2B 3fdcae5da2d5854159636fbcfca5453abb09750eb21a9f3dbd34df5a8b1f4a36210e2bc5637e6df4a3f60fa32d3b78afaf8dbbb225b10b2f3200b6c1ca7bf878 SHA512 c7dbf891b837faff2045dcd2e4f237b9c4d789b7d1f53d11d5372acd4dff41f7df2777cdf73e620d27fc7e92b10ad5263798a04f86eebf535adef3f9ddfeb6a3 DIST mattermost-desktop-5.3.0-rc.6-linux-x64.tar.gz 99666409 BLAKE2B e71c6030d2543592de4f4725e1e1cb07ec0cfaf4fc0bed0b71e4626fafe2187db917c153ccdb8f0cccc420195e050d9115ea9a30c7de225ec337cc04d3b56493 SHA512 7d08ad3b6b7de1f197248231709a0ac29fd9e1833caeb77c7f78629c4b7e89aec92594ae6b5c49233ec93b8915be1d3a5b08a95f9c4e8cf3db694748309db0f8 +DIST mattermost-desktop-5.3.0-rc.7-linux-arm64.tar.gz 99876187 BLAKE2B 65e3b197ae8518fe4b30009471473c7b39aa4e0bf6f74e0bd0ad0b44dbca551fb195aaf5357828037d791c716a69b713cf9f787eb7456ff6ae126328eb89bc61 SHA512 0903015f786e712c5bcdf3268966161c8efe8e7bc5b75934a885655457112229bc40e466c0b146621416c336f6bde8d4de15769258d486376382f0db28d95f4f +DIST mattermost-desktop-5.3.0-rc.7-linux-x64.tar.gz 99666928 BLAKE2B 7a41fd359d47a109f5e54729a582215228dcd1e0466672a13278b9efc90d8a8b2d849dc07f29443c6655a0a5f45e934ea0c5064655fbd7cb76e9604d2dd56e0e SHA512 b4a6f08c2c95e09087f2eb34e3ba0600d2f5dca24bd419cb20ae47eb55f6810195bf0fea46b4b17782453348da148c2814018cd68f3935d42bfcc65a318cdb17 diff --git a/net-im/mattermost-desktop-bin/mattermost-desktop-bin-5.3.0_rc7.ebuild b/net-im/mattermost-desktop-bin/mattermost-desktop-bin-5.3.0_rc7.ebuild new file mode 100644 index 000000000000..6239ac543889 --- /dev/null +++ b/net-im/mattermost-desktop-bin/mattermost-desktop-bin-5.3.0_rc7.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 +} |