diff options
author | Viorel Munteanu <ceamac@gentoo.org> | 2024-06-14 08:05:49 +0300 |
---|---|---|
committer | Viorel Munteanu <ceamac@gentoo.org> | 2024-06-14 08:19:02 +0300 |
commit | a74c17a9ba6086fcf0d307aa86a866982f3c8d9f (patch) | |
tree | f20b7df1007f63c56215e322e96c78473174a7bd /net-im/mattermost-desktop-bin | |
parent | dev-ruby/stringio: add 3.1.1 (diff) | |
download | gentoo-a74c17a9ba6086fcf0d307aa86a866982f3c8d9f.tar.gz gentoo-a74c17a9ba6086fcf0d307aa86a866982f3c8d9f.tar.bz2 gentoo-a74c17a9ba6086fcf0d307aa86a866982f3c8d9f.zip |
net-im/mattermost-desktop-bin: add 5.8.1
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.1.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 8288aaf74bb8..fe8d1186bf0b 100644 --- a/net-im/mattermost-desktop-bin/Manifest +++ b/net-im/mattermost-desktop-bin/Manifest @@ -1,4 +1,6 @@ DIST mattermost-desktop-5.8.0-linux-arm64.tar.gz 103062360 BLAKE2B 6ba3abfc6f0cc6f6de002045d4bc12798fec581083897b2f60230cef94988e0876c064220f89c690e6562579e190e5892e6a5860e6b3dee5a456bf64d290b9d6 SHA512 a14f538dc3e2cbc0822a9db3e45c236932dbca2731c5e4466315bdb813187fb99b8fb4beb268e25e2f1ce8784f77ac344cc72d82c953af70e93d1fec942e5680 DIST mattermost-desktop-5.8.0-linux-x64.tar.gz 103007793 BLAKE2B 24344d192addbc63b9e0a240f4243f6e95e9706f3a3db681c57cccb83c37b6563e8978cd064193292270ca8e8dc2d67cbdbbe870d5f776a916667225e93c14fb SHA512 4dc315239a4a35665a66c421befbf6b3333147b876f44c6b72b1f2f1ae1d8cdb22e8116b6c711c3281e6d7fb69b44787de45563e4650d0795556e751d5a0e73e +DIST mattermost-desktop-5.8.1-linux-arm64.tar.gz 103062905 BLAKE2B 0a40d98ab9ff356236a8a4f5e62314fe651aecdb37c5b8aecc124090ffca4507b1ed5b07399922f560b78166435efbc5eb4cb1a88d1fb2eae8cc4108d0f7c398 SHA512 522a6f95fcfa0261022ba195e5c3accbdd8b178b779da57c89070eee727562cc1a0533ef3e8d39ed24d29fd281f689c70ac540d78428ba4c8cad683d290b2f30 +DIST mattermost-desktop-5.8.1-linux-x64.tar.gz 103008114 BLAKE2B 0f944b3db932e8533b894137c179b6a3e2cef3c08f9ddb02ee927007612304704c0aca7383ddf9d1147f4f79d4ce559bca60b7af07e1095d29ac35078e04f204 SHA512 ca503d85cd72a7f29cc45edabdd83d0e98e28f553e48631bd209a7a3d1e9e02ab11a9c1778bee5cd7bcc4082d8c760b31ff0fec42a82781a1024bfbc43e51d91 DIST mattermost-desktop-5.8.1-rc.2-linux-arm64.tar.gz 103063312 BLAKE2B cee078305b075abbb9d1cfc195b417520ab6b791a31b44c1c99be7881bf15c388cee011908f130ae643fe2ed012749fa6a4425e3ec2a12487e8b8f3caebf151b SHA512 0daf43af85b45da64b4a1614515fc828a47e1885ea0b997fcb57ccd5b5d433c4e4196a55dbec09b7a2f7e2119f02fc826668d19ec9fe6c307882d96983c40e7d DIST mattermost-desktop-5.8.1-rc.2-linux-x64.tar.gz 103008865 BLAKE2B 69b60492b5e0f6a3ff8a3366902cbeb7ef42a7c830eca8335307b3f4af89ec3a9141cced08d242d57bd64b7f637acba03d2084d55bdda1a85d6a46782ea6c61c SHA512 1927c3f213d9c4750f2f0ec734ea9651188ef8b3cd4107df5479ef79f204d12af68ed32e266f0863cf49106a946ae0eff383c4d852e1f68c585bd50301e94b67 diff --git a/net-im/mattermost-desktop-bin/mattermost-desktop-bin-5.8.1.ebuild b/net-im/mattermost-desktop-bin/mattermost-desktop-bin-5.8.1.ebuild new file mode 100644 index 000000000000..8db20297843a --- /dev/null +++ b/net-im/mattermost-desktop-bin/mattermost-desktop-bin-5.8.1.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 +} |