From 7c9730bcb62df7cbf8248c5db9a478aac52c60ea Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 17 Feb 2023 14:07:47 +0000 Subject: gentoo auto-resync : 17:02:2023 - 14:07:46 --- net-im/mattermost-desktop-bin/Manifest | 3 + .../mattermost-desktop-bin-5.3.0_rc1.ebuild | 93 ++++++++++++++++++++++ 2 files changed, 96 insertions(+) create mode 100644 net-im/mattermost-desktop-bin/mattermost-desktop-bin-5.3.0_rc1.ebuild (limited to 'net-im/mattermost-desktop-bin') diff --git a/net-im/mattermost-desktop-bin/Manifest b/net-im/mattermost-desktop-bin/Manifest index 36420c2edde5..e68e82ced064 100644 --- a/net-im/mattermost-desktop-bin/Manifest +++ b/net-im/mattermost-desktop-bin/Manifest @@ -1,4 +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-rc.1-linux-arm64.tar.gz 99846118 BLAKE2B a23325ed7046669bc4d888ffb098eee5a3a278c2b4d93e99bfdfe68808fd4334aa354485d0b55e1456df7e48283ace37c647ffcc069a2af4cd88164ed1a4d785 SHA512 655353c24f4598ca80a3c6faf263c9e12d787386428ddc6c78a8ac562171138e2b1f59f8b492d11552c929c2f30a4234c6f12dd467320c13d515cf3a2f4a24ea +DIST mattermost-desktop-5.3.0-rc.1-linux-x64.tar.gz 99648824 BLAKE2B 109fe211f55186e9f85ecc120f2b118396a0cd307abc6a4e89d2f4889546dd3cb2b1f931d44bded3f68fde6641971f67d8d44bed12c152c842264944003474ac SHA512 69dbfd3820ec19a34c2a7e06e02f2d6004044b4fa3831b5532059e358be31ffab9e7d057da68f4e39d64310c294ca63adc4fe3bb059c8c963fb51c03d52e5eb4 EBUILD mattermost-desktop-bin-5.2.2.ebuild 2000 BLAKE2B 7e988c16f8b3be6548b28f2ba57b7eaea9ed895ce4bb29e26e4826a1c733dcaa6133cc419e794ef2024807ccc4f8c650bc6434bd13ce8ee2b00cc4ce0b086c43 SHA512 e4b4d944a7682832ef891ddeff5d66592d037640a3b66bb6d245ecdaec0916b0d949aacea04a44460029800cf261d380301170ec57d81bf43331eed5e0d42035 +EBUILD mattermost-desktop-bin-5.3.0_rc1.ebuild 2034 BLAKE2B 25d7db80ba13f78470d99eafc6436f8b9c3facb9aee065c609f4f86d75f2b2e8e1ca5ce01970c39ebbc2364b764201d3d245dfd1d8e057028c003df753d5b78a SHA512 6b5467e78783a91f48dbf63edd42fea8833db5d666c5c344315b901eb9362475dcf862253d1a0ec9fe47ef3d3c62c59033e0ea581e709c06f0f17c2067eb9a8f MISC metadata.xml 332 BLAKE2B beedbcc827eb536d370b912224e48761a546d80fe89cfeadcdd9bcbd749211c88dd141bb8c8fb23250c2366c025207dc5919e50f0e41e5a2de322a59dcaeff6c SHA512 7360c3eb9ae59c3e359685f02f2f30835bc63f3be85b30de26a26ef92bf2c3b354405dd76e798fb83aaed8ac65296d9bdbd123513b404810826f8c58a2f1aa6d diff --git a/net-im/mattermost-desktop-bin/mattermost-desktop-bin-5.3.0_rc1.ebuild b/net-im/mattermost-desktop-bin/mattermost-desktop-bin-5.3.0_rc1.ebuild new file mode 100644 index 000000000000..bcf659429aa4 --- /dev/null +++ b/net-im/mattermost-desktop-bin/mattermost-desktop-bin-5.3.0_rc1.ebuild @@ -0,0 +1,93 @@ +# 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}" Mattermost "${MY_PN}" + + einstalldocs +} -- cgit v1.2.3