Skip to content

Commit ee7769e

Browse files
net-im/teams-for-linux: add 2.6.9
Signed-off-by: Nowa Ammerlaan <[email protected]>
1 parent 0f534e4 commit ee7769e

File tree

2 files changed

+101
-0
lines changed

2 files changed

+101
-0
lines changed

net-im/teams-for-linux/Manifest

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,6 @@ DIST teams-for-linux-2.5.13.x86_64.rpm 94359685 BLAKE2B 70105e2f2820235616add88d
1010
DIST teams-for-linux-2.6.3.aarch64.rpm 89000869 BLAKE2B a98718ac74609a189f91d0484a629f5323d314d018907749a11abcb74dba4ba545e73424dc208f954008dff2b84b9ef5cd8c25b5dcd10bbbd6b2322387a303d0 SHA512 84b352ec2084d10ff8cd6243d9d3837be625ce6dcb5b34da7df0540af4007b61d5e8b16043117f2aa8497260040c2f7024f30b2d3df8a99db9dca782377bc14a
1111
DIST teams-for-linux-2.6.3.armv7l.rpm 88385281 BLAKE2B d6ce74e46cd7c36b7601935e1bb18ceac2920c8cc29a352311776869c318a9c866600fa78a3ff7da9c004c9251fa5dcc52a10fcf8ae1cc854705f2c5209ae84b SHA512 d17f51fb5600cea3de62cc9af9062a9a19e2c08c15cd66a6f5c65037056bd0476790608d7ce3364bd8ab938d0fa85ac2ef0691818e67964719fd5a5bf9af8d6c
1212
DIST teams-for-linux-2.6.3.x86_64.rpm 94176325 BLAKE2B dadd988b8e1cdfc7f09427333428a983ce62964da022a8f0929a7951bde568d5ba94acdb2da843e3b54bfcba79b81a8c0d39a4e75861350632ca60bd82879de4 SHA512 14a1015ca5e045e63160d006a95bc99ba2b1b6e825ef2f74b8ce609d36c413ebe93c34d9b6f4447ddd28f8846e763d9c3227820469f845d598f3468bc710f4f4
13+
DIST teams-for-linux-2.6.9.aarch64.rpm 89012509 BLAKE2B 734bf452e66b6a20cbfb6b838c2e18d5342caad3b46a343c40c25aaf5059f67f9f7e7181ba4d3c1ddefb53e70768e0e46eab150685350e24803932c862a92e1b SHA512 b867c5961523fc9726a9de0ef4be5cdf604bbb216041d5b73026f5acdab72d2a9f5f56334c2b97736d1262fdee431394a6d559fecbb8a9ec364940500e70e290
14+
DIST teams-for-linux-2.6.9.armv7l.rpm 88394845 BLAKE2B 03766fa5223deae39932e4a6744294150edc7693957094ae6a19a2437f9efb172fc5975d6340bf20e42a85dab157099afb8c0d39fb4ef00ab5aa73e10457b18e SHA512 0be8e465ccbc3a7cac44404abfee46d5d23323e041ca95bb4d298ccf63fcf56fdec123cdd4e4a0f26390766afeb8b83406321ddc1a3b887e8ded1622ea5e54fa
15+
DIST teams-for-linux-2.6.9.x86_64.rpm 94164293 BLAKE2B 41d2fd97560dfdefe582e9cc19983f8ca0948bb30994e19b7ce16718faa802a38f3527cbf7c94c7c61fc264a02b89c109b7712a0a0d56fd909e3cb052762f1e3 SHA512 e1aa818aee104b806cba45f1322471d59ec5ef4e746fe9929e82c6f97c5ae1af25a93655a491a086aa7fb03f2c0f19a1d542f19d8359013dc38ca10fc90176f0
Lines changed: 98 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,98 @@
1+
# Copyright 1999-2025 Gentoo Authors
2+
# Distributed under the terms of the GNU General Public License v2
3+
4+
EAPI=8
5+
6+
CHROMIUM_LANGS="
7+
af am ar bg bn ca cs da de el en-GB en-US es es-419 et fa fi fil fr gu he
8+
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
9+
sv sw ta te th tr uk ur vi zh-CN zh-TW
10+
"
11+
12+
inherit chromium-2 desktop rpm xdg
13+
14+
DESCRIPTION="Unofficial Microsoft Teams client for Linux. Binary precompiled version."
15+
HOMEPAGE="https://github.com/IsmaelMartinez/teams-for-linux"
16+
SRC_URI="
17+
amd64? ( https://github.com/IsmaelMartinez/${PN}/releases/download/v${PV}/${P}.x86_64.rpm )
18+
arm? ( https://github.com/IsmaelMartinez/${PN}/releases/download/v${PV}/${P}.armv7l.rpm )
19+
arm64? ( https://github.com/IsmaelMartinez/${PN}/releases/download/v${PV}/${P}.aarch64.rpm )
20+
"
21+
S="${WORKDIR}"
22+
23+
LICENSE="GPL-3"
24+
# Electron bundles a bunch of things
25+
LICENSE+="
26+
MIT BSD BSD-2 BSD-4 AFL-2.1 Apache-2.0 Ms-PL GPL-2 LGPL-2.1 APSL-2
27+
unRAR OFL-1.1 CC-BY-SA-3.0 MPL-2.0 android public-domain all-rights-reserved
28+
"
29+
SLOT="0"
30+
KEYWORDS="-* ~amd64 ~arm ~arm64"
31+
RESTRICT="bindist mirror"
32+
33+
RDEPEND="
34+
app-accessibility/at-spi2-core:2
35+
dev-libs/expat
36+
dev-libs/glib:2
37+
dev-libs/nspr
38+
dev-libs/nss
39+
media-libs/alsa-lib
40+
media-libs/mesa
41+
net-print/cups
42+
sys-apps/dbus
43+
virtual/libudev
44+
x11-libs/cairo
45+
x11-libs/gtk+:3
46+
x11-libs/libX11
47+
x11-libs/libxcb
48+
x11-libs/libXcomposite
49+
x11-libs/libXdamage
50+
x11-libs/libXext
51+
x11-libs/libXfixes
52+
x11-libs/libxkbcommon
53+
x11-libs/libXrandr
54+
x11-libs/pango
55+
"
56+
57+
QA_PREBUILT="opt/teams-for-linux/*"
58+
QA_DESKTOP_FILE="usr/share/applications/teams-for-linux.desktop"
59+
60+
pkg_pretend() {
61+
chromium_suid_sandbox_check_kernel_config
62+
}
63+
64+
src_prepare() {
65+
default
66+
# cleanup languages
67+
pushd "opt/teams-for-linux/locales" || die
68+
chromium_remove_language_paks
69+
popd || die
70+
}
71+
72+
src_configure() {
73+
chromium_suid_sandbox_check_kernel_config
74+
default
75+
}
76+
77+
src_install() {
78+
for size in {16,24,32,48,64,96,128,256,512,1024}; do
79+
doicon -s "${size}" "usr/share/icons/hicolor/${size}x${size}/apps/${PN}.png"
80+
done
81+
82+
domenu "usr/share/applications/${PN}.desktop"
83+
84+
local DESTDIR="/opt/${PN}"
85+
86+
pushd "opt/${PN}" || die
87+
88+
exeinto "${DESTDIR}"
89+
doexe chrome-sandbox chrome_crashpad_handler "${PN}" ./*.so*
90+
91+
insinto "${DESTDIR}"
92+
doins ./*.pak ./*.bin ./*.json ./*.dat
93+
insopts -m0755
94+
doins -r locales resources
95+
96+
dosym "${DESTDIR}/${PN}" "/opt/bin/${PN}"
97+
popd || die
98+
}

0 commit comments

Comments
 (0)