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 E0CC7158089 for ; Tue, 14 Nov 2023 19:17:14 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 650C32BC016; Tue, 14 Nov 2023 19:17:13 +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 4430E2BC016 for ; Tue, 14 Nov 2023 19:17:13 +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 36411335D77 for ; Tue, 14 Nov 2023 19:17:12 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 917F4138F for ; Tue, 14 Nov 2023 19:17:10 +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: <1699989392.e1f3de6670199975d48c0fc86a34104c8eb51ffc.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.6.0_rc1.ebuild X-VCS-Directories: net-im/mattermost-desktop-bin/ X-VCS-Committer: ceamac X-VCS-Committer-Name: Viorel Munteanu X-VCS-Revision: e1f3de6670199975d48c0fc86a34104c8eb51ffc X-VCS-Branch: master Date: Tue, 14 Nov 2023 19:17:10 +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: cd1de85f-b6d9-4b0b-aeb5-790e0f2808b2 X-Archives-Hash: 888e53495897a68083464b57c3e874c5 commit: e1f3de6670199975d48c0fc86a34104c8eb51ffc Author: Viorel Munteanu gentoo org> AuthorDate: Tue Nov 14 19:13:18 2023 +0000 Commit: Viorel Munteanu gentoo org> CommitDate: Tue Nov 14 19:16:32 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e1f3de66 net-im/mattermost-desktop-bin: add 5.6.0_rc1 Signed-off-by: Viorel Munteanu gentoo.org> net-im/mattermost-desktop-bin/Manifest | 2 + .../mattermost-desktop-bin-5.6.0_rc1.ebuild | 95 ++++++++++++++++++++++ 2 files changed, 97 insertions(+) diff --git a/net-im/mattermost-desktop-bin/Manifest b/net-im/mattermost-desktop-bin/Manifest index 8891f913e2ba..4d2f6e83a2b0 100644 --- a/net-im/mattermost-desktop-bin/Manifest +++ b/net-im/mattermost-desktop-bin/Manifest @@ -1,2 +1,4 @@ DIST mattermost-desktop-5.5.1-linux-arm64.tar.gz 100458081 BLAKE2B 2a58b40ef0ca5ad7d76a21bebab928817e49cf21a8b3fd61b59824a7382eb3fdd107dc02d20bdd118259530c07995105209096b40d49b9a73fbeb26e52278fc8 SHA512 2c680709a397475ec3ecf51249988bd9f104a51d70bf5947f4dbc7340bdebe05ed9d020c01eaf519bf80b104c27eda5901ce6477a16d7dec765a21864e1e4f83 DIST mattermost-desktop-5.5.1-linux-x64.tar.gz 99899822 BLAKE2B da8bb0c3932f32ff12abc90e07d69d70e0f4d8ee86bd1881b5311496462630f3e43813acece1957027cf1968f7c7d532dd9892049e42761ee5ef437dc4cdd817 SHA512 fcb3f9c213323b5ede9f21765af8bb8ace9ed7f9469de13f05ffe44a8ce251d7305b978133142473c813bf94ffd50e7b5323bac64a7c585c01e803f15abdc46f +DIST mattermost-desktop-5.6.0-rc.1-linux-arm64.tar.gz 103187212 BLAKE2B 3aca700d0f705535e372c2165a97d9a2b1406ef444fbe274b39b0e84692a11d00eb42b79f7d29ea4ef00f6a1a081ff512a98abb02cc1e045ac2df8f94dd69d02 SHA512 25702488d3cbfa209a74a470779ee35d2663ffd4cb0b7b3ce8b476cd7246ffc37e96a534fa1d4e8b6f3421f8069560eb3dbc3ba0c3786f9bbd8fa2af8d45ab18 +DIST mattermost-desktop-5.6.0-rc.1-linux-x64.tar.gz 102835688 BLAKE2B b130c87db58051ce3f155227080a8c5fb574ed670cce16fe7227d1485ee5941bfce5ebe22ff242c5d3efb8dff1ce99adb880f320aa063a293e31807e7c075c8b SHA512 679bee6c8797e71ea84f6badc21c755054825546d57f9aa5ef5baf81d4dbe63fa636051a4572bef1f20b84931703cb5ff51086f6821e5f40a0a79677dcd09f93 diff --git a/net-im/mattermost-desktop-bin/mattermost-desktop-bin-5.6.0_rc1.ebuild b/net-im/mattermost-desktop-bin/mattermost-desktop-bin-5.6.0_rc1.ebuild new file mode 100644 index 000000000000..75064aceabf4 --- /dev/null +++ b/net-im/mattermost-desktop-bin/mattermost-desktop-bin-5.6.0_rc1.ebuild @@ -0,0 +1,95 @@ +# 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 ) +" +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 +}