diff options
author | Viorel Munteanu <ceamac.paragon@gmail.com> | 2022-05-15 17:22:33 +0300 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-05-19 02:13:13 +0000 |
commit | 477d20c7a268f8ac4742338b23751db575ac6465 (patch) | |
tree | ec33972407c2beb9b98bd8559738546e5c3b109c /net-im/mattermost-desktop-bin | |
parent | kde-apps/kcalutils: remove unused patch(es) (diff) | |
download | gentoo-477d20c7a268f8ac4742338b23751db575ac6465.tar.gz gentoo-477d20c7a268f8ac4742338b23751db575ac6465.tar.bz2 gentoo-477d20c7a268f8ac4742338b23751db575ac6465.zip |
net-im/mattermost-desktop-bin: add 5.1.0
Signed-off-by: Viorel Munteanu <ceamac.paragon@gmail.com>
Signed-off-by: Sam James <sam@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.1.0.ebuild | 89 |
2 files changed, 91 insertions, 0 deletions
diff --git a/net-im/mattermost-desktop-bin/Manifest b/net-im/mattermost-desktop-bin/Manifest index 1d86264267ad..0a7f42685e8b 100644 --- a/net-im/mattermost-desktop-bin/Manifest +++ b/net-im/mattermost-desktop-bin/Manifest @@ -1,2 +1,4 @@ DIST mattermost-desktop-5.0.4-linux-ia32.tar.gz 86957532 BLAKE2B d52f2cbabdecaac15ce14fcd3a0d6092eb571fa83fbd529aae664a492c5d1def6dd94b2c6dcac57984ecfcb4809c25cb08396836cc05d31f99e9dd080280a0ec SHA512 0dc778c0db232784108a5c980f67b8306602cd15005a18dce1571e6de6a7a774f8d51c7feb76f94eaae29d62ef6f046e637e37d787530696a4223ed31067d37e DIST mattermost-desktop-5.0.4-linux-x64.tar.gz 87315900 BLAKE2B 9d4bd3297a0d6c0eb016902d731608d12e9187e88c3c72fd57a2b47735438ff3a8369553adb7412a0339d729f177649ae0459790257307f6458ca99322ac8d02 SHA512 b95b9559950f7e7333e522fbbaafeae1e0f5c55cfa2acfe569b9987d75b8c4ce85a34997e4448a9e007522070f47a09a53d971ffe567bfbdde2f95f747ace622 +DIST mattermost-desktop-5.1.0-linux-ia32.tar.gz 102235544 BLAKE2B f7427aa195ec3be706243ce1f1aeb2cbad594905f86b6493796de2ebb7fa161e06b910af9a285583018bad9709e6ce16ee5bc168f2d98f26534af3de3b753b41 SHA512 a94be8235c5c1927c89615297c7e82ff2d1bc61e3600133a5af262bc25b6b6a7c50b516d58c7a387f672510736572aacc0bd9a657e5d25351eea4df2dc8958fc +DIST mattermost-desktop-5.1.0-linux-x64.tar.gz 102764810 BLAKE2B 7e555d70aa15b308cea637b7ad12a11a16a93cb80693157afbfcf782efff03458e880eabbbd52292e476159669a6ebd809197ba4b2f6154093515cb7f51b7e6e SHA512 5fb3abaf93cdb4e76ba29e56f1da800d665171ade8aa475ccc927f667d513db34db37ee2e1326e59584a38260d32e6c0420ac36822e6b22564d76391a44c7e18 diff --git a/net-im/mattermost-desktop-bin/mattermost-desktop-bin-5.1.0.ebuild b/net-im/mattermost-desktop-bin/mattermost-desktop-bin-5.1.0.ebuild new file mode 100644 index 000000000000..ca1c0b052808 --- /dev/null +++ b/net-im/mattermost-desktop-bin/mattermost-desktop-bin-5.1.0.ebuild @@ -0,0 +1,89 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +MY_PN="${PN%-*}" + +inherit desktop + +DESCRIPTION="Mattermost Desktop application" +HOMEPAGE="https://mattermost.com/" + +SRC_URI=" + amd64? ( https://releases.mattermost.com/desktop/${PV}/mattermost-desktop-${PV}-linux-x64.tar.gz ) + x86? ( https://releases.mattermost.com/desktop/${PV}/mattermost-desktop-${PV}-linux-ia32.tar.gz ) +" + +LICENSE="Apache-2.0 GPL-2+ LGPL-2.1+ MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + app-accessibility/at-spi2-atk:2 + app-accessibility/at-spi2-core:2[X] + dev-libs/atk + dev-libs/expat + dev-libs/glib:2 + dev-libs/nspr + dev-libs/nss + media-libs/alsa-lib + media-libs/mesa + net-print/cups + sys-apps/dbus + sys-libs/glibc + x11-libs/cairo + x11-libs/gdk-pixbuf:2 + 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/libxshmfence + 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 +" + +DOCS=( + NOTICE.txt +) + +S="${WORKDIR}" + +src_install() { + if use amd64; then + cd "${WORKDIR}/mattermost-desktop-${PV}-linux-x64" || die + elif use x86; then + cd "${WORKDIR}/mattermost-desktop-${PV}-linux-ia32" || die + fi + + insinto "/opt/${MY_PN}/locales" + doins locales/*.pak + + insinto "/opt/${MY_PN}/resources" + doins resources/*.asar + + insinto "/opt/${MY_PN}" + doins *.pak *.bin *.dat + exeinto "/opt/${MY_PN}" + doexe *.so "${MY_PN}" + + dosym "../../opt/${MY_PN}/${MY_PN}" "/usr/bin/${MY_PN}" + + make_desktop_entry "${MY_PN}" Mattermost "${MY_PN}" + + einstalldocs +} |