From: "Andrew Ammerlaan" <andrewammerlaan@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: net-im/teams-for-linux/
Date: Thu, 30 Nov 2023 10:44:48 +0000 (UTC) [thread overview]
Message-ID: <1701340689.23e6d56f01f651d3b53ccc07220962d1bc886b11.andrewammerlaan@gentoo> (raw)
Message-ID: <20231130104448.ZiN_aENGe1zHGhm_vxtkTpYI_a4acX8Aa60F1cLOpzQ@z> (raw)
commit: 23e6d56f01f651d3b53ccc07220962d1bc886b11
Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Thu Nov 30 10:38:02 2023 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> 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 <andrewammerlaan <AT> 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
+}
next reply other threads:[~2023-11-30 10:44 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-11-30 10:39 Andrew Ammerlaan [this message]
2023-11-30 10:44 ` [gentoo-commits] repo/proj/guru:master commit in: net-im/teams-for-linux/ Andrew Ammerlaan
-- strict thread matches above, loose matches on Subject: below --
2025-02-22 17:04 [gentoo-commits] repo/proj/guru:dev " Thomas Clarke
2025-01-22 10:43 Thomas Clarke
2025-01-01 23:55 Thomas Clarke
2024-12-09 23:05 Thomas Clarke
2024-12-09 23:05 Thomas Clarke
2024-11-16 22:40 Thomas Clarke
2024-11-16 22:40 Thomas Clarke
2024-11-02 22:02 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-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=1701340689.23e6d56f01f651d3b53ccc07220962d1bc886b11.andrewammerlaan@gentoo \
--to=andrewammerlaan@gentoo.org \
--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