diff options
Diffstat (limited to 'net-im/mattermost-desktop-bin')
-rw-r--r-- | net-im/mattermost-desktop-bin/Manifest | 3 | ||||
-rw-r--r-- | net-im/mattermost-desktop-bin/mattermost-desktop-bin-5.7.0_rc1.ebuild | 95 |
2 files changed, 98 insertions, 0 deletions
diff --git a/net-im/mattermost-desktop-bin/Manifest b/net-im/mattermost-desktop-bin/Manifest index f851ec8a9ad0..32fd87c29f3b 100644 --- a/net-im/mattermost-desktop-bin/Manifest +++ b/net-im/mattermost-desktop-bin/Manifest @@ -2,6 +2,9 @@ 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 EBUILD mattermost-desktop-bin-5.5.1-r1.ebuild 2186 BLAKE2B a823a22391af6eacd24415760951197c7ef73256a9c8aeffd41bff16164b7133e2c7d55b855c5c4cef41e46f8bb9dd9eb50e01862b015e315744053826c7909d SHA512 ad1242982e06638f987071aca44ebfa0f14be01f7081bf8463547a243a70ed3f60475dd90a2b9f2703631e00b2844401d1416c2ecd11a26e784285ca41947f5a EBUILD mattermost-desktop-bin-5.6.0.ebuild 2186 BLAKE2B a823a22391af6eacd24415760951197c7ef73256a9c8aeffd41bff16164b7133e2c7d55b855c5c4cef41e46f8bb9dd9eb50e01862b015e315744053826c7909d SHA512 ad1242982e06638f987071aca44ebfa0f14be01f7081bf8463547a243a70ed3f60475dd90a2b9f2703631e00b2844401d1416c2ecd11a26e784285ca41947f5a +EBUILD mattermost-desktop-bin-5.7.0_rc1.ebuild 2186 BLAKE2B b37e3b3928df2a96d305357f2bd26717a33dde2a470191386051e1bc8353d44488185eabb0b9b07e546f9247be790c8ade8ee5f8c9d7e2eebe60a893e3e0e5e0 SHA512 b3f1ef80d025f400ce08bb11358db4b4ff318f69c5b413519a9a5ce7997be6e2e1b731ac777479e602424dca000b5b1676cf47cb21a0e456888f239384bbbb68 MISC metadata.xml 332 BLAKE2B beedbcc827eb536d370b912224e48761a546d80fe89cfeadcdd9bcbd749211c88dd141bb8c8fb23250c2366c025207dc5919e50f0e41e5a2de322a59dcaeff6c SHA512 7360c3eb9ae59c3e359685f02f2f30835bc63f3be85b30de26a26ef92bf2c3b354405dd76e798fb83aaed8ac65296d9bdbd123513b404810826f8c58a2f1aa6d 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 +} |