summaryrefslogtreecommitdiff
path: root/net-im
diff options
context:
space:
mode:
authorJeffrey Lin <jeffrey@icurse.nl>2020-03-24 11:22:10 -0400
committerAndreas K. Huettel <dilfridge@gentoo.org>2020-03-28 14:14:16 +0100
commit46986707fbbab08a465c4e15ee5a8ad0d9ac4845 (patch)
tree5f4ae4026af87e0d7319bc324fe3346c2982fa03 /net-im
parentx11-wm/openbox: remove version 3.6.1-r1 (diff)
downloadgentoo-46986707fbbab08a465c4e15ee5a8ad0d9ac4845.tar.gz
gentoo-46986707fbbab08a465c4e15ee5a8ad0d9ac4845.tar.bz2
gentoo-46986707fbbab08a465c4e15ee5a8ad0d9ac4845.zip
net-im/teams: version bump to 1.3.00.5153
Closes: https://bugs.gentoo.org/713232 Signed-off-by: Jeffrey Lin <jeffrey@icurse.nl> Closes: https://github.com/gentoo/gentoo/pull/15087 Signed-off-by: Andreas K. Huettel <dilfridge@gentoo.org>
Diffstat (limited to 'net-im')
-rw-r--r--net-im/teams/Manifest1
-rw-r--r--net-im/teams/teams-1.3.00.5153.ebuild96
2 files changed, 97 insertions, 0 deletions
diff --git a/net-im/teams/Manifest b/net-im/teams/Manifest
index 4b5e0a8f106e..5e3ca47a7416 100644
--- a/net-im/teams/Manifest
+++ b/net-im/teams/Manifest
@@ -1 +1,2 @@
+DIST teams_1.3.00.5153_amd64.deb 68143908 BLAKE2B fc540de9c70c825b58a6bbc30a8d15882dc80af3b725224617c32a988fa58498e9efafe3b3fcfebab3c5d98c7629cc00fd8e5b5f7a1b3df305449c6a0644b8d3 SHA512 bac34d936e9c34a9d3b31ed800a32c187154dbcf787da350e75e3c63103cbe41872cd98551204e922198ce1d86a06a9fa8b6020b7682b9aea15ff583e446dfca
DIST teams_1.3.00.958_amd64.deb 65064414 BLAKE2B 4f8788f7a9d3a2cc032e873453469dd3f2a5bd9dd43c60de4b8719e7fafcf903bf266b35b2da16c593005fa1a4dc275bc65cc6164654b0df909a564ddc4cc00e SHA512 ee698784a0c91346306466a1b794c4d1b4ff01ede2869cc7c4731e62ebf16e6f18b65aa0b03452c1011ddd5c654808f1725f62a62a43814cacb9d7a2934fb7c3
diff --git a/net-im/teams/teams-1.3.00.5153.ebuild b/net-im/teams/teams-1.3.00.5153.ebuild
new file mode 100644
index 000000000000..1993a0370f1c
--- /dev/null
+++ b/net-im/teams/teams-1.3.00.5153.ebuild
@@ -0,0 +1,96 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit desktop unpacker xdg-utils
+
+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=""
+
+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
+ gnome-base/libgnome-keyring
+ media-libs/alsa-lib
+ media-libs/fontconfig
+ media-libs/mesa
+ media-video/ffmpeg[chromium]
+ 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
+"
+
+S="${WORKDIR}"
+
+src_install() {
+ rm _gpgorigin || die
+ doins -r .
+
+ fperms +x /usr/bin/teams
+ fperms +x /usr/share/teams/teams
+
+ # use system ffmpeg
+ rm -f "${D}"/usr/share/teams/libffmpeg.so || die
+
+ cat > 99teams <<-EOF
+ LDPATH=${EROOT%/}/usr/$(get_libdir)/chromium
+ EOF
+ doenvd 99teams
+
+ # use system mesa
+ 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
+
+ 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
+}