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 BE367158089 for ; Fri, 15 Sep 2023 18:09:51 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C843A2BC033; Fri, 15 Sep 2023 18:09:50 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 B2D492BC033 for ; Fri, 15 Sep 2023 18:09:50 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id EE738335D1C for ; Fri, 15 Sep 2023 18:09:49 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3B69D1148 for ; Fri, 15 Sep 2023 18:09:48 +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: <1694801366.d1b624032d63ea1f053dee8e856f0a77a67ab0dc.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.5.0.ebuild X-VCS-Directories: net-im/mattermost-desktop-bin/ X-VCS-Committer: ceamac X-VCS-Committer-Name: Viorel Munteanu X-VCS-Revision: d1b624032d63ea1f053dee8e856f0a77a67ab0dc X-VCS-Branch: master Date: Fri, 15 Sep 2023 18:09:48 +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: dbefdb41-f979-4baa-b818-91968412cf7f X-Archives-Hash: 048a6953bf9fcd6502eebdef1a5ab35f commit: d1b624032d63ea1f053dee8e856f0a77a67ab0dc Author: Viorel Munteanu gentoo org> AuthorDate: Fri Sep 15 18:08:20 2023 +0000 Commit: Viorel Munteanu gentoo org> CommitDate: Fri Sep 15 18:09:26 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d1b62403 net-im/mattermost-desktop-bin: add 5.5.0 Signed-off-by: Viorel Munteanu gentoo.org> net-im/mattermost-desktop-bin/Manifest | 2 + .../mattermost-desktop-bin-5.5.0.ebuild | 93 ++++++++++++++++++++++ 2 files changed, 95 insertions(+) diff --git a/net-im/mattermost-desktop-bin/Manifest b/net-im/mattermost-desktop-bin/Manifest index ffb385496c28..a44eae727041 100644 --- a/net-im/mattermost-desktop-bin/Manifest +++ b/net-im/mattermost-desktop-bin/Manifest @@ -1,4 +1,6 @@ DIST mattermost-desktop-5.4.0-linux-arm64.tar.gz 98202612 BLAKE2B 6fdef5720feb73ce11b2ef0ac0e761cbf8e0e2ccc91586cce01d8769e43ab998992430e0cdcd1386fcbd32180a7e536e6a0a3ce8101194740a27423f5d6631ea SHA512 585913994e6ab8d18e1725115c0803ce5104d34646f649943c7aa2345346988cd85e7cf81342ebdb761ae4c25463e1de498e315c53e23587b05e9eaedcd5fd6f DIST mattermost-desktop-5.4.0-linux-x64.tar.gz 97476223 BLAKE2B 469287aa11e2863f427736a099dee8dd96d48739a826eba7785f7c14147a69c16beddc7ff8752cfdc6fade0a4a9aafc166ba867dae2028b0b99db8161b16f3ad SHA512 26239df298b368816b472a69fcc0173f00e9e5123c195989a28ff6158a7c8a98c842dd22b4d74523c0d1ed05d8490a4436261768c55cee4d761325b5178bb62e +DIST mattermost-desktop-5.5.0-linux-arm64.tar.gz 100549584 BLAKE2B fd66d80c2086c6d27988de8673f430fefe1c77673e92cde34aff42249b1188f83d90d63120d2bed9f138190f61bfa3ab143c80dc93388af0f36818cbc03abed4 SHA512 91975d410a2de844367be43eeb0fc5d030b528792e519e3315a571341753e3b06107fc2f7ecf42bb553137fc869f40a28adbb938894b2f73a4ddd82314b12b9f +DIST mattermost-desktop-5.5.0-linux-x64.tar.gz 99975458 BLAKE2B 7cf6080425446bc9359e754cb74cd16f21fdb79ef71741b05d3adb2a480da42db16437211d5c523380524faface12e0d211af15bfa3aab57edaebc53eccdc73f SHA512 ecd6338e8ceffae98087af0e882f0c69aa45e3b24990f015580ba15ef246862521965084bde18b35030c1e172f7d5f21d7690fab3439b1d470f56942e9616efe DIST mattermost-desktop-5.5.0-rc.2-linux-arm64.tar.gz 100550599 BLAKE2B a046936382ec5869237adceaa00e30ca3fe4aa65d82c806aed9ea296abb2e6e656af1501fc61d4b6536e24b2dac7df1d78dffe12615044a947f2321387727012 SHA512 9b6adcd2e1c9959ac049d9571c3098ff11eaefb31d2771c8afd86b046c893e8b826f67e9914884213373274193be2ff615f9d6fb17056bee1b4258d958f11deb DIST mattermost-desktop-5.5.0-rc.2-linux-x64.tar.gz 99975998 BLAKE2B 5a22a5f4499335d805ce9956032ac7b5e8442de89ed3b756c481bf36139f55e07635fb79258a2ab86a0c45d6fa7d54e65a6a479488cd43e21947121eb0e3f8b7 SHA512 7910193e28356877bef03cc9f3d6c4bac42daac87728a90af9e2ecf3359650fd1cf31fe01e763bece1e4733f76db6511b2780a3261e81ac25b2409732c520c6e diff --git a/net-im/mattermost-desktop-bin/mattermost-desktop-bin-5.5.0.ebuild b/net-im/mattermost-desktop-bin/mattermost-desktop-bin-5.5.0.ebuild new file mode 100644 index 000000000000..339810206271 --- /dev/null +++ b/net-im/mattermost-desktop-bin/mattermost-desktop-bin-5.5.0.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 ) +" +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" \ + Mattermost "${MY_PN}" + + einstalldocs +}