diff options
author | Thomas Clarke <colonia_duck@posteo.net> | 2024-11-16 22:38:17 +0000 |
---|---|---|
committer | Thomas Clarke <colonia_duck@posteo.net> | 2024-11-16 22:38:17 +0000 |
commit | db2f1db9eb540a27332eafca8c026158f0547ae3 (patch) | |
tree | 99b47ff3602b51aef9a3cffbb5a6aa3a5fbeb8f2 /net-im | |
parent | media-gfx/swayimg: drop 3.2 (diff) | |
download | guru-db2f1db9eb540a27332eafca8c026158f0547ae3.tar.gz guru-db2f1db9eb540a27332eafca8c026158f0547ae3.tar.bz2 guru-db2f1db9eb540a27332eafca8c026158f0547ae3.zip |
net-im/teams-for-linux: add 1.11.5
Signed-off-by: Thomas Clarke <colonia_duck@posteo.net>
Diffstat (limited to 'net-im')
-rw-r--r-- | net-im/teams-for-linux/Manifest | 3 | ||||
-rw-r--r-- | net-im/teams-for-linux/teams-for-linux-1.11.5.ebuild | 100 |
2 files changed, 103 insertions, 0 deletions
diff --git a/net-im/teams-for-linux/Manifest b/net-im/teams-for-linux/Manifest index d265c5bb2..589a11a02 100644 --- a/net-im/teams-for-linux/Manifest +++ b/net-im/teams-for-linux/Manifest @@ -4,3 +4,6 @@ DIST teams-for-linux-1.11.1.x86_64.rpm 90147561 BLAKE2B 35feea252e9d0538a3ed7f03 DIST teams-for-linux-1.11.3.aarch64.rpm 84939181 BLAKE2B e00c9d5d2597f5de6d02dd9c28f8a6013a5585a1f6504d583072a79c4d59d747d000761b9c8a9fe5a78007dd8d478bebb67c3fca57c0d2805fffb4c641fa07fc SHA512 af42f0c873c156c00ad95f0196b9d8732ef0abc55fd09979940d7042e504fd00681e59b251b08de0477ad677a04ee9f3264e34ae31155a13f3224eb3f192862f DIST teams-for-linux-1.11.3.armv7l.rpm 84373689 BLAKE2B 760df670edb11ae551f4795ef5f9d2449177006ca1cf89295793ac0ef47ecefd425e8c1de92da4bd10e56ce96c68b832fb0d5a30c9b78d0268958b00dc440a73 SHA512 1f009a3fed4e4a8987876e85d010c387b04d6d575f484e89716f1e4ae23b459398d3e79a00c004c1649c2f1a4a2e56602271716b4f6efc9f5c285830d0300fcd DIST teams-for-linux-1.11.3.x86_64.rpm 196948789 BLAKE2B 739df2d87b77145cea9e32cef5ac8f6d6600cd05dd34a1834f2e2b608cf9d285e756dad49fca1f1995a8571500306dde947b25c97115f32ffd561caa3650deaa SHA512 22715d655e4def9c9fbf36ecfc2fbcc706c294561d417068c46b2a7c0de5a5a218980c70a5ec05e65b73343784effcd7008aa02a2f38cc5535cc15544b43e4c8 +DIST teams-for-linux-1.11.5.aarch64.rpm 84955693 BLAKE2B 49951f3f903347e127ebfe77f6766376054180b8339b8d31b777fdf8c6991702e18b482919bbf5911c899e23661eb551381a1550c7aebdd12dc2215aa48f3a2f SHA512 ea5ab8c5199c8c364ad1ef6ff052fef58e8d09e958b319de0a80e91df43a2dde53c4f0e0242e59500934cbc20143d49e1de5f24116dd30abb80ed018b75bc192 +DIST teams-for-linux-1.11.5.armv7l.rpm 84364393 BLAKE2B 1f002b4b4aa737f96762ed3c6648e9854de69c69d9140ea0b1d4155e249ccdaf15541a3b1aedc494eab402a259c0feec524f0692506a917b396b27e44644e91a SHA512 0638f6bfe61de8fbda74273eaf2f3b28935dbc83c3792b82d5ae95ce99f8f36d4c2ecf15b41b866a6b2c6983bf4e2baa87c8dfb1d76097e0066b16e4294d0325 +DIST teams-for-linux-1.11.5.x86_64.rpm 89611789 BLAKE2B b6331220281aa319d7cc7a25f8cd307bf13fb21ffbc425ded6287df13978bea9ebd61928c98d3bcfa5c982a6e4adc05c5234c3225f2edb23b10cd120cf92f0a5 SHA512 7117c58ae8cbf0f634628742ccea5da99fc85ff31fc5f6ec8a3a79dc8264787b87ccb84ba4bff936dbb0fd024098798b098d4d4f7f2a21f96381cb8d5993af00 diff --git a/net-im/teams-for-linux/teams-for-linux-1.11.5.ebuild b/net-im/teams-for-linux/teams-for-linux-1.11.5.ebuild new file mode 100644 index 000000000..2b1ba63a6 --- /dev/null +++ b/net-im/teams-for-linux/teams-for-linux-1.11.5.ebuild @@ -0,0 +1,100 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CHROMIUM_LANGS=" + af am ar bg bn ca cs da de el en-GB en-US 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 ur vi zh-CN zh-TW +" + +inherit chromium-2 desktop rpm xdg + +DESCRIPTION="Unofficial Microsoft Teams client for Linux. Binary precompiled version." +HOMEPAGE="https://github.com/IsmaelMartinez/teams-for-linux" +SRC_URI=" + amd64? ( https://github.com/IsmaelMartinez/teams-for-linux/releases/download/v${PV}/${P}.x86_64.rpm ) + arm? ( https://github.com/IsmaelMartinez/teams-for-linux/releases/download/v${PV}/${P}.armv7l.rpm ) + arm64? ( https://github.com/IsmaelMartinez/teams-for-linux/releases/download/v${PV}/${P}.aarch64.rpm ) +" +S="${WORKDIR}" + +# Electron bundles a bunch of things +LICENSE=" + MIT BSD BSD-2 BSD-4 AFL-2.1 Apache-2.0 Ms-PL GPL-2 LGPL-2.1 APSL-2 + unRAR OFL-1.1 CC-BY-SA-3.0 MPL-2.0 android public-domain all-rights-reserved +" +SLOT="0" +KEYWORDS="-* ~amd64 ~arm ~arm64" +RESTRICT="bindist mirror" + +RDEPEND=" + app-accessibility/at-spi2-core:2 + dev-libs/expat + dev-libs/glib:2 + dev-libs/nspr + dev-libs/nss + media-libs/alsa-lib + media-libs/mesa + net-print/cups + sys-apps/dbus + x11-libs/cairo + x11-libs/gtk+:3 + x11-libs/libdrm + x11-libs/libX11 + x11-libs/libxcb + x11-libs/libXcomposite + x11-libs/libXdamage + x11-libs/libXext + x11-libs/libXfixes + x11-libs/libxkbcommon + x11-libs/libXrandr + x11-libs/pango +" + +QA_PREBUILT="opt/teams-for-linux/*" + +pkg_pretend() { + chromium_suid_sandbox_check_kernel_config +} + +src_prepare() { + default + # cleanup languages + pushd "opt/teams-for-linux/locales" || die + chromium_remove_language_paks + popd || die +} + +src_configure() { + chromium_suid_sandbox_check_kernel_config + default +} + +src_install() { + for size in {16,24,32,48,64,96,128,256,512,1024}; do + doicon -s ${size} "usr/share/icons/hicolor/${size}x${size}/apps/teams-for-linux.png" + done + + domenu usr/share/applications/teams-for-linux.desktop + + local DESTDIR="/opt/teams-for-linux" + + pushd "opt/teams-for-linux" || die + + exeinto "${DESTDIR}" + doexe chrome-sandbox chrome_crashpad_handler teams-for-linux *.so* + + insinto "${DESTDIR}" + doins *.pak *.bin *.json *.dat + insopts -m0755 + doins -r locales resources + + # Chrome-sandbox requires the setuid bit to be specifically set. + # see https://github.com/electron/electron/issues/17972 + fperms 4755 "${DESTDIR}"/chrome-sandbox + + dosym "${DESTDIR}"/teams-for-linux /opt/bin/teams-for-linux + popd || die +} |