teams-for-linux-1.11.3 added
This commit is contained in:
parent
1911c29c5d
commit
2e953c09a5
|
@ -0,0 +1,5 @@
|
|||
AUX teams-for-linux.sh 652 BLAKE2B f8216f114e7deab1eb0d3d29c3ba43bcf5f81eff16bddd6ff782cbe3aea37ba43492cefdad1ca58f8acd9d1634551742795009a44a864c4dec0d1de46beb0c2a SHA512 dd969ddf8cfd95da6ef3da17a48010d98dd52cc4d12053531b61a74d5180049bcbf6031fd03f1f5f056423ac86088da0c342d5c51f22ab04006a2290e995916b
|
||||
AUX teams-for-linux.svg 3664 BLAKE2B cf84894e09bae4849852ba10a189d2848d31a6434e9bed12efbd067abd32b53b84e34e0574054c9ced89b927a669a4385b460df49c939f8bf33a096f2b57e06a SHA512 97931f1de4451b20bdb9e490504058eac342e44a082566838b8bfbd44d88b7b8744ec3b77f489e04bb3056f7889aa6522a3bcfb6e4d3f0c84a4650b8033f5d09
|
||||
DIST teams-for-linux-1.11.3.tar.gz 291153732 BLAKE2B 7c4cfadbc1010fe03a3a70e12dc53e3384659afea8d35f04f4fe36a424ec16ca4d3bcdc3c167300e749fc517cee2bc1f1868aa6da8db71bd3e4b5fe84f666eed SHA512 4102a1020f783ca03bf33138bd156056fbafd42ffde2c507ceefe0cf08ae55c27e5db08c50cac652a4b415c7bb3443e72d622ee44a31aa110bc0da352a7606d0
|
||||
EBUILD teams-for-linux-1.11.3.ebuild 2151 BLAKE2B aa568ba23de0159df1b48e68b2de4ee7a780ad7003fbad96d5e7b01a37677d098d127dd6b74c3fbd9d2877a7bb050faf70e23c4b0bed3182e75b3dc70ec7fb93 SHA512 8af6bcd83c7815da39c9ca2658693e137b2ae458ae79c697b300608741d3254090d5f876d37e991b689668902c6ae270ba4860177303e4fb5520fafcf834d758
|
||||
MISC metadata.xml 348 BLAKE2B 71bee5df10d787cb55db644f7ef518b1e40070ec86111f79409af4ee7a1e1961950a9c33d7fd5b7ca082eacdc98b643e458c9f58d46a4d5d70cbf86cff861ac5 SHA512 933a6108d8fc8e3990e012a11e2c109f609895c5483cf1ec675cd106b5837dbcd55b12c5e67b892b62fe46b91f26cecb712f66966785fa5c949f65abc0051193
|
|
@ -0,0 +1,19 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Allow the user to override command-line flags, bug #357629.
|
||||
# This is based on Debian's chromium-browser package, and is intended
|
||||
# to be consistent with Debian.
|
||||
for f in /etc/chromium/*; do
|
||||
[[ -f ${f} ]] && source "${f}"
|
||||
done
|
||||
|
||||
# Prefer user defined CHROMIUM_USER_FLAGS (from env) over system
|
||||
# default CHROMIUM_FLAGS (from /etc/chromium/default).
|
||||
CHROMIUM_FLAGS=${CHROMIUM_USER_FLAGS:-"$CHROMIUM_FLAGS"}
|
||||
|
||||
# Let the wrapped binary know that it has been run through the wrapper.
|
||||
export CHROME_WRAPPER="$(readlink -f "$0")"
|
||||
|
||||
HERE="$(dirname "$CHROME_WRAPPER")"
|
||||
|
||||
exec -a "teams-for-linux" "$HERE/teams-for-linux" ${CHROMIUM_FLAGS} "$@"
|
|
@ -0,0 +1 @@
|
|||
<svg width="64" height="64" version="1.1" xmlns="http://www.w3.org/2000/svg"><rect x=".832" y=".832" width="48.337" height="48.337" ry="5" fill="#4b53bc" stroke="#fff" stroke-linejoin="round" stroke-width="1.663"/><path d="M13.65 16.448h7.789v22.336h6.485V16.448h7.825v-5.832H13.651Z" fill="#f9f9f9"/><path d="M36.833 21.968c-1.705 5.165 1.821 7.967-3.038 13.826-2.849 3.435-5.107 7.518-4.945 12.29-.815.869-1.227 1.165-1.975 1.399-1.113.347-1.958.888-2.393 2.065-.598 1.62.22 3.35-.062 4.176-1.352 3.807.696 6.205 4.164 5.795 1.081-.128 2.839.41 4.153.996 2.083.929 4.253 1.363 6.065.672 1.324-.504 2.084-1.57 2.084-1.57.955-.004 2.137-.434 3.383-.41 1.18.022 2.474.333 3.374.363 1.366 2.534 4.727 2.892 7.225 1.961 1.521-.567 2.501-1.855 3.518-2.81 2.372-2.051 6.264-1.985 5.521-6.28-.175-1.017-1.528-2.08-1.824-3.06-.313-1.032-.533-2.61-1.445-3.182 1.886-5.736-3.206-11.836-5.963-15.147-2.373-2.85-.92-4.948-1.836-10.166-1.555-8.864-13.282-9.17-16.006-.918Z" fill="#fff"/><path d="M36.536 34.594c-3.31 4.41-6.452 8.454-6.022 13.706-.651.567-.966 1.447-1.667 1.948-.776.553-1.863.57-2.534 1.314-.557.616-.639 1.479-.524 2.265.12.817.316 1.672.001 2.485-.323.837-.521 1.933.1 2.69.63.767 1.712.85 2.631.963 1.528.19 3.09.378 4.482 1.11 1.463.769 3.254 1.132 4.872.618.82-.26 1.535-.864 1.885-1.657 1.273-.054 2.504-.423 3.773-.543 1.738-.016 3.434.405 5.173.338.527 1.563 2.002 2.745 3.792 2.58 1.756-.162 3.228-1.31 4.35-2.61 1.168-1.355 2.977-1.827 4.463-2.74.617-.379 1.155-1.051 1.021-1.819-.165-.947-.917-1.615-1.433-2.381-.681-1.01-.488-2.398-1.283-3.38-.244-.3-.549-.486-.807-.625 1.55-5.17-1.398-10.017-4.71-13.67-5.249-5.788-.627-8.928-4.035-14.79-2.117-3.64-8.155-3.466-10.446-.54-3.455 4.416.275 10.265-3.082 14.738z" fill="#3f457b"/><path d="M31.74 48.906c-1.475.59-1.173 2.152-3.705 2.864-1.408.395-1.173 1.714-.975 2.784.267 1.438-.913 2.858-.306 3.7.655.909 3.233.54 4.808 1.109 1.908.688 3.908 1.98 6.002 1.266 1.35-.46 1.51-2.232.858-3.346-.72-1.231-1.824-2.159-2.577-3.38-.963-1.56-1.626-3.374-3-4.625-.292-.267-.732-.521-1.105-.372zm18.679 5.484c-.163 1.321-.422 2.622-.661 3.927-.248 1.35.72 2.921 2.226 2.968 1.903.06 3.239-1.475 4.473-2.697 1.355-1.342 4.119-1.803 4.759-2.947.5-.895-1.49-1.542-1.757-3.599-.092-.713-.537-1.606-1.175-2.042-.94 1.495-2.818 2.408-4.487 1.498a4.288 4.288 0 0 1-1.926-2.182c-1.05 1.484-1.235 3.319-1.452 5.073zM47.76 32.564c-1.488.574-2.487 1.43-3.98 2.002-1.378.527-2.943-.259-3.942-1.277-.928 3.182-2.189 6.246-3.455 9.305-.56 1.355-.84 2.954-.51 4.398.39 1.708 2.366 2.37 3.243 3.818 1.656 2.73.643 4.355-.387 4.778 1.705 2.075 4.794 2.323 7.23 1.549 2.143-.682 3.19-2.92 3.605-4.979.323-1.603.804-3.296 1.989-4.246-.192-.929 1.062-1.953 1.504-2.806.911-1.757-2.04-4.005-3.022-6.501-.789-2.005-1.764-3.951-2.252-6.058z" fill="#fff"/><path d="M39.964 29.27c-.412.305-.946.532-1.162 1.016-.286.64.264 1.294.766 1.657.465.335.972.608 1.373 1.027.545.57 1.336.844 2.124.788 1-.07 1.756-.793 2.63-1.184.714-.32 1.487-.596 1.993-1.227.37-.46.5-1.192.021-1.616-.657-.582-1.59-.654-2.402-1.098-.811-.443-1.348-.852-2.305-.891-1.387-.058-2.115.743-3.038 1.528z" fill="#fff"/><path d="M39.984 30.77c.788.398 1.363 1.132 2.447 1.322 2 .35 2.907-.834 3.988-1.268" fill="none" stroke="#3f457b" stroke-linecap="round"/><path d="M39.477 28.834c.224-.117.395-.223.61-.44-.765-.779-.559-2.65.36-2.294.573.221.638.864.61 1.43.24-.137.564-.31.864-.381.107-1.45-.556-2.665-1.571-2.715-1.358-.067-2.28 2.417-.873 4.4zm6.293-4.83c-1.271.032-2.134 1.49-2.106 3.123.329.094.606.21.952.41-.161-1.024.482-1.928 1.164-1.812.621.106 1.232 1.449.495 2.605.158.073.763.286 1.079.457 1.472-1.844.293-4.83-1.583-4.783z" fill="#fff"/></svg>
|
After Width: | Height: | Size: 3.6 KiB |
|
@ -0,0 +1,11 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>casta@xwing.info</email>
|
||||
<name>Guillaume Castagnino</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">IsmaelMartinez/teams-for-linux</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
|
@ -0,0 +1,67 @@
|
|||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit desktop xdg multilib-build
|
||||
|
||||
DESCRIPTION="Unofficial Microsoft Teams client for Linux. Binary precompiled version."
|
||||
HOMEPAGE="https://github.com/IsmaelMartinez/teams-for-linux"
|
||||
SRC_URI="https://github.com/IsmaelMartinez/${PN}/releases/download/v${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="-* ~amd64"
|
||||
IUSE="system-ffmpeg system-mesa"
|
||||
|
||||
QA_PREBUILT="*"
|
||||
|
||||
DEPEND="
|
||||
app-accessibility/at-spi2-core:2[${MULTILIB_USEDEP}]
|
||||
dev-libs/nspr[${MULTILIB_USEDEP}]
|
||||
dev-libs/nss[${MULTILIB_USEDEP}]
|
||||
media-libs/alsa-lib[${MULTILIB_USEDEP}]
|
||||
media-libs/freetype:2[${MULTILIB_USEDEP}]
|
||||
media-gfx/graphite2[${MULTILIB_USEDEP}]
|
||||
net-print/cups[${MULTILIB_USEDEP}]
|
||||
x11-libs/gtk+:3[${MULTILIB_USEDEP}]
|
||||
x11-libs/libX11[${MULTILIB_USEDEP}]
|
||||
x11-libs/pango[${MULTILIB_USEDEP}]
|
||||
system-ffmpeg? ( >=media-video/ffmpeg-6[chromium] )
|
||||
system-mesa? ( media-libs/mesa[vulkan] )
|
||||
"
|
||||
|
||||
src_install() {
|
||||
dodir /opt/${PN}
|
||||
cp -a . "${ED}/opt/${PN}" || 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 system-mesa; then
|
||||
rm "${ED}/opt/${PN}/libEGL.so" || die
|
||||
rm "${ED}/opt/${PN}/libGLESv2.so" || die
|
||||
rm "${ED}/opt/${PN}/libvulkan.so.1" || die
|
||||
rm "${ED}/opt/${PN}/libvk_swiftshader.so" || die
|
||||
rm "${ED}/opt/${PN}/vk_swiftshader_icd.json" || die
|
||||
elog "Using system mesa. This is experimental and may lead to crashes."
|
||||
fi
|
||||
|
||||
# install wrapper reading /etc/chromium/* for CHROME_FLAGS
|
||||
exeinto /opt/${PN}
|
||||
doexe "${FILESDIR}/${PN}.sh"
|
||||
|
||||
# remove chrome-sandbox binary, users should use kernel namespaces
|
||||
# https://bugs.gentoo.org/692692#c18
|
||||
rm "${ED}/opt/${PN}/chrome-sandbox" || die
|
||||
|
||||
dosym ../../opt/${PN}/${PN}.sh /usr/bin/${PN}
|
||||
|
||||
newicon -s scalable "${FILESDIR}/${PN}.svg" ${PN}.svg
|
||||
make_desktop_entry "${EPREFIX}"/opt/${PN}/${PN}.sh "Teams for Linux" \
|
||||
${PN} "Network;Chat;InstantMessaging;" \
|
||||
"MimeType=x-scheme-handler/msteams;"
|
||||
}
|
Loading…
Reference in New Issue