diff options
author | Viorel Munteanu <ceamac@gentoo.org> | 2024-02-17 11:53:56 +0200 |
---|---|---|
committer | Viorel Munteanu <ceamac@gentoo.org> | 2024-02-17 11:58:08 +0200 |
commit | 117868ee8e851396307394146dea9c82e5da6dde (patch) | |
tree | d039c061cebafded979d8c003642319e0ef3d852 /net-im/mattermost-desktop-bin | |
parent | dev-libs/icu-layoutex: Stabilize 74.2 ppc64, #923155 (diff) | |
download | gentoo-117868ee8e851396307394146dea9c82e5da6dde.tar.gz gentoo-117868ee8e851396307394146dea9c82e5da6dde.tar.bz2 gentoo-117868ee8e851396307394146dea9c82e5da6dde.zip |
net-im/mattermost-desktop-bin: add 5.7.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.7.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 33d35693332c..24afb0fa6a37 100644 --- a/net-im/mattermost-desktop-bin/Manifest +++ b/net-im/mattermost-desktop-bin/Manifest @@ -2,3 +2,5 @@ DIST mattermost-desktop-5.5.1-linux-arm64.tar.gz 100458081 BLAKE2B 2a58b40ef0ca5 DIST mattermost-desktop-5.5.1-linux-x64.tar.gz 99899822 BLAKE2B da8bb0c3932f32ff12abc90e07d69d70e0f4d8ee86bd1881b5311496462630f3e43813acece1957027cf1968f7c7d532dd9892049e42761ee5ef437dc4cdd817 SHA512 fcb3f9c213323b5ede9f21765af8bb8ace9ed7f9469de13f05ffe44a8ce251d7305b978133142473c813bf94ffd50e7b5323bac64a7c585c01e803f15abdc46f DIST mattermost-desktop-5.6.0-linux-arm64.tar.gz 103186982 BLAKE2B a36a010cde79713b5228478610447a53c5e4d0a132876f49428fbe265f6dc42054ad7bfa0129d0a17688200514b74536963e4a77f12cde32a8f98ab10f3c957a SHA512 dd121db5e77321ed2fd4d06bfaa2fbba37d25a2d06c7d455cf34e645ead274bef8244fabade323d4ff07c6a1202e3a8a0b9fd96f8e0ec5976d96023de3a75973 DIST mattermost-desktop-5.6.0-linux-x64.tar.gz 102835133 BLAKE2B 4ef34c12ad2b8fefd224237aedf7c7a68844d37b6ca2fca517ffa109c6de9a99709f8accd969964dab3246289d642203e1a84a9b05ef9ca87ca0f0e5305fd949 SHA512 3a6e09dbacb65c1200932c652fab1dafbb136ee7596034efbfeaadea2ee2bd16476d231fb01357a6ec4fbdd392c955e79dc1e03b61dfc67dbaeb10f5167b5d14 +DIST mattermost-desktop-5.7.0-rc.1-linux-arm64.tar.gz 104465500 BLAKE2B 3169ae69eab8b51080b4828de986d17a8c8e8820812270f0f526ba7b203e60582b11beca30ff2eff6db87ae801d84a192fed9cb737a46c11acde8728a1062337 SHA512 b9660306595e29ca3cefa71ffe73bafea7f06d8811a60fd8bb6519a3fde8fded40e062e31c7598a6cd1c30ff0128051ccfffbe08609ace4f0c7d6f417d5babfb +DIST mattermost-desktop-5.7.0-rc.1-linux-x64.tar.gz 104733631 BLAKE2B ef59be3439b0e7bb0205b134ed96802be0cc30a7666f8f18bfa02e635f17a56dee0d1d896d8133828595858bacd98a1f063b80fc54c92e8b004a34c1efba306c SHA512 429652afcf4c6a84e530e060b2b1e05c122643fa738da80d724a95df642208cda346f92c513a9638d17640cf3b23e3ed85498246ded6807abd63719f4fa6981b diff --git a/net-im/mattermost-desktop-bin/mattermost-desktop-bin-5.7.0_rc1.ebuild b/net-im/mattermost-desktop-bin/mattermost-desktop-bin-5.7.0_rc1.ebuild new file mode 100644 index 000000000000..8db20297843a --- /dev/null +++ b/net-im/mattermost-desktop-bin/mattermost-desktop-bin-5.7.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 +} |