mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-09 15:13:31 -04:00
net-im/teams-for-linux: add 2.0.8
Signed-off-by: Thomas Clarke <colonia_duck@posteo.net>
This commit is contained in:
@@ -7,3 +7,6 @@ DIST teams-for-linux-2.0.3.x86_64.rpm 91469985 BLAKE2B 37a23fb6c1a7e445a53ba1081
|
||||
DIST teams-for-linux-2.0.4.aarch64.rpm 86631153 BLAKE2B 14b54db18881fbe6b10e2ea213654f852d66ef01809c3e0d20b794c67f2f4c77a38aa7fea33b2531b59f9e4c65c065edf08e971a6b22db98201de19f365a2d11 SHA512 dea4d399433980b1b4ac6f6d99dfdb6e48817bb9c25eae4df539444749d541c4d8311aa057c1b8f0afe30e5988c50153886f7924e24ce9118bc25ee70374c438
|
||||
DIST teams-for-linux-2.0.4.armv7l.rpm 85883501 BLAKE2B 56f4b755eaf053aedbfaf5bdf4db7ec16ceeec0f667e66a74836e1b59c7d14d2a32fc4f019b827572e6c1192a00a539e959acd9dc8a815de18102cdc56875769 SHA512 781fe7a1aa3f285dd811ce287eba6747fa438da4002a45883867118f538f9c5135d9554158bde40f81fd8e4086a09e7a2755a157cc45f4ff93f8889fec240a2c
|
||||
DIST teams-for-linux-2.0.4.x86_64.rpm 91475897 BLAKE2B c5eacc77357f1f5dacbc66ad3db7d0872b5d0c14d3b062f7998604b26ea8310d7d7535aba9306290d49f767d3837e3cffb51646029507f7a211071e0766413c2 SHA512 c56ef48c180b053247830ef7d7c8e57f742999728bce878e080654f19f87e048265e67df21b2e0271bdda42b17da6ae9ab5dfff0e83c77af69b2cdc10fd06b61
|
||||
DIST teams-for-linux-2.0.8.aarch64.rpm 86623061 BLAKE2B 0fec145ea807be0cbfcc1ee5b38403e0c020fde5f228435835a7f863a974249eafe03c5abc493796cdd70621ded1f74e3a6748ab17a3a23a676282b009b6afc1 SHA512 f3f270273a60a57be21fc11935be3d35051692c36e517e6ab665bb0913150a844e831af7f2ff0f7b052c0d4d53186e8882a0f3dce1b5c4a305524f5a781bae48
|
||||
DIST teams-for-linux-2.0.8.armv7l.rpm 85879485 BLAKE2B 8574bbf1eade5ab7d5576063bd25641fe2338ae95035ae44d0a004945d804d0de7d2590b5c0b0eb5ae077a4e6e1b55012f53ab9225a4058ab0221d4eb7a1272b SHA512 ae969d9d1d0c7662b0fde6e84fc9eb5d26660278988d370ba9ab8786465ea86af7a96ff86749a6f59ce0c29ce4148d3646271e8226e4494de46c988123e5dad9
|
||||
DIST teams-for-linux-2.0.8.x86_64.rpm 91474721 BLAKE2B 8278adaf44653231e67b085b1100251f23a2867d4a77dba4c45c75fa02f6e31a09f5f68b2cbb09c89b18f372eee2e57ea425eb6cd9b8520653f751eb839ade17 SHA512 bf684e62c5de5a94c68c23495f2434e9e7654ee6a6fe29116e521b490a3fbd708d19da023b63cefbdd60ed6d2a99572c35e53f351821d67c999948c1ae7c1ff6
|
||||
|
||||
101
net-im/teams-for-linux/teams-for-linux-2.0.8.ebuild
Normal file
101
net-im/teams-for-linux/teams-for-linux-2.0.8.ebuild
Normal file
@@ -0,0 +1,101 @@
|
||||
# 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/${PN}/releases/download/v${PV}/${PN}-${PV}.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/*"
|
||||
QA_DESKTOP_FILE="usr/share/applications/teams-for-linux.desktop"
|
||||
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user