summaryrefslogtreecommitdiff
path: root/net-im/teams
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-03-28 09:49:11 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-03-28 09:49:11 +0100
commit115dcc7054f5934a2c8e26fd8a8eed5f3e29e9ce (patch)
treec31afe35699960753f76770d6b0b4ea48af9f686 /net-im/teams
parente292b671b113c2cc012beddad93a3df4f9410698 (diff)
gentoo auto-resync : 28:03:2023 - 09:49:10
Diffstat (limited to 'net-im/teams')
-rw-r--r--net-im/teams/Manifest9
-rw-r--r--net-im/teams/metadata.xml13
-rw-r--r--net-im/teams/teams-1.4.00.13653-r3.ebuild107
-rw-r--r--net-im/teams/teams-1.4.00.26453-r2.ebuild107
-rw-r--r--net-im/teams/teams-1.4.00.7556-r2.ebuild113
-rw-r--r--net-im/teams/teams-1.5.00.10453-r1.ebuild107
6 files changed, 0 insertions, 456 deletions
diff --git a/net-im/teams/Manifest b/net-im/teams/Manifest
deleted file mode 100644
index 21800fac9de3..000000000000
--- a/net-im/teams/Manifest
+++ /dev/null
@@ -1,9 +0,0 @@
-DIST teams_1.4.00.13653_amd64.deb 83232268 BLAKE2B bc59aa1f4b9d5f1740fedc7bfc3c2cec6f8b4c1979a55e5a68742c36ea4399ba0e8c276de2d9e5b8de39363a9359136a5d1be59a6019af8bd5ac9922a5aab2c9 SHA512 d15b6cca0321e5e569e6a1f4ad0801f7a2de1e9312e8f584f07a4bc8bcac8a55626eb060a41baf31b9f4cfcd1cf2757e2f2b946f671f0e4c95c81f9eea0f8e2c
-DIST teams_1.4.00.26453_amd64.deb 84503304 BLAKE2B a9d9fb27d42c53b12747fd229214d4d5db8197c870effd201dc7ba9feea143b18138c7bed15d18e70326781577e8bda8640ea463125abc8f0bef08292ad850d5 SHA512 bdc050e813f1237d7774270a8a5229a975e5bb28706b957f5cb03eb481870ca8e81562096e5041f060414d1c727f5b7d6aff7ef66bce96f2fac86f535aade058
-DIST teams_1.4.00.7556_amd64.deb 77232550 BLAKE2B f663a79a9edb29aecb240722f46cb29aa6f4e2cca6dbe1a29801aee2e9c408b1ad00ab0d2b8fac3c7c4c227429b0382a06b46114921d2f435fbe1c80415ea9d4 SHA512 0afe2714e290e8b2d30039e27a2af4d22cbd03bc4bfe90d6979714ae1cc75bc5226af8932dc38528a5dc5bd6b4820c4b9d9444abcb558a76438c62cff285ffac
-DIST teams_1.5.00.10453_amd64.deb 84485626 BLAKE2B f9570bedd12dc9113c956d0b9c34c4124939b0a855f73a7611ce640b00fd4a7d8288af94aa3f087482040619c11f79a144e2292dd853254fe4f55fe694165a26 SHA512 69d95e06c67265358f1d995ad9faa21a1af753241031569e7ac88d0cc9c4781985a0839b4fa7e58d176472c7ab15bc8d0876733a2eb710d5d087d2662bc04c30
-EBUILD teams-1.4.00.13653-r3.ebuild 3504 BLAKE2B 262a5d6a2a9e1e5df4db2d0883eb89df28cf3f15e5511222958de98a6321dafb77bd7644b404f6b891d5065aad7401c03d20420f86321c18b2227a11dcd9cf46 SHA512 9bad37700c3b5007585a1d19e5c6373a3d4fb62de35e08f48cbffdb4d939707b88a0c7440698192f605247a7dbf33a51b9b61e67a08d0907c8227afec5f2199d
-EBUILD teams-1.4.00.26453-r2.ebuild 3504 BLAKE2B 22ee39aeac28b7d304b3680d94a2972b28974d18bbc42273f9b0e557528d31c8b11e9278e0223c68e379a7b591f6a4bc4d4b95ddd6282fe913e53c78956addc2 SHA512 dcde6426ad27644138ee0954bb10c76fbca060fcb2d505524ac80365b83b8f2a1d1ace9fc658042a1fd495c9a9db0daf2ca140b066a90985aa4542e2dd7dc30d
-EBUILD teams-1.4.00.7556-r2.ebuild 3298 BLAKE2B 58d146e93ca4009975122a33870ab87fd9b1b48518d6fac58fb8998c8d3498e90718af3cfc0aec9527bf331115f51887a159f327f6f53a375e0f4e1eb277a305 SHA512 5eb3bbac6d751725334dcc9dff36733fd13beeee7067771fdd44abd721e07bff7e5b5e3de4ec156e20cd4a206a9c94ab9cffcf0789b4950d4864839da47cf095
-EBUILD teams-1.5.00.10453-r1.ebuild 3503 BLAKE2B 99c89bc8b77ec632034af770fdc31d940e6df8861e4475bf328a23cca630bfbe68a10337561fb2024a6d00702faf1242f3148b325e858c23b7c249d4f14991e0 SHA512 057b8785ef5cdc06d559f4e700b1643240bf5ec5864302485d0f45525e13ee2b029bf6d5875c6d045a2af3799c77a5d38865a91d2f93bd11873be1da10273bab
-MISC metadata.xml 557 BLAKE2B 4818f797eb65e99629fbe0fa90013a7dae58f7ff1187949426fc89ada5c4a4ae7a02c04fc39b31e88d27a38828455f685babb69ae500fdf6e22b6a328dc8e629 SHA512 28fe60ce4baaa0fd8b19f33f8b58f8d9f7afddafed35df341d5c3698ab880fc103dc15b48dc88a9c2b18224d36f8fa7ade973e653f7dbb4c7eb85082ee812644
diff --git a/net-im/teams/metadata.xml b/net-im/teams/metadata.xml
deleted file mode 100644
index ce53992ec4dd..000000000000
--- a/net-im/teams/metadata.xml
+++ /dev/null
@@ -1,13 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person">
- <email>sultan@gentoo.org</email>
- <name>Stephan Hartmann</name>
- </maintainer>
- <use>
- <flag name="swiftshader">Install SwiftShader OpenGL libaries.</flag>
- <flag name="system-ffmpeg">Use the system-wide <pkg>media-video/ffmpeg</pkg> instead of bundled.</flag>
- <flag name="system-mesa">Use the system-wide <pkg>media-libs/mesa</pkg> instead of bundled.</flag>
- </use>
-</pkgmetadata>
diff --git a/net-im/teams/teams-1.4.00.13653-r3.ebuild b/net-im/teams/teams-1.4.00.13653-r3.ebuild
deleted file mode 100644
index 46c746a8d637..000000000000
--- a/net-im/teams/teams-1.4.00.13653-r3.ebuild
+++ /dev/null
@@ -1,107 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-CHROMIUM_LANGS="am ar bg bn ca cs da de el en-GB 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 vi zh-CN zh-TW"
-
-inherit chromium-2 desktop unpacker xdg
-
-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="swiftshader system-ffmpeg"
-
-QA_PREBUILT="*"
-# 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),
-# 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),
-# 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), 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), libxext6, libxfixes3, libxi6 (>= 2:1.2.99.4), libxrandr2, libxrender1, libxtst6,
-# apt-transport-https, libfontconfig1 (>= 2.11.0), libdbus-1-3 (>= 1.6.18), libstdc++6 (>= 4.8.1)
-RDEPEND="
- || (
- >=app-accessibility/at-spi2-core-2.46.0:2
- ( app-accessibility/at-spi2-atk dev-libs/atk )
- )
- app-crypt/libsecret
- dev-libs/expat
- dev-libs/glib
- dev-libs/nspr
- dev-libs/nss
- media-libs/alsa-lib
- media-libs/fontconfig
- media-libs/mesa[gbm(+)]
- net-print/cups
- sys-apps/dbus
- sys-apps/util-linux
- sys-libs/glibc
- x11-libs/cairo
- x11-libs/libdrm
- 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-ffmpeg? ( <media-video/ffmpeg-4.3[chromium] )
-"
-
-S="${WORKDIR}"
-
-src_prepare() {
- default
- sed -i '/OnlyShowIn=/d' usr/share/applications/${PN}.desktop || die
- sed -e "s@^TEAMS_PATH=.*@TEAMS_PATH=${EPREFIX}/opt/teams/teams@" \
- -i usr/bin/teams || die
-}
-
-src_install() {
- rm -f _gpgorigin || die
- rm -r "usr/share/${PN}/resources/assets/"{.gitignore,macos,tlb,windows,x86,x64,arm64} || die
- rm -r "usr/share/${PN}/resources/tmp" || die
- rm "usr/share/${PN}/chrome-sandbox" || die
-
- insinto /opt
- doins -r usr/share/${PN}
-
- dobin usr/bin/${PN}
- domenu usr/share/applications/${PN}.desktop
- doicon usr/share/pixmaps/${PN}.png
-
- pushd "${ED}/opt/${PN}/locales" > /dev/null || die
- chromium_remove_language_paks
- popd > /dev/null || die
-
- if use system-ffmpeg; then
- rm "${ED}/opt/${PN}/libffmpeg.so" || die
- dosym "../../usr/$(get_libdir)/chromium/libffmpeg.so" "opt/${PN}/libffmpeg.so" || die
- elog "Using system ffmpeg. This is experimental and may lead to crashes."
- fi
-
- if ! use swiftshader; then
- rm -r "${ED}/opt/${PN}/swiftshader" || die
- elog "Running without SwiftShader OpenGL implementation. If Teams doesn't start "
- elog "or you experience graphic issues, then try with USE=swiftshader enabled."
- fi
-
- fperms +x /usr/bin/${PN}
- fperms +x /opt/${PN}/${PN}
-}
diff --git a/net-im/teams/teams-1.4.00.26453-r2.ebuild b/net-im/teams/teams-1.4.00.26453-r2.ebuild
deleted file mode 100644
index c64a20b49539..000000000000
--- a/net-im/teams/teams-1.4.00.26453-r2.ebuild
+++ /dev/null
@@ -1,107 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-CHROMIUM_LANGS="am ar bg bn ca cs da de el en-GB 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 vi zh-CN zh-TW"
-
-inherit chromium-2 desktop unpacker xdg
-
-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="swiftshader system-ffmpeg"
-
-QA_PREBUILT="*"
-# 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),
-# 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),
-# 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),
-# 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),
-# libxext6, libxfixes3, libxi6 (>= 2:1.2.99.4), libxrandr2, libxrender1, libxtst6, apt-transport-https, libfontconfig1 (>= 2.11.0), libdbus-1-3 (>= 1.6.18),
-# libstdc++6 (>= 4.8.1)
-RDEPEND="
- || (
- >=app-accessibility/at-spi2-core-2.46.0:2
- ( app-accessibility/at-spi2-atk dev-libs/atk )
- )
- app-crypt/libsecret
- dev-libs/expat
- dev-libs/glib
- dev-libs/nspr
- dev-libs/nss
- media-libs/alsa-lib
- media-libs/fontconfig
- media-libs/mesa[gbm(+)]
- net-print/cups
- sys-apps/dbus
- sys-apps/util-linux
- sys-libs/glibc
- x11-libs/cairo
- x11-libs/libdrm
- 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-ffmpeg? ( <media-video/ffmpeg-4.3[chromium] )
-"
-
-S="${WORKDIR}"
-
-src_prepare() {
- default
- sed -i '/OnlyShowIn=/d' usr/share/applications/${PN}.desktop || die
- sed -e "s@^TEAMS_PATH=.*@TEAMS_PATH=${EPREFIX}/opt/${PN}/${PN}@" \
- -i usr/bin/${PN} || die
-}
-
-src_install() {
- rm -f _gpgorigin || die
- rm -r "usr/share/${PN}/resources/assets/"{.gitignore,macos,tlb,windows,x86,x64,arm64} || die
- rm -r "usr/share/${PN}/resources/tmp" || die
- rm "usr/share/${PN}/chrome-sandbox" || die
-
- insinto /opt
- doins -r usr/share/${PN}
-
- dobin usr/bin/${PN}
- domenu usr/share/applications/${PN}.desktop
- doicon usr/share/pixmaps/${PN}.png
-
- pushd "${ED}/opt/${PN}/locales" > /dev/null || die
- chromium_remove_language_paks
- popd > /dev/null || die
-
- if use system-ffmpeg; then
- rm "${ED}/opt/${PN}/libffmpeg.so" || die
- dosym "../../usr/$(get_libdir)/chromium/libffmpeg.so" "opt/${PN}/libffmpeg.so" || die
- elog "Using system ffmpeg. This is experimental and may lead to crashes."
- fi
-
- if ! use swiftshader; then
- rm -r "${ED}/opt/${PN}/swiftshader" || die
- elog "Running without SwiftShader OpenGL implementation. If Teams doesn't start "
- elog "or you experience graphic issues, then try with USE=swiftshader enabled."
- fi
-
- fperms +x /usr/bin/${PN}
- fperms +x /opt/${PN}/${PN}
-}
diff --git a/net-im/teams/teams-1.4.00.7556-r2.ebuild b/net-im/teams/teams-1.4.00.7556-r2.ebuild
deleted file mode 100644
index 16c36bbc7330..000000000000
--- a/net-im/teams/teams-1.4.00.7556-r2.ebuild
+++ /dev/null
@@ -1,113 +0,0 @@
-# Copyright 1999-2022 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-core-2.46.0:2
- ( app-accessibility/at-spi2-atk dev-libs/atk )
- )
- app-crypt/libsecret
- 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
- sys-libs/glibc
- 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 -f _gpgorigin || die
- doins -r .
-
- fperms +x /usr/bin/teams
- fperms +x /usr/share/teams/teams
-
- if use system-ffmpeg ; then
- rm -f "${ED}"/usr/share/teams/libffmpeg.so || die
-
- cat > 99teams <<-EOF
- LDPATH="${EPREFIX}/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 "${ED}"/usr/share/teams/libEGL.so || die
- rm -f "${ED}"/usr/share/teams/libGLESv2.so || die
- rm -f "${ED}"/usr/share/teams/swiftshader/libEGL.so || die
- rm -f "${ED}"/usr/share/teams/swiftshader/libGLESv2.so || die
- elog "Using system mesa. This is experimental and may lead to crashes."
- fi
-
- rm -rf "${ED}"/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
-}
diff --git a/net-im/teams/teams-1.5.00.10453-r1.ebuild b/net-im/teams/teams-1.5.00.10453-r1.ebuild
deleted file mode 100644
index f792495ae547..000000000000
--- a/net-im/teams/teams-1.5.00.10453-r1.ebuild
+++ /dev/null
@@ -1,107 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-CHROMIUM_LANGS="am ar bg bn ca cs da de el en-GB 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 vi zh-CN zh-TW"
-
-inherit chromium-2 desktop unpacker xdg
-
-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="swiftshader system-ffmpeg"
-
-QA_PREBUILT="*"
-# 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)
-# 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),
-# 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),
-# 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),
-# libxext6, libxfixes3, libxi6 (>= 2:1.2.99.4), libxrandr2, libxrender1, libxtst6, apt-transport-https, libfontconfig1 (>= 2.11.0), libdbus-1-3 (>= 1.6.18),
-# libstdc++6 (>= 4.8.1)
-RDEPEND="
- || (
- >=app-accessibility/at-spi2-core-2.46.0:2
- ( app-accessibility/at-spi2-atk dev-libs/atk )
- )
- app-crypt/libsecret
- dev-libs/expat
- dev-libs/glib
- dev-libs/nspr
- dev-libs/nss
- media-libs/alsa-lib
- media-libs/fontconfig
- media-libs/mesa[gbm(+)]
- net-print/cups
- sys-apps/dbus
- sys-apps/util-linux
- sys-libs/glibc
- x11-libs/cairo
- x11-libs/libdrm
- 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-ffmpeg? ( <media-video/ffmpeg-4.3[chromium] )
-"
-
-S="${WORKDIR}"
-
-src_prepare() {
- default
- sed -i '/OnlyShowIn=/d' usr/share/applications/${PN}.desktop || die
- sed -e "s@^TEAMS_PATH=.*@TEAMS_PATH=${EPREFIX}/opt/${PN}/${PN}@" \
- -i usr/bin/${PN} || die
-}
-
-src_install() {
- rm -f _gpgorigin || die
- rm -r "usr/share/${PN}/resources/assets/"{.gitignore,macos,tlb,windows,x86,x64,arm64} || die
- rm -r "usr/share/${PN}/resources/tmp" || die
- rm "usr/share/${PN}/chrome-sandbox" || die
-
- insinto /opt
- doins -r usr/share/${PN}
-
- dobin usr/bin/${PN}
- domenu usr/share/applications/${PN}.desktop
- doicon usr/share/pixmaps/${PN}.png
-
- pushd "${ED}/opt/${PN}/locales" > /dev/null || die
- chromium_remove_language_paks
- popd > /dev/null || die
-
- if use system-ffmpeg; then
- rm "${ED}/opt/${PN}/libffmpeg.so" || die
- dosym "../../usr/$(get_libdir)/chromium/libffmpeg.so" "opt/${PN}/libffmpeg.so" || die
- elog "Using system ffmpeg. This is experimental and may lead to crashes."
- fi
-
- if ! use swiftshader; then
- rm -r "${ED}/opt/${PN}/swiftshader" || die
- elog "Running without SwiftShader OpenGL implementation. If Teams doesn't start "
- elog "or you experience graphic issues, then try with USE=swiftshader enabled."
- fi
-
- fperms +x /usr/bin/${PN}
- fperms +x /opt/${PN}/${PN}
-}