From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 296651581EE for ; Tue, 08 Apr 2025 19:34:08 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (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) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 14A1D34314F for ; Tue, 08 Apr 2025 19:34:08 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 0C6171104BE; Tue, 08 Apr 2025 19:33:49 +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)) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id F0C8D1104BE for ; Tue, 08 Apr 2025 19:33:48 +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 A638C3430E9 for ; Tue, 08 Apr 2025 19:33:48 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 34CC6283B for ; Tue, 08 Apr 2025 19:33:46 +0000 (UTC) From: "Haelwenn Monnier" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Haelwenn Monnier" Message-ID: <1744038767.9095157f92e7303fc6d24ff56c25760302cc4996.lanodan@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: net-im/teams-for-linux/ X-VCS-Repository: repo/proj/guru X-VCS-Files: net-im/teams-for-linux/Manifest net-im/teams-for-linux/teams-for-linux-2.0.4.ebuild X-VCS-Directories: net-im/teams-for-linux/ X-VCS-Committer: lanodan X-VCS-Committer-Name: Haelwenn Monnier X-VCS-Revision: 9095157f92e7303fc6d24ff56c25760302cc4996 X-VCS-Branch: master Date: Tue, 08 Apr 2025 19:33:46 +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: 49afaf02-229b-4531-9df4-1ef978f01198 X-Archives-Hash: b3efaf81f5c6967329d193d7ef7fb225 commit: 9095157f92e7303fc6d24ff56c25760302cc4996 Author: Thomas Clarke posteo net> AuthorDate: Mon Apr 7 15:11:58 2025 +0000 Commit: Haelwenn Monnier hacktivis me> CommitDate: Mon Apr 7 15:12:47 2025 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9095157f net-im/teams-for-linux: add 2.0.4 Signed-off-by: Thomas Clarke posteo.net> net-im/teams-for-linux/Manifest | 3 + .../teams-for-linux/teams-for-linux-2.0.4.ebuild | 101 +++++++++++++++++++++ 2 files changed, 104 insertions(+) diff --git a/net-im/teams-for-linux/Manifest b/net-im/teams-for-linux/Manifest index 898a55191..e99647150 100644 --- a/net-im/teams-for-linux/Manifest +++ b/net-im/teams-for-linux/Manifest @@ -7,3 +7,6 @@ DIST teams-for-linux-2.0.2.x86_64.rpm 91500441 BLAKE2B 6a195c3e5d78b2d38b3a51034 DIST teams-for-linux-2.0.3.aarch64.rpm 86656165 BLAKE2B c5dc586df23dfdc5326dd1b19ce9978a992095fc73ccde1943043e63fc6caf344a746cd9dd8e0805183ffa8764be6e17ed8d511aa2e0167fa046cca95bd2d045 SHA512 5633e1b0819437c19e675ec712e30f170e9a8b327729f4ca1bb4244c8d0992cb5fe1feb623f9325ca005cb3356c7cdd1c579e2781b3fa24faf9261b7910c351a DIST teams-for-linux-2.0.3.armv7l.rpm 85868585 BLAKE2B bf0edb2bda7588ec0ec13ee15ee207063db0702aac01e614c81e54ea1464583f9d8ff95583677b1c963115e5de9e8db874f4c14c027ef725b2cc55ff198f86f8 SHA512 d789b349c8d97f1f376e3a2367b4d12786923e77eba6336ee8a709f4e44ae78d7d670e66caf05f2e6a83b8ffffd108dd093fb369cff9d52ba0ae9de69db80bdb DIST teams-for-linux-2.0.3.x86_64.rpm 91469985 BLAKE2B 37a23fb6c1a7e445a53ba1081d20c550570faecb1b7ac866a9d702f3a7f110c7bad3ccaaa8ae6a7128bb6cfce10f18e5c2666ab0478f67b7f527511d8f81d2bf SHA512 628959e1508b6e309db655b9414db21e14c75a1ec73440eb971321cda190e679c3470c1657898d0736e92cc20989862cdbcd51d0be0bc9719c154dca1efe1ce0 +DIST teams-for-linux-2.0.4.aarch64.rpm 86631153 BLAKE2B 14b54db18881fbe6b10e2ea213654f852d66ef01809c3e0d20b794c67f2f4c77a38aa7fea33b2531b59f9e4c65c065edf08e971a6b22db98201de19f365a2d11 SHA512 dea4d399433980b1b4ac6f6d99dfdb6e48817bb9c25eae4df539444749d541c4d8311aa057c1b8f0afe30e5988c50153886f7924e24ce9118bc25ee70374c438 +DIST teams-for-linux-2.0.4.armv7l.rpm 85883501 BLAKE2B 56f4b755eaf053aedbfaf5bdf4db7ec16ceeec0f667e66a74836e1b59c7d14d2a32fc4f019b827572e6c1192a00a539e959acd9dc8a815de18102cdc56875769 SHA512 781fe7a1aa3f285dd811ce287eba6747fa438da4002a45883867118f538f9c5135d9554158bde40f81fd8e4086a09e7a2755a157cc45f4ff93f8889fec240a2c +DIST teams-for-linux-2.0.4.x86_64.rpm 91475897 BLAKE2B c5eacc77357f1f5dacbc66ad3db7d0872b5d0c14d3b062f7998604b26ea8310d7d7535aba9306290d49f767d3837e3cffb51646029507f7a211071e0766413c2 SHA512 c56ef48c180b053247830ef7d7c8e57f742999728bce878e080654f19f87e048265e67df21b2e0271bdda42b17da6ae9ab5dfff0e83c77af69b2cdc10fd06b61 diff --git a/net-im/teams-for-linux/teams-for-linux-2.0.4.ebuild b/net-im/teams-for-linux/teams-for-linux-2.0.4.ebuild new file mode 100644 index 000000000..e9d60a30d --- /dev/null +++ b/net-im/teams-for-linux/teams-for-linux-2.0.4.ebuild @@ -0,0 +1,101 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CHROMIUM_LANGS=" + af am ar bg bn ca cs da de el en-GB en-US es es-419 et fa fi fil fr gu he + hi hr hu id it ja kn ko lt lv ml mr ms nb nl pl pt-BR pt-PT ro ru sk sl sr + sv sw ta te th tr uk ur vi zh-CN zh-TW +" + +inherit chromium-2 desktop rpm xdg + +DESCRIPTION="Unofficial Microsoft Teams client for Linux. Binary precompiled version." +HOMEPAGE="https://github.com/IsmaelMartinez/teams-for-linux" +SRC_URI=" + amd64? ( https://github.com/IsmaelMartinez/${PN}/releases/download/v${PV}/${PN}-${PV}.x86_64.rpm ) + arm? ( https://github.com/IsmaelMartinez/teams-for-linux/releases/download/v${PV}/${P}.armv7l.rpm ) + arm64? ( https://github.com/IsmaelMartinez/teams-for-linux/releases/download/v${PV}/${P}.aarch64.rpm ) +" +S="${WORKDIR}" + +# Electron bundles a bunch of things +LICENSE=" + MIT BSD BSD-2 BSD-4 AFL-2.1 Apache-2.0 Ms-PL GPL-2 LGPL-2.1 APSL-2 + unRAR OFL-1.1 CC-BY-SA-3.0 MPL-2.0 android public-domain all-rights-reserved +" +SLOT="0" +KEYWORDS="-* ~amd64 ~arm ~arm64" +RESTRICT="bindist mirror" + +RDEPEND=" + app-accessibility/at-spi2-core:2 + 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 + x11-libs/cairo + x11-libs/gtk+:3 + x11-libs/libdrm + x11-libs/libX11 + x11-libs/libxcb + x11-libs/libXcomposite + x11-libs/libXdamage + x11-libs/libXext + x11-libs/libXfixes + x11-libs/libxkbcommon + x11-libs/libXrandr + x11-libs/pango +" + +QA_PREBUILT="opt/teams-for-linux/*" +QA_DESKTOP_FILE="usr/share/applications/teams-for-linux.desktop" + +pkg_pretend() { + chromium_suid_sandbox_check_kernel_config +} + +src_prepare() { + default + # cleanup languages + pushd "opt/teams-for-linux/locales" || die + chromium_remove_language_paks + popd || die +} + +src_configure() { + chromium_suid_sandbox_check_kernel_config + default +} + +src_install() { + for size in {16,24,32,48,64,96,128,256,512,1024}; do + doicon -s ${size} "usr/share/icons/hicolor/${size}x${size}/apps/teams-for-linux.png" + done + + domenu usr/share/applications/teams-for-linux.desktop + + local DESTDIR="/opt/teams-for-linux" + + pushd "opt/teams-for-linux" || die + + exeinto "${DESTDIR}" + doexe chrome-sandbox chrome_crashpad_handler teams-for-linux *.so* + + insinto "${DESTDIR}" + doins *.pak *.bin *.json *.dat + insopts -m0755 + doins -r locales resources + + # Chrome-sandbox requires the setuid bit to be specifically set. + # see https://github.com/electron/electron/issues/17972 + fperms 4755 "${DESTDIR}"/chrome-sandbox + + dosym "${DESTDIR}"/teams-for-linux /opt/bin/teams-for-linux + popd || die +}