summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas K. Hüttel <dilfridge@gentoo.org>2021-04-10 11:52:23 +0200
committerAndreas K. Hüttel <dilfridge@gentoo.org>2021-04-10 11:52:23 +0200
commit3e9564d78cb1629ca3eb1df600a506448aad4899 (patch)
tree5a7765e0e35f63d6e87aa3aed4b5a916ea26471c /net-im/teams
parentdev-python/sqlalchemy: Bump to 1.4.7 (diff)
downloadgentoo-3e9564d78cb1629ca3eb1df600a506448aad4899.tar.gz
gentoo-3e9564d78cb1629ca3eb1df600a506448aad4899.tar.bz2
gentoo-3e9564d78cb1629ca3eb1df600a506448aad4899.zip
net-im/teams: Version bump 1.4.00.7556
Package-Manager: Portage-3.0.17, Repoman-3.0.2 Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
Diffstat (limited to 'net-im/teams')
-rw-r--r--net-im/teams/Manifest1
-rw-r--r--net-im/teams/teams-1.4.00.7556.ebuild110
2 files changed, 111 insertions, 0 deletions
diff --git a/net-im/teams/Manifest b/net-im/teams/Manifest
index 6f52766c2a34..b8adc6f7f44e 100644
--- a/net-im/teams/Manifest
+++ b/net-im/teams/Manifest
@@ -1,2 +1,3 @@
DIST teams_1.3.00.30857_amd64.deb 76334658 BLAKE2B 486ee2945f46e7a7c7bfe1d2a6edf29f8cac5a7827c0a8bcf121d25ce95fde2caf31fed520c2f036e27b399c986ac1acc1531aaa1a9caf5a5d6848b10ac0d204 SHA512 5a8be75bfe752347bd36bf2abc2de74ad069cbf4a6430bfcad9ca7396d5b5bf8196a74798a0595908a33ebcb2fcdbedc403c7ff31eec76d07246a3d1c46eeab4
DIST teams_1.4.00.4855_amd64.deb 76579552 BLAKE2B 3b03451d5a333a0e3736fd48d21252498a0b08041104a97b33a6166263ee8a5d2149f138e5598356bb42aa0c8d7a0619c6b1cd954d2ac5793b063c9bdbb3b929 SHA512 5596db57e8019068e8dac94cc6da8df2b1b6c813e8b67b4a61717fb7775f28973b09b49d77d001ab2dfd65ffe99ef2aaeaba8bc722f1348a474677b3d7a84df8
+DIST teams_1.4.00.7556_amd64.deb 77232550 BLAKE2B f663a79a9edb29aecb240722f46cb29aa6f4e2cca6dbe1a29801aee2e9c408b1ad00ab0d2b8fac3c7c4c227429b0382a06b46114921d2f435fbe1c80415ea9d4 SHA512 0afe2714e290e8b2d30039e27a2af4d22cbd03bc4bfe90d6979714ae1cc75bc5226af8932dc38528a5dc5bd6b4820c4b9d9444abcb558a76438c62cff285ffac
diff --git a/net-im/teams/teams-1.4.00.7556.ebuild b/net-im/teams/teams-1.4.00.7556.ebuild
new file mode 100644
index 000000000000..93fe30a5e8b7
--- /dev/null
+++ b/net-im/teams/teams-1.4.00.7556.ebuild
@@ -0,0 +1,110 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit desktop unpacker xdg-utils chromium-2
+
+DESCRIPTION="Microsoft Teams, an Office 365 multimedia collaboration client, pre-release"
+HOMEPAGE="https://products.office.com/en-us/microsoft-teams/group-chat-software/"
+SRC_URI="https://packages.microsoft.com/repos/ms-teams/pool/main/t/${PN}/${PN}_${PV}_amd64.deb"
+
+LICENSE="ms-teams-pre"
+SLOT="0"
+KEYWORDS="-* ~amd64"
+RESTRICT="bindist mirror splitdebug test"
+IUSE="system-ffmpeg system-mesa"
+
+QA_PREBUILT="*"
+
+# libasound2 (>= 1.0.16), libatk-bridge2.0-0 (>= 2.5.3), libatk1.0-0 (>= 1.12.4), libc6 (>= 2.17), libcairo2 (>= 1.6.0), libcups2 (>= 1.4.0),
+# libexpat1 (>= 2.0.1), libgcc1 (>= 1:3.0), libgdk-pixbuf2.0-0 (>= 2.22.0), libglib2.0-0 (>= 2.35.8), libgtk-3-0 (>= 3.9.10), libnspr4 (>= 2:4.9-2~), libnss3
+# (>= 2:3.22), libpango-1.0-0 (>= 1.14.0), libpangocairo-1.0-0 (>= 1.14.0), libsecret-1-0 (>= 0.7), libuuid1 (>= 2.16), libx11-6 (>= 2:1.4.99.1), libx11-xcb1,
+# libxcb1 (>= 1.6), libxcomposite1 (>= 1:0.3-1), libxcursor1 (>> 1.1.2), libxdamage1 (>= 1:1.1), libxext6, libxfixes3, libxi6 (>= 2:1.2.99.4), libxkbfile1,
+# libxrandr2 (>= 2:1.2.99.3), libxrender1, libxss1, libxtst6, apt-transport-https, libfontconfig1 (>= 2.11.0), libdbus-1-3 (>= 1.6.18), libstdc++6 (>= 4.8.1)
+RDEPEND="
+ app-accessibility/at-spi2-atk
+ app-crypt/libsecret
+ dev-libs/atk
+ dev-libs/expat
+ dev-libs/glib
+ dev-libs/nspr
+ dev-libs/nss
+ media-libs/alsa-lib
+ media-libs/fontconfig
+ net-print/cups
+ sys-apps/dbus
+ sys-apps/util-linux
+ x11-libs/cairo
+ x11-libs/cairo
+ x11-libs/gdk-pixbuf
+ x11-libs/gtk+:3
+ x11-libs/libX11
+ x11-libs/libXScrnSaver
+ x11-libs/libXcomposite
+ x11-libs/libXcursor
+ x11-libs/libXdamage
+ x11-libs/libXext
+ x11-libs/libXfixes
+ x11-libs/libXi
+ x11-libs/libXrandr
+ x11-libs/libXrender
+ x11-libs/libXtst
+ x11-libs/libxcb
+ x11-libs/libxkbfile
+ x11-libs/pango
+ system-mesa? ( media-libs/mesa )
+ system-ffmpeg? ( <media-video/ffmpeg-4.3[chromium] )
+"
+
+S="${WORKDIR}"
+
+pkg_pretend() {
+ chromium_suid_sandbox_check_kernel_config
+}
+
+src_configure() {
+ chromium_suid_sandbox_check_kernel_config
+ default
+}
+
+src_install() {
+ rm _gpgorigin || die
+ doins -r .
+
+ fperms +x /usr/bin/teams
+ fperms +x /usr/share/teams/teams
+
+ if use system-ffmpeg ; then
+ rm -f "${D}"/usr/share/teams/libffmpeg.so || die
+
+ cat > 99teams <<-EOF
+ LDPATH=${EROOT}/usr/$(get_libdir)/chromium
+ EOF
+ doenvd 99teams
+ elog "Using system ffmpeg. This is experimental and may lead to crashes."
+ fi
+
+ if use system-mesa ; then
+ rm -f "${D}"/usr/share/teams/libEGL.so || die
+ rm -f "${D}"/usr/share/teams/libGLESv2.so || die
+ rm -f "${D}"/usr/share/teams/swiftshader/libEGL.so || die
+ rm -f "${D}"/usr/share/teams/swiftshader/libGLESv2.so || die
+ elog "Using system mesa. This is experimental and may lead to crashes."
+ fi
+
+ rm -rf "${D}"/usr/share/teams/resources/app.asar.unpacked/node_modules/keytar3 || die
+
+ sed -i '/OnlyShowIn=/d' "${S}"/usr/share/applications/teams.desktop || die
+ domenu usr/share/applications/teams.desktop
+}
+
+pkg_postinst() {
+ xdg_desktop_database_update
+ xdg_icon_cache_update
+}
+
+pkg_postrm() {
+ xdg_desktop_database_update
+ xdg_icon_cache_update
+}