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 57109158099 for ; Thu, 30 Nov 2023 10:44:58 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EE67C2BC045; Thu, 30 Nov 2023 10:44:52 +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 D28062BC045 for ; Thu, 30 Nov 2023 10:44:52 +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 83A7B335D4B for ; Thu, 30 Nov 2023 10:44:51 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 27DB91449 for ; Thu, 30 Nov 2023 10:44:48 +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: <1701340689.23e6d56f01f651d3b53ccc07220962d1bc886b11.andrewammerlaan@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.3.23.ebuild X-VCS-Directories: net-im/teams-for-linux/ X-VCS-Committer: andrewammerlaan X-VCS-Committer-Name: Andrew Ammerlaan X-VCS-Revision: 23e6d56f01f651d3b53ccc07220962d1bc886b11 X-VCS-Branch: master Date: Thu, 30 Nov 2023 10:44:48 +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: 6ad662f7-4605-48e8-935a-95a4fde37e70 X-Archives-Hash: cbc68492b7e31531d628dc3138900159 Message-ID: <20231130104448.ZiN_aENGe1zHGhm_vxtkTpYI_a4acX8Aa60F1cLOpzQ@z> commit: 23e6d56f01f651d3b53ccc07220962d1bc886b11 Author: Andrew Ammerlaan gentoo org> AuthorDate: Thu Nov 30 10:38:02 2023 +0000 Commit: Andrew Ammerlaan gentoo org> CommitDate: Thu Nov 30 10:38:09 2023 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=23e6d56f net-im/teams-for-linux: add 1.3.23 update the ebuild to confirm to the unofficial standard for electron ebuilds. This allows dropping the logo that we are probably not legally allowed to have in here. Signed-off-by: Andrew Ammerlaan gentoo.org> net-im/teams-for-linux/Manifest | 3 + .../teams-for-linux/teams-for-linux-1.3.23.ebuild | 100 +++++++++++++++++++++ 2 files changed, 103 insertions(+) diff --git a/net-im/teams-for-linux/Manifest b/net-im/teams-for-linux/Manifest index f0b6bb9b26..5564b8b83a 100644 --- a/net-im/teams-for-linux/Manifest +++ b/net-im/teams-for-linux/Manifest @@ -1 +1,4 @@ DIST teams-for-linux-1.3.13.tar.gz 93135861 BLAKE2B 6c72f8d60358546bd67321810517e1a19dd97e03a186e4fab85668c3081ff07562f5a02713279861b3549cf9b5b942ca347635612249ffb216568f45da3c1e4f SHA512 d9e46005e7577247c5d1351d566231e2f63a1a99ba49dec80b94f84e47718ad521fa63cfb3b725b6ab5ac7466e6dd44d6c6a504ea4888d93f8f599742df6665e +DIST teams-for-linux-1.3.23.aarch64.rpm 68721369 BLAKE2B d90e6925455c648dafa69ace7f6864f4d925ebe7a6b60402a6e958e96a273bc03626e623fe1ba6782c9a4750361a549fb0f398c21a2e23c72c2b8833aacb92a8 SHA512 54247bf450e23b7c1e746faa3ce2b261e83ce10c209db48c26ebc2b79247cd109a2f856c3bba978971904569b325bf6105b3a0f265679a1669014319725885b7 +DIST teams-for-linux-1.3.23.armv7l.rpm 66729173 BLAKE2B 05ff9dbca24a70989131a5ec075cfe20f971fb9ef95f7f8fb3eea88766c367274677d06ba40bc1ce85723be1553cfd3ed317ef49c28a17e59c932acde5d3127b SHA512 ecf735b369b42b73ed76f8c62c52a689f4e44a7ebe4a528c623a7a2d2d771e5628021b51d1a3543ab2be5ccd59405c5b1f915f0d1947ff82c628f0c8f032d239 +DIST teams-for-linux-1.3.23.x86_64.rpm 73129601 BLAKE2B 5a5068becac5c579f43f17985afeae866548864dee36aa33ab8acdc373592f91c2b1475acc84a881c61bd07d31c66dcd9740d32f0b972ab8ac42ff50e7b5ae3c SHA512 4d38cf17fb1c06c8b10eefceefc6339120c9d326837d7856aca3e1b165d304ed30c6828ee96aff3c35262f047fcb7217cca2b843e0bfe9f8cb5157265424d980 diff --git a/net-im/teams-for-linux/teams-for-linux-1.3.23.ebuild b/net-im/teams-for-linux/teams-for-linux-1.3.23.ebuild new file mode 100644 index 0000000000..18684120b4 --- /dev/null +++ b/net-im/teams-for-linux/teams-for-linux-1.3.23.ebuild @@ -0,0 +1,100 @@ +# Copyright 1999-2023 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}" + +KEYWORDS="-* ~amd64 ~arm ~arm64" +# 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 CC-BY-SA-3.0 MPL-2.0 android public-domain all-rights-reserved +" +SLOT="0" +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 +}