From: "Thomas Clarke" <TomClarke2006@hotmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: net-im/teams-for-linux/
Date: Sat, 2 Nov 2024 22:02:13 +0000 (UTC) [thread overview]
Message-ID: <1730584923.23575eb64ba256e39c04a5378a5d7e3d73e7678a.TomClarke2006@gentoo> (raw)
commit: 23575eb64ba256e39c04a5378a5d7e3d73e7678a
Author: colonia-duck <colonia_duck <AT> posteo <DOT> net>
AuthorDate: Sat Nov 2 22:01:42 2024 +0000
Commit: Thomas Clarke <TomClarke2006 <AT> hotmail <DOT> com>
CommitDate: Sat Nov 2 22:02:03 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=23575eb6
net-im/teams-for-linux: add 1.11.3
Signed-off-by: colonia-duck <colonia_duck <AT> posteo.net>
.../teams-for-linux/teams-for-linux-1.11.3.ebuild | 100 +++++++++++++++++++++
1 file changed, 100 insertions(+)
diff --git a/net-im/teams-for-linux/teams-for-linux-1.11.3.ebuild b/net-im/teams-for-linux/teams-for-linux-1.11.3.ebuild
new file mode 100644
index 000000000..2b1ba63a6
--- /dev/null
+++ b/net-im/teams-for-linux/teams-for-linux-1.11.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/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"
+
+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
+}
next reply other threads:[~2024-11-02 22:02 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-02 22:02 Thomas Clarke [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-11-16 22:40 [gentoo-commits] repo/proj/guru:dev commit in: net-im/teams-for-linux/ Thomas Clarke
2024-11-16 22:40 Thomas Clarke
2024-11-02 22:02 Thomas Clarke
2024-10-19 22:24 Thomas Clarke
2024-09-15 21:41 Julien Roy
2024-09-15 21:38 Julien Roy
2024-09-05 15:53 Julien Roy
2024-08-24 10:56 Takuya Wakazono
2024-06-21 10:59 Takuya Wakazono
2024-05-29 12:55 [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
2024-05-29 12:54 ` [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2024-03-07 11:34 [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
2024-03-07 11:23 ` [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2024-03-07 11:34 [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
2024-03-07 11:23 ` [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2024-02-25 9:39 Viorel Munteanu
2024-02-25 9:39 Viorel Munteanu
2024-02-14 16:01 [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
2024-02-14 15:58 ` [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2024-01-18 11:56 Andrew Ammerlaan
2023-11-30 10:39 Andrew Ammerlaan
2023-08-12 16:36 David Roman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1730584923.23575eb64ba256e39c04a5378a5d7e3d73e7678a.TomClarke2006@gentoo \
--to=tomclarke2006@hotmail.com \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox