From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 3744A15800C for ; Mon, 3 Apr 2023 15:21:10 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 63149E0875; Mon, 3 Apr 2023 15:21:09 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D8B36E0875 for ; Mon, 3 Apr 2023 15:21:08 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id BD5AF33BEAE for ; Mon, 3 Apr 2023 15:21:07 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1AB988BC for ; Mon, 3 Apr 2023 15:21:06 +0000 (UTC) From: "Viorel Munteanu" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Viorel Munteanu" Message-ID: <1680535252.1aaeb5d0b54e2f9c33c89130313f7da8dd7ae7d6.ceamac@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-im/mattermost-desktop-bin/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-im/mattermost-desktop-bin/Manifest net-im/mattermost-desktop-bin/mattermost-desktop-bin-5.3.1_rc1.ebuild X-VCS-Directories: net-im/mattermost-desktop-bin/ X-VCS-Committer: ceamac X-VCS-Committer-Name: Viorel Munteanu X-VCS-Revision: 1aaeb5d0b54e2f9c33c89130313f7da8dd7ae7d6 X-VCS-Branch: master Date: Mon, 3 Apr 2023 15:21:06 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: b2e68215-1126-429b-9ef2-0e14fc686d9c X-Archives-Hash: 81608c4b69b38f5d3e703085f2322bdf commit: 1aaeb5d0b54e2f9c33c89130313f7da8dd7ae7d6 Author: Viorel Munteanu gentoo org> AuthorDate: Mon Apr 3 15:20:18 2023 +0000 Commit: Viorel Munteanu gentoo org> CommitDate: Mon Apr 3 15:20:52 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1aaeb5d0 net-im/mattermost-desktop-bin: add 5.3.1_rc1 Signed-off-by: Viorel Munteanu gentoo.org> net-im/mattermost-desktop-bin/Manifest | 2 + .../mattermost-desktop-bin-5.3.1_rc1.ebuild | 94 ++++++++++++++++++++++ 2 files changed, 96 insertions(+) diff --git a/net-im/mattermost-desktop-bin/Manifest b/net-im/mattermost-desktop-bin/Manifest index 24eda109408c..a41bb6c532f9 100644 --- a/net-im/mattermost-desktop-bin/Manifest +++ b/net-im/mattermost-desktop-bin/Manifest @@ -2,3 +2,5 @@ DIST mattermost-desktop-5.2.2-linux-arm64.tar.gz 116257022 BLAKE2B 42019e849b415 DIST mattermost-desktop-5.2.2-linux-x64.tar.gz 115646636 BLAKE2B f3d01c913205dcf2c14cfcfcfc8eba06909c36446a8d6f450270f50328adaf585c5eefa68de212fcc61d012d74b69053790ba9494ee291a90c2b382b530e2e23 SHA512 5ef578c2af8afcd55b75f93904eead8257c0f1e9614de34a13705da2c8ce8f0da2ea57cc62b1fffb12b8effa2a2a98bb200c43a7f43635dc910fa91f7e629f35 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 +DIST mattermost-desktop-5.3.1-rc.1-linux-x64.tar.gz 99666860 BLAKE2B ded28bc1229723572b8419549a8c8707629da9f27d817fdd595f42a21749ad89bdaef3679f8af29f4d14bbd9dfec702686af1dea929907c3be8365e5d9fa5b5d SHA512 5d532e756b4331ffb88fadbf422faa9831828da1ad5061557cdf4c63c7d5425203d21fa57699de22863730a79ed1e243042b1070ad44363a20517b89d00648ba diff --git a/net-im/mattermost-desktop-bin/mattermost-desktop-bin-5.3.1_rc1.ebuild b/net-im/mattermost-desktop-bin/mattermost-desktop-bin-5.3.1_rc1.ebuild new file mode 100644 index 000000000000..6239ac543889 --- /dev/null +++ b/net-im/mattermost-desktop-bin/mattermost-desktop-bin-5.3.1_rc1.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 +}