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 D05FE15813A for ; Wed, 22 Jan 2025 10:43:35 +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) server-digest SHA256) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id B860A340C43 for ; Wed, 22 Jan 2025 10:43:35 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id B2BC411042C; Wed, 22 Jan 2025 10:43:34 +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 bobolink.gentoo.org (Postfix) with ESMTPS id A6C9E11042C for ; Wed, 22 Jan 2025 10:43:34 +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 23C10340C43 for ; Wed, 22 Jan 2025 10:43:34 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 434D1E65 for ; Wed, 22 Jan 2025 10:43:32 +0000 (UTC) From: "Thomas Clarke" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Thomas Clarke" Message-ID: <1737542520.123255e7733026e093d8315909630c47fce85279.TomClarke2006@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev 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.6.ebuild X-VCS-Directories: net-im/teams-for-linux/ X-VCS-Committer: TomClarke2006 X-VCS-Committer-Name: Thomas Clarke X-VCS-Revision: 123255e7733026e093d8315909630c47fce85279 X-VCS-Branch: dev Date: Wed, 22 Jan 2025 10:43:32 +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: fb36f73d-5ccc-4091-bef2-b33fb3dc0192 X-Archives-Hash: f9adfb02f304e36193c3ff9d2a1fa5b8 commit: 123255e7733026e093d8315909630c47fce85279 Author: Thomas Clarke posteo net> AuthorDate: Wed Jan 22 10:42:00 2025 +0000 Commit: Thomas Clarke hotmail com> CommitDate: Wed Jan 22 10:42:00 2025 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=123255e7 net-im/teams-for-linux: add 1.12.6 Signed-off-by: Thomas Clarke posteo.net> net-im/teams-for-linux/Manifest | 3 + .../teams-for-linux/teams-for-linux-1.12.6.ebuild | 100 +++++++++++++++++++++ 2 files changed, 103 insertions(+) diff --git a/net-im/teams-for-linux/Manifest b/net-im/teams-for-linux/Manifest index 39de6aede..5e130f9cd 100644 --- a/net-im/teams-for-linux/Manifest +++ b/net-im/teams-for-linux/Manifest @@ -7,3 +7,6 @@ DIST teams-for-linux-1.12.3.x86_64.rpm 89283245 BLAKE2B 71d5f40e65b8b90e40233d1d DIST teams-for-linux-1.12.5.aarch64.rpm 84636389 BLAKE2B 1dfa105df311a1cdd753a8606ce9e0f9c2bb2bce747fbeaa21d0b93e4c3f511937680e1d426cfb6b822ea06c9cb5989f3a263b522be7b0872ba0f9291696a01d SHA512 ec5293b9fad09f2b6d349972bb98eac4486fc41fc387502d730c71116d42fb6150689006b75bc116f789d583c1174eead4c7acc7330508c40896b2cb03ac2515 DIST teams-for-linux-1.12.5.armv7l.rpm 84043533 BLAKE2B 95a7240baccaba398ecbb9ceca6f62600ef6ce8bcea614f99d840f8e29fff1b365155954684da2ad835b010bd14dd81e65a577308db4316f44caea3e400a3986 SHA512 de7fd1a9f3a30a96474c0b5159e3b26a13955ae150c3a9a4c5587e4a812ecee10467cedf1bfac6dab547ba501821ad7ccdcf024693293df1b7b2be70575f5af2 DIST teams-for-linux-1.12.5.x86_64.rpm 89286841 BLAKE2B fb974c14309ba7ca1aa281f2bda987c18fd6a5aef748e0ff5a04be5fad9cec87492ac9d3d8609cd3e3690fd3cf821564cf05222ef32cc251adb4826bf82ed02b SHA512 3f876fa635f84192b0608c12bcd46bc7ba88fe79729a8d0afcaa3339ae8f6a4ffce3eeb1caa85ec48cfeeb684cc4b8fb81764ea269c0aeaf4cd1622519ca4a86 +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 diff --git a/net-im/teams-for-linux/teams-for-linux-1.12.6.ebuild b/net-im/teams-for-linux/teams-for-linux-1.12.6.ebuild new file mode 100644 index 000000000..711eed7e7 --- /dev/null +++ b/net-im/teams-for-linux/teams-for-linux-1.12.6.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 +}