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 (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 2E290158232 for ; Tue, 10 Dec 2024 11:32:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D20C4E091D; Tue, 10 Dec 2024 11:32:21 +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 pigeon.gentoo.org (Postfix) with ESMTPS id B0F6FE0918 for ; Tue, 10 Dec 2024 11:32:21 +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 B9DB7343146 for ; Tue, 10 Dec 2024 11:32:20 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 558BE229E for ; Tue, 10 Dec 2024 11:32:17 +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: <1733785426.556154b901648f083362ff11b3bfb527cbda18d3.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.3.ebuild X-VCS-Directories: net-im/teams-for-linux/ X-VCS-Committer: davidroman X-VCS-Committer-Name: David Roman X-VCS-Revision: 556154b901648f083362ff11b3bfb527cbda18d3 X-VCS-Branch: master Date: Tue, 10 Dec 2024 11:32:17 +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: 990bb940-e558-4981-b791-10987bd7b3da X-Archives-Hash: 2787e289a9d6c67a0317aca6be627b41 commit: 556154b901648f083362ff11b3bfb527cbda18d3 Author: Thomas Clarke posteo net> AuthorDate: Mon Dec 9 23:03:46 2024 +0000 Commit: David Roman gmail com> CommitDate: Mon Dec 9 23:03:46 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=556154b9 net-im/teams-for-linux: add 1.12.3 Signed-off-by: Thomas Clarke posteo.net> net-im/teams-for-linux/Manifest | 3 + .../teams-for-linux/teams-for-linux-1.12.3.ebuild | 100 +++++++++++++++++++++ 2 files changed, 103 insertions(+) diff --git a/net-im/teams-for-linux/Manifest b/net-im/teams-for-linux/Manifest index 56f034308..1a44b8efe 100644 --- a/net-im/teams-for-linux/Manifest +++ b/net-im/teams-for-linux/Manifest @@ -1,3 +1,6 @@ DIST teams-for-linux-1.11.5.aarch64.rpm 84955693 BLAKE2B 49951f3f903347e127ebfe77f6766376054180b8339b8d31b777fdf8c6991702e18b482919bbf5911c899e23661eb551381a1550c7aebdd12dc2215aa48f3a2f SHA512 ea5ab8c5199c8c364ad1ef6ff052fef58e8d09e958b319de0a80e91df43a2dde53c4f0e0242e59500934cbc20143d49e1de5f24116dd30abb80ed018b75bc192 DIST teams-for-linux-1.11.5.armv7l.rpm 84364393 BLAKE2B 1f002b4b4aa737f96762ed3c6648e9854de69c69d9140ea0b1d4155e249ccdaf15541a3b1aedc494eab402a259c0feec524f0692506a917b396b27e44644e91a SHA512 0638f6bfe61de8fbda74273eaf2f3b28935dbc83c3792b82d5ae95ce99f8f36d4c2ecf15b41b866a6b2c6983bf4e2baa87c8dfb1d76097e0066b16e4294d0325 DIST teams-for-linux-1.11.5.x86_64.rpm 89611789 BLAKE2B b6331220281aa319d7cc7a25f8cd307bf13fb21ffbc425ded6287df13978bea9ebd61928c98d3bcfa5c982a6e4adc05c5234c3225f2edb23b10cd120cf92f0a5 SHA512 7117c58ae8cbf0f634628742ccea5da99fc85ff31fc5f6ec8a3a79dc8264787b87ccb84ba4bff936dbb0fd024098798b098d4d4f7f2a21f96381cb8d5993af00 +DIST teams-for-linux-1.12.3.aarch64.rpm 84640397 BLAKE2B b37ce75d2b6fbe4bafa0bb589fa89a99b4af2569b9c69bb1240e8315976db326e34a070826b5f3acd77625d1585c6ff5a8dd88c51d1ba9c00441a5767d2d6429 SHA512 0a1e9ebef7b5a3b44ddd938cabccff65bad885b2e640f982f33c693496fcb33a084a8785e21afce4bf57d22405acc7c47124c6ef747d50596f70d1ece4493c8b +DIST teams-for-linux-1.12.3.armv7l.rpm 84036961 BLAKE2B 81124ee7d6fd87a3b30e2ebdc14f8e7d1b70cd4de67cfae48a59aa421621d3b58697f87231099c963c700d9c28cdd93e3b8ef645cd2d8e1d35331bae26c191e0 SHA512 ffb359b0e0adcfd5160bd53be87e700dbc6fe9b18e44828924d6c10df982ac28d3f45468c876f1502bfa8441049a5a87ea1137e0cf83ff7e93f964639a27c539 +DIST teams-for-linux-1.12.3.x86_64.rpm 89283245 BLAKE2B 71d5f40e65b8b90e40233d1d61bd28483ab8aba514daa3c8d35780d1216a180c9f61d69c007c09bba2e54810874b4c74002f2ed0f6130075b0db6aa55dc87799 SHA512 8c133856e1ea86555365ac6070fcf49504d718f7544916355e30d85ecabdbcf0b4fff65b05b399dcc2fead39ecb4b520eba7dec6798a8de72c2a6ef6956638fb diff --git a/net-im/teams-for-linux/teams-for-linux-1.12.3.ebuild b/net-im/teams-for-linux/teams-for-linux-1.12.3.ebuild new file mode 100644 index 000000000..711eed7e7 --- /dev/null +++ b/net-im/teams-for-linux/teams-for-linux-1.12.3.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 +}