1 |
commit: 9fe10e1f6e9dc77bb46829f0865679a55df32150 |
2 |
Author: Stephan Hartmann <sultan <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Oct 7 13:28:09 2021 +0000 |
4 |
Commit: Stephan Hartmann <sultan <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Oct 7 13:28:41 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9fe10e1f |
7 |
|
8 |
net-im/teams: bump to 1.4.00.26453 |
9 |
|
10 |
Package-Manager: Portage-3.0.20, Repoman-3.0.3 |
11 |
Signed-off-by: Stephan Hartmann <sultan <AT> gentoo.org> |
12 |
|
13 |
net-im/teams/Manifest | 1 + |
14 |
net-im/teams/teams-1.4.00.26453.ebuild | 105 +++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 106 insertions(+) |
16 |
|
17 |
diff --git a/net-im/teams/Manifest b/net-im/teams/Manifest |
18 |
index 09ea4365806..fd916d991d3 100644 |
19 |
--- a/net-im/teams/Manifest |
20 |
+++ b/net-im/teams/Manifest |
21 |
@@ -1,2 +1,3 @@ |
22 |
DIST teams_1.4.00.13653_amd64.deb 83232268 BLAKE2B bc59aa1f4b9d5f1740fedc7bfc3c2cec6f8b4c1979a55e5a68742c36ea4399ba0e8c276de2d9e5b8de39363a9359136a5d1be59a6019af8bd5ac9922a5aab2c9 SHA512 d15b6cca0321e5e569e6a1f4ad0801f7a2de1e9312e8f584f07a4bc8bcac8a55626eb060a41baf31b9f4cfcd1cf2757e2f2b946f671f0e4c95c81f9eea0f8e2c |
23 |
+DIST teams_1.4.00.26453_amd64.deb 84503304 BLAKE2B a9d9fb27d42c53b12747fd229214d4d5db8197c870effd201dc7ba9feea143b18138c7bed15d18e70326781577e8bda8640ea463125abc8f0bef08292ad850d5 SHA512 bdc050e813f1237d7774270a8a5229a975e5bb28706b957f5cb03eb481870ca8e81562096e5041f060414d1c727f5b7d6aff7ef66bce96f2fac86f535aade058 |
24 |
DIST teams_1.4.00.7556_amd64.deb 77232550 BLAKE2B f663a79a9edb29aecb240722f46cb29aa6f4e2cca6dbe1a29801aee2e9c408b1ad00ab0d2b8fac3c7c4c227429b0382a06b46114921d2f435fbe1c80415ea9d4 SHA512 0afe2714e290e8b2d30039e27a2af4d22cbd03bc4bfe90d6979714ae1cc75bc5226af8932dc38528a5dc5bd6b4820c4b9d9444abcb558a76438c62cff285ffac |
25 |
|
26 |
diff --git a/net-im/teams/teams-1.4.00.26453.ebuild b/net-im/teams/teams-1.4.00.26453.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..1c5e90e606b |
29 |
--- /dev/null |
30 |
+++ b/net-im/teams/teams-1.4.00.26453.ebuild |
31 |
@@ -0,0 +1,105 @@ |
32 |
+# Copyright 1999-2021 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=7 |
36 |
+ |
37 |
+CHROMIUM_LANGS="am ar bg bn ca cs da de el en-GB es es-419 et fa fi fil fr gu he |
38 |
+ 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 |
39 |
+ sv sw ta te th tr uk vi zh-CN zh-TW" |
40 |
+ |
41 |
+inherit chromium-2 desktop unpacker xdg |
42 |
+ |
43 |
+DESCRIPTION="Microsoft Teams, an Office 365 multimedia collaboration client, pre-release" |
44 |
+HOMEPAGE="https://products.office.com/en-us/microsoft-teams/group-chat-software/" |
45 |
+SRC_URI="https://packages.microsoft.com/repos/ms-teams/pool/main/t/${PN}/${PN}_${PV}_amd64.deb" |
46 |
+ |
47 |
+LICENSE="ms-teams-pre" |
48 |
+SLOT="0" |
49 |
+KEYWORDS="-* ~amd64" |
50 |
+RESTRICT="bindist mirror splitdebug test" |
51 |
+IUSE="swiftshader system-ffmpeg" |
52 |
+ |
53 |
+QA_PREBUILT="*" |
54 |
+# libasound2 (>= 1.0.16), libatk-bridge2.0-0 (>= 2.5.3), libatk1.0-0 (>= 2.2.0), libatspi2.0-0 (>= 2.9.90), libc6 (>= 2.17), libcairo2 (>= 1.10.0), |
55 |
+# libcups2 (>= 1.7.0), libdrm2 (>= 2.4.38), libexpat1 (>= 2.0.1), libgbm1 (>= 17.1.0~rc2), libgcc1 (>= 1:3.0), libgdk-pixbuf2.0-0 (>= 2.22.0), |
56 |
+# libglib2.0-0 (>= 2.39.4), libgtk-3-0 (>= 3.19.12), libnspr4 (>= 2:4.9-2~), libnss3 (>= 2:3.22), libpango-1.0-0 (>= 1.14.0), libpangocairo-1.0-0 (>= 1.14.0), |
57 |
+# libx11-6 (>= 2:1.4.99.1), libx11-xcb1, libxcb-dri3-0, libxcb1 (>= 1.6), libxcomposite1 (>= 1:0.3-1), libxcursor1 (>> 1.1.2), libxdamage1 (>= 1:1.1), |
58 |
+# libxext6, libxfixes3, libxi6 (>= 2:1.2.99.4), libxrandr2, libxrender1, libxtst6, apt-transport-https, libfontconfig1 (>= 2.11.0), libdbus-1-3 (>= 1.6.18), |
59 |
+# libstdc++6 (>= 4.8.1) |
60 |
+RDEPEND=" |
61 |
+ app-accessibility/at-spi2-core:2 |
62 |
+ app-accessibility/at-spi2-atk:2 |
63 |
+ app-crypt/libsecret |
64 |
+ dev-libs/atk |
65 |
+ dev-libs/expat |
66 |
+ dev-libs/glib |
67 |
+ dev-libs/nspr |
68 |
+ dev-libs/nss |
69 |
+ media-libs/alsa-lib |
70 |
+ media-libs/fontconfig |
71 |
+ media-libs/mesa[gbm(+)] |
72 |
+ net-print/cups |
73 |
+ sys-apps/dbus |
74 |
+ sys-apps/util-linux |
75 |
+ x11-libs/cairo |
76 |
+ x11-libs/libdrm |
77 |
+ x11-libs/gdk-pixbuf |
78 |
+ x11-libs/gtk+:3 |
79 |
+ x11-libs/libX11 |
80 |
+ x11-libs/libXScrnSaver |
81 |
+ x11-libs/libXcomposite |
82 |
+ x11-libs/libXcursor |
83 |
+ x11-libs/libXdamage |
84 |
+ x11-libs/libXext |
85 |
+ x11-libs/libXfixes |
86 |
+ x11-libs/libXi |
87 |
+ x11-libs/libXrandr |
88 |
+ x11-libs/libXrender |
89 |
+ x11-libs/libXtst |
90 |
+ x11-libs/libxcb |
91 |
+ x11-libs/libxkbfile |
92 |
+ x11-libs/pango |
93 |
+ system-ffmpeg? ( <media-video/ffmpeg-4.3[chromium] ) |
94 |
+" |
95 |
+ |
96 |
+S="${WORKDIR}" |
97 |
+ |
98 |
+src_prepare() { |
99 |
+ default |
100 |
+ sed -i '/OnlyShowIn=/d' usr/share/applications/${PN}.desktop || die |
101 |
+ sed -e "s@^TEAMS_PATH=.*@TEAMS_PATH=${EPREFIX}/opt/${PN}/${PN}@" \ |
102 |
+ -i usr/bin/${PN} || die |
103 |
+} |
104 |
+ |
105 |
+src_install() { |
106 |
+ rm _gpgorigin || die |
107 |
+ rm -r "usr/share/${PN}/resources/assets/"{.gitignore,macos,tlb,windows,x86,x64,arm64} || die |
108 |
+ rm -r "usr/share/${PN}/resources/tmp" || die |
109 |
+ rm "usr/share/${PN}/chrome-sandbox" || die |
110 |
+ |
111 |
+ insinto /opt |
112 |
+ doins -r usr/share/${PN} |
113 |
+ |
114 |
+ dobin usr/bin/${PN} |
115 |
+ domenu usr/share/applications/${PN}.desktop |
116 |
+ doicon usr/share/pixmaps/${PN}.png |
117 |
+ |
118 |
+ pushd "${ED}/opt/${PN}/locales" > /dev/null || die |
119 |
+ chromium_remove_language_paks |
120 |
+ popd > /dev/null || die |
121 |
+ |
122 |
+ if use system-ffmpeg; then |
123 |
+ rm "${ED}/opt/${PN}/libffmpeg.so" || die |
124 |
+ dosym "../../usr/$(get_libdir)/chromium/libffmpeg.so" "opt/${PN}/libffmpeg.so" || die |
125 |
+ elog "Using system ffmpeg. This is experimental and may lead to crashes." |
126 |
+ fi |
127 |
+ |
128 |
+ if ! use swiftshader; then |
129 |
+ rm -r "${ED}/opt/${PN}/swiftshader" || die |
130 |
+ elog "Running without SwiftShader OpenGL implementation. If Teams doesn't start " |
131 |
+ elog "or you experience graphic issues, then try with USE=swiftshader enabled." |
132 |
+ fi |
133 |
+ |
134 |
+ fperms +x /usr/bin/${PN} |
135 |
+ fperms +x /opt/${PN}/${PN} |
136 |
+} |