diff options
author | Viorel Munteanu <ceamac@gentoo.org> | 2023-04-04 07:49:54 +0300 |
---|---|---|
committer | Viorel Munteanu <ceamac@gentoo.org> | 2023-04-04 07:55:44 +0300 |
commit | 90ec524bf552a212deb1cd9739634a36cbd71fcf (patch) | |
tree | 7eaf64d9a7f6c62b1545e74a5040ac2dfa88c61c /net-im | |
parent | sgml-catalog-r1.eclass: Strip ROOT when generating catalog (diff) | |
download | gentoo-90ec524bf552a212deb1cd9739634a36cbd71fcf.tar.gz gentoo-90ec524bf552a212deb1cd9739634a36cbd71fcf.tar.bz2 gentoo-90ec524bf552a212deb1cd9739634a36cbd71fcf.zip |
net-im/mattermost-desktop-bin: add 5.3.0
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.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 a41bb6c532f9..6ec3429b0f02 100644 --- a/net-im/mattermost-desktop-bin/Manifest +++ b/net-im/mattermost-desktop-bin/Manifest @@ -1,5 +1,7 @@ DIST mattermost-desktop-5.2.2-linux-arm64.tar.gz 116257022 BLAKE2B 42019e849b415870e0f3cda7fd9c0e559945456ac4d06319edf074aecc9ca9bb330aa8547104d4d132f00e237324b6c9bc94dd8e1cd1bc83f50ab50f094a7fc3 SHA512 67f32eff87eae54c4cbfe2ffbec3aca1f6be39836d4e912870809a628888bbe12c2c30a16c7abc1caab0bba77c1f1b97baa01ee10d3f91615b89a57041a4c64a DIST mattermost-desktop-5.2.2-linux-x64.tar.gz 115646636 BLAKE2B f3d01c913205dcf2c14cfcfcfc8eba06909c36446a8d6f450270f50328adaf585c5eefa68de212fcc61d012d74b69053790ba9494ee291a90c2b382b530e2e23 SHA512 5ef578c2af8afcd55b75f93904eead8257c0f1e9614de34a13705da2c8ce8f0da2ea57cc62b1fffb12b8effa2a2a98bb200c43a7f43635dc910fa91f7e629f35 +DIST mattermost-desktop-5.3.0-linux-arm64.tar.gz 99876870 BLAKE2B 1934720e90900195ac3a560dae0e41f3b809b924fafbad23d1b7fc382b7dc0d22fdce6b128c0ff080a51bc804919b7d6006ed3df77771ee7ed1d42975cfde22d SHA512 1eac35df02d9228f5256d10101b19cdc62faf04eba01f1d41ec8c10ac91e603d28d097fbcc92db5a14b6cb0c00bf696d22e4aad57a7a229036c09218962d3bfc +DIST mattermost-desktop-5.3.0-linux-x64.tar.gz 99665838 BLAKE2B 6d607ffec23ea8a9fb4a28f304bae49f17332a8dda9a4a803e378ea4c029e2e05a6d0af37fbb698677676e3c6192de2b2e2b0a8a5d2ed41366f5664efb0c9481 SHA512 87a8f8eaea60c2a2543f31d0d241170b606f13766f706927cc088d76de5a7c6d6ef766bf4f4a3d8a882dec87f51dc3732678849b97caa02c1e5124e4847ade80 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 DIST mattermost-desktop-5.3.1-rc.1-linux-arm64.tar.gz 99877655 BLAKE2B 2687bf25445c57c22f640cc112b7aaeffa44e0d2f23d94df7acc48fa008f7f00a8e7d584a627a3e53d638f599084def76db2528e194ec42fb8774dc484f143c3 SHA512 4ec2ea132893139bdf0d70e66533a080c92a78cdd3633d7b2ad569a31103eb5aaacb13a7ae2d7ee2806793fd242e5816aaf6c2e5b8eb9aee7ecdc179385e8a57 diff --git a/net-im/mattermost-desktop-bin/mattermost-desktop-bin-5.3.0.ebuild b/net-im/mattermost-desktop-bin/mattermost-desktop-bin-5.3.0.ebuild new file mode 100644 index 000000000000..6239ac543889 --- /dev/null +++ b/net-im/mattermost-desktop-bin/mattermost-desktop-bin-5.3.0.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 +} |