diff options
author | Viorel Munteanu <ceamac@gentoo.org> | 2024-04-20 09:24:50 +0300 |
---|---|---|
committer | Viorel Munteanu <ceamac@gentoo.org> | 2024-04-20 09:26:17 +0300 |
commit | 32df9c72a62da35ce825d4737b3bce23ba011699 (patch) | |
tree | 195c8bceb4f790e6ba240c2b555eecf9b882e57e /net-im/mattermost-desktop-bin | |
parent | dev-python/mkdocstrings: Remove old (diff) | |
download | gentoo-32df9c72a62da35ce825d4737b3bce23ba011699.tar.gz gentoo-32df9c72a62da35ce825d4737b3bce23ba011699.tar.bz2 gentoo-32df9c72a62da35ce825d4737b3bce23ba011699.zip |
net-im/mattermost-desktop-bin: add 5.8.0_rc1
Signed-off-by: Viorel Munteanu <ceamac@gentoo.org>
Diffstat (limited to 'net-im/mattermost-desktop-bin')
-rw-r--r-- | net-im/mattermost-desktop-bin/Manifest | 2 | ||||
-rw-r--r-- | net-im/mattermost-desktop-bin/mattermost-desktop-bin-5.8.0_rc1.ebuild | 95 |
2 files changed, 97 insertions, 0 deletions
diff --git a/net-im/mattermost-desktop-bin/Manifest b/net-im/mattermost-desktop-bin/Manifest index 742466595f29..f51d75d96dab 100644 --- a/net-im/mattermost-desktop-bin/Manifest +++ b/net-im/mattermost-desktop-bin/Manifest @@ -2,3 +2,5 @@ DIST mattermost-desktop-5.6.0-linux-arm64.tar.gz 103186982 BLAKE2B a36a010cde797 DIST mattermost-desktop-5.6.0-linux-x64.tar.gz 102835133 BLAKE2B 4ef34c12ad2b8fefd224237aedf7c7a68844d37b6ca2fca517ffa109c6de9a99709f8accd969964dab3246289d642203e1a84a9b05ef9ca87ca0f0e5305fd949 SHA512 3a6e09dbacb65c1200932c652fab1dafbb136ee7596034efbfeaadea2ee2bd16476d231fb01357a6ec4fbdd392c955e79dc1e03b61dfc67dbaeb10f5167b5d14 DIST mattermost-desktop-5.7.0-linux-arm64.tar.gz 104464404 BLAKE2B 08caa572a986826f212dde6235c8ab36a31e559d14ca5a4e1a5e1e9024efc7f6a4126e56f96ad9f6dbc0fcc5798c466328791d9dccc6a5dcd83e0e0b80664930 SHA512 8e83d2105daa5a701b0f067203f7a0466a440962be2764f59ad7fa7ad892d6dcc07a1df8d5d924456b4038fae568a65efd52adc2c6f5c953f5ee7106468d526a DIST mattermost-desktop-5.7.0-linux-x64.tar.gz 104733209 BLAKE2B 3da6c25a3b197f60169b8178208e7dd2d14585c8d1e83247720f1cebd71e7f8a663df1ad479cca47931abcb016f3d576ece435ea6ab9a9ea3dbef9d653216d88 SHA512 e993f30d19adc5ee619f2708b0e7e91872b07ff8d4cba102097239e8928ea6464efd87d80a66d39219a79393719fe5db7d7b28df7fd9d53fae3a72e84ee7e718 +DIST mattermost-desktop-5.8.0-rc.1-linux-arm64.tar.gz 103062689 BLAKE2B cfe5c2e3dd8f6a8fb4e792fb8539b37364126ba4cea1d89692ed770c1c36bdeb6b4d737e1fab111942a2277ec33c6ce173a1b52c99b57ca2760df5b4e8c8ce52 SHA512 272c1d4fe9213450e1e77a9551d2f991aad775b9b7fbf737655ee27336e559d9f629fa0c5e0c286b4bbb7a455fceb6fe2c41dfe7a4657475000b8f2875ce5433 +DIST mattermost-desktop-5.8.0-rc.1-linux-x64.tar.gz 103008224 BLAKE2B f02c619df0ed714961e1ec145e46ee403ee20d3107eb5367809046711ce9049c756abea1679b6f15b2f63241fb19c12c0b2b96e71eea946284cb9dab614b56d9 SHA512 7129b253b2e56757cd31787f1c4468050f68f023a2795f05a7f14826e33187346894c5fd7650c8d64d003205b1ca4ffd351290a939b88354f4811ef732ca02f0 diff --git a/net-im/mattermost-desktop-bin/mattermost-desktop-bin-5.8.0_rc1.ebuild b/net-im/mattermost-desktop-bin/mattermost-desktop-bin-5.8.0_rc1.ebuild new file mode 100644 index 000000000000..8db20297843a --- /dev/null +++ b/net-im/mattermost-desktop-bin/mattermost-desktop-bin-5.8.0_rc1.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 +} |