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 D8BDB1582EF for ; Sat, 22 Feb 2025 22:36:42 +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 B8D7D343281 for ; Sat, 22 Feb 2025 22:36:42 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 16182110476; Sat, 22 Feb 2025 22:36:31 +0000 (UTC) Received: from smtp.gentoo.org (smtp.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)) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 11C31110476 for ; Sat, 22 Feb 2025 22:36:31 +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 B979A3431BC for ; Sat, 22 Feb 2025 22:36:30 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 01FBB272B for ; Sat, 22 Feb 2025 22:36:28 +0000 (UTC) From: "David Roman" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "David Roman" Message-ID: <1740243736.36e76bb7f8aaf99a4f0b321ef0fc3599b0c318ed.davidroman@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-1.12.7.ebuild X-VCS-Directories: net-im/teams-for-linux/ X-VCS-Committer: davidroman X-VCS-Committer-Name: David Roman X-VCS-Revision: 36e76bb7f8aaf99a4f0b321ef0fc3599b0c318ed X-VCS-Branch: master Date: Sat, 22 Feb 2025 22:36:28 +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: 978cd4e4-c587-4c0c-878e-14f00dbcb398 X-Archives-Hash: 657b75c361360aeaf0df55bf207a29e7 commit: 36e76bb7f8aaf99a4f0b321ef0fc3599b0c318ed Author: Thomas Clarke posteo net> AuthorDate: Sat Feb 22 17:02:16 2025 +0000 Commit: David Roman gmail com> CommitDate: Sat Feb 22 17:02:16 2025 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=36e76bb7 net-im/teams-for-linux: add 1.12.7 Signed-off-by: Thomas Clarke posteo.net> net-im/teams-for-linux/Manifest | 3 + .../teams-for-linux/teams-for-linux-1.12.7.ebuild | 100 +++++++++++++++++++++ 2 files changed, 103 insertions(+) diff --git a/net-im/teams-for-linux/Manifest b/net-im/teams-for-linux/Manifest index 5e130f9cd..18773079e 100644 --- a/net-im/teams-for-linux/Manifest +++ b/net-im/teams-for-linux/Manifest @@ -10,3 +10,6 @@ DIST teams-for-linux-1.12.5.x86_64.rpm 89286841 BLAKE2B fb974c14309ba7ca1aa281f2 DIST teams-for-linux-1.12.6.aarch64.rpm 84631473 BLAKE2B 9b9b9b3d36fc5bfd5db848994641b21609246b3225716bded9dd6571888dbe77ecce1d9a83ab94c48177bb37f7b99a13eebe0e4a95df4ed9b6dd2dd94f1d5d94 SHA512 49b214da137edbf73da0112a4ddb3740e130967c006940d39ca98e6b6e8d5fb4cc25028d36279f762b8736edfb4c6c25a58995c2c19fbe826dd3457fbd391c1b DIST teams-for-linux-1.12.6.armv7l.rpm 84065405 BLAKE2B a48b58add00e709d9156276e3cdc8206f9e08a712db5ca4258c93bf1ce0c268b653369eefa944c6b458cc423d9e9b77350adfc485a880167b741c627a5e3f6d3 SHA512 b25bb87f817c9b97183a0abac9c067b8449b8b02bfd14c2fa8bc961668fb07db8ce005ad7e26f52bd606c1c7b7982cbca3fb189538b97be2c6980a4cd4b4b14d DIST teams-for-linux-1.12.6.x86_64.rpm 89263865 BLAKE2B 02bd11675458ab01d2397d4cc6ad917afa5000cf20c711fb187b7a58c00db82a5ec976b088ff64e07f6a0c9b3bd763892db5bde5ad54421d8fa4dc7228e2b578 SHA512 dd77c40fc9e096210ed2ac2977db92bd6cc8966fb4033a11fdd7d247ca80190981a1aeb32904b25260c45bb152f138c56f0aeb79d6dd1eb9522a49d249460d7f +DIST teams-for-linux-1.12.7.aarch64.rpm 84630005 BLAKE2B ad3e777d08c8960b454c74a9c51dee71d19f78be908d5958c6c9b044813f930bff2597d628624f1deda1888c5a6e53759d418ff6fc64150f5883344eff05713d SHA512 37bb210e239eea4af50ee0471ea219bb06cacc9d2f0fc61cd602f544440a8c2c76feb254e93c5472444adeda654304ac9e4c93b3519f7208f9e2b89e013f356d +DIST teams-for-linux-1.12.7.armv7l.rpm 84055101 BLAKE2B 6f72df57d85482c78a648cd700b6bfe52d9b7d9ec2596cf3b8591b5de6674e9afcf5bbea976d647822c4b56c1c98aaccb22771ef8bf4e18be2dc5ace3252a5b2 SHA512 53eda4b23b40e33f05e70f1893b85b2e17ef55706004d6cc801d41a2ea0c499e2775ce67c3693463d39fd7e3b9553bec77e1418e4e36b93168d3ba322ba73f89 +DIST teams-for-linux-1.12.7.x86_64.rpm 89274717 BLAKE2B a071af126e277f4e5e5e2e9bfc4e927579bb47f426c857ae60b487a1b56095958a57fc256125c92a3169ef005fb05c4097d20c7ff2514c3d7559893ca7c71ae6 SHA512 ad3eb8daaf10667f3f64cef9eaa96e27e2a41b0024a9c86b56b6fcb81efa4d06539d6e9317e7f65b23ef63f87cb15c5c159b948613a6d7e4d9843e5388ffc62b diff --git a/net-im/teams-for-linux/teams-for-linux-1.12.7.ebuild b/net-im/teams-for-linux/teams-for-linux-1.12.7.ebuild new file mode 100644 index 000000000..711eed7e7 --- /dev/null +++ b/net-im/teams-for-linux/teams-for-linux-1.12.7.ebuild @@ -0,0 +1,100 @@ +# 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/*" + +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 +}