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 4C1991581D3 for ; Wed, 29 May 2024 12:54:09 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 839C9E2A49; Wed, 29 May 2024 12:54:08 +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 3A325E2A49 for ; Wed, 29 May 2024 12:54:08 +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 5B8CF335C0B for ; Wed, 29 May 2024 12:54:07 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B4A8C1704 for ; Wed, 29 May 2024 12:54:05 +0000 (UTC) From: "Andrew Ammerlaan" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andrew Ammerlaan" Message-ID: <1716987223.12ae18da99d67327bca2160ce52678297d1c2aa0.andrewammerlaan@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.5.2.ebuild X-VCS-Directories: net-im/teams-for-linux/ X-VCS-Committer: andrewammerlaan X-VCS-Committer-Name: Andrew Ammerlaan X-VCS-Revision: 12ae18da99d67327bca2160ce52678297d1c2aa0 X-VCS-Branch: dev Date: Wed, 29 May 2024 12:54:05 +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: cca43edf-3378-4b9c-b9b5-23f0e7dc8cfe X-Archives-Hash: 1e2104e325e41f501f631b987fd64551 Message-ID: <20240529125405.VvLtXmq6hLr6q_FAP-ByZTw7w27uc7bwhz1RiHzqt0w@z> commit: 12ae18da99d67327bca2160ce52678297d1c2aa0 Author: Andrew Ammerlaan gentoo org> AuthorDate: Wed May 29 12:53:43 2024 +0000 Commit: Andrew Ammerlaan gentoo org> CommitDate: Wed May 29 12:53:43 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=12ae18da net-im/teams-for-linux: add 1.5.2 Signed-off-by: Andrew Ammerlaan gentoo.org> net-im/teams-for-linux/Manifest | 3 + .../teams-for-linux/teams-for-linux-1.5.2.ebuild | 100 +++++++++++++++++++++ 2 files changed, 103 insertions(+) diff --git a/net-im/teams-for-linux/Manifest b/net-im/teams-for-linux/Manifest index 09f36a518..1660e1bc6 100644 --- a/net-im/teams-for-linux/Manifest +++ b/net-im/teams-for-linux/Manifest @@ -4,3 +4,6 @@ DIST teams-for-linux-1.4.12.x86_64.rpm 74359237 BLAKE2B 16d42d54c3f160d02c97dd5c DIST teams-for-linux-1.4.13.aarch64.rpm 69747789 BLAKE2B 9b0fb7462cd6e2b8269d598b88d6c127ec649d59aadd05260d11865d3212427b07c2ffb5d9c17fee6bd0845d4aa925d81709caa8541341c8063c108071424d50 SHA512 ccd6e4e4ddc7e276a04280533524530594e412cd3cef040a556d6e93721b0212dbc18d04910048a1c18f0fdc413d299e6c9bf7a3d8c4709a06eda444990b315b DIST teams-for-linux-1.4.13.armv7l.rpm 68003545 BLAKE2B 71e05f6a54095f77d1dbcec22253983a9167e19a9867814e22e805103278f5617189b4591399307957f2f8e1f0c9ebb83f5d7c10370ee7c158409b349941ddff SHA512 1b4b1581f57615710085efe919d6861de381e5fcea631f385d7cc7a2820f86a902a7d2890f7781fcda06574b6ac5c918e99cfffe6d3642080fc75d645264ec36 DIST teams-for-linux-1.4.13.x86_64.rpm 74456441 BLAKE2B dab983fd0eb2671f79c363b8ca4a263572e97e63b54e48f40343dc5d0ff4c889bdb71e47f7d1b4a22b29a564533de5dfb7be64ac2685171ede4cb11023322e9b SHA512 4db74fbebac7be4138b550504ce50f451adad6fa804c5555f1f8c09694ae3ae45f7a25355d280e1da27b1090fc1c47e317ebe37be0a516ff4428e0a34408dea9 +DIST teams-for-linux-1.5.2.aarch64.rpm 69749385 BLAKE2B 3f45aa90400b6f1758aa232af6945939e4fb7f71d7886f1bb324222f78c222b26f0008235f33310417a89e2d8f3353566c071dd73a3cd77a452c4ddea48bf7a6 SHA512 beff3501de6066d0a591dcb8ff305e42b6156554404bda2fa8864e5a4c4acf38e936f68ead52966d25ebd174920ba5a9594010b3566f39691bfdab5c9e0f0097 +DIST teams-for-linux-1.5.2.armv7l.rpm 68014797 BLAKE2B 56e0dbb397f4ba51f04972ad4806bc1d9e252985c64b404bd39023a044759d122c00e071114abd8d6b14ecc6a3f90b1959d7be3be9e89433a6515ff02cbe0673 SHA512 47b59347bc2d647556ba77484f6ff624c63112d6d3e9e5e701420389755ef7a2b89af0036146e82eed56046bb1ef255336b93445a56c3effdf6acc8d06b8f3a1 +DIST teams-for-linux-1.5.2.x86_64.rpm 74473197 BLAKE2B 8328e8eb5f73ea61a9a1f5cbacb46e2ec639fcd0ddca3d5746d2ccbe78bccdf4b1f6f4c78270eac294ed530dcf6bfa08ef928c95a45b365cd5a19286c0a3b02b SHA512 eeb610d7d564df7cefde6450101496c1cd7972360ae9c828ff222bcbe9df8d5b7fc4fc52f8163615ad9cdf5cab7c67a853b57f3c92c252b9db7e930da7be2e53 diff --git a/net-im/teams-for-linux/teams-for-linux-1.5.2.ebuild b/net-im/teams-for-linux/teams-for-linux-1.5.2.ebuild new file mode 100644 index 000000000..ea2cfa03c --- /dev/null +++ b/net-im/teams-for-linux/teams-for-linux-1.5.2.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/teams-for-linux/releases/download/v${PV}/${P}.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" + +DEPEND=" + app-accessibility/at-spi2-core + dev-libs/expat + dev-libs/glib + 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 +}