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.3
Signed-off-by: Thomas Clarke <colonia_duck@posteo.net>
This commit is contained in:
@@ -7,3 +7,6 @@ DIST teams-for-linux-1.14.1.x86_64.rpm 91715977 BLAKE2B 664305e3b3101332e3537113
|
||||
DIST teams-for-linux-2.0.2.aarch64.rpm 86664965 BLAKE2B d8d44493c254f97b37a5b562f7c7a7da67bd84811b2ed1513f0d7a59b0553e19c7bcd9eb587c913d6f3c58af5477ede83d59e33ae7156b2af0f6bdc9c00b9dcb SHA512 35f7846f1969fb93443694e5da0353e69056bc4972ffacd9b419fa09a5df59b59067728fd32026165c52a754f7ad45759999af8770c20285ea3f3fceb8fe09db
|
||||
DIST teams-for-linux-2.0.2.armv7l.rpm 85932617 BLAKE2B a5e1a6096eee52c425b61cfc3f0e6a75d489e06c424eac403d496707684a58513527d1d32e6042b751cf4067eae4b4fd8b462a666b088014b5abb12a22cd31ae SHA512 842e603dfd117df3aabae2239b66ab4a84d1e865562fc708ba0d7e0fed822c15e8adb6eb2d9d9b01825046569728e3e725d07b1d3d9950c613a84d379ab72c0d
|
||||
DIST teams-for-linux-2.0.2.x86_64.rpm 91500441 BLAKE2B 6a195c3e5d78b2d38b3a51034527b4d1c4d894c3c3df77e348541b40d065ea5b16f2576449913384b9b6955b74e04a1096de72cfb8de0750b366c637c0351b57 SHA512 3caaa8c1a0e14acefd8ef60e95b9f4ff2733006ec5508cbf54461851b3602a741bdd4d414161242299215f0e9bb08c658ebcb23a07c23920f552e213dd589d63
|
||||
DIST teams-for-linux-2.0.3.aarch64.rpm 86656165 BLAKE2B c5dc586df23dfdc5326dd1b19ce9978a992095fc73ccde1943043e63fc6caf344a746cd9dd8e0805183ffa8764be6e17ed8d511aa2e0167fa046cca95bd2d045 SHA512 5633e1b0819437c19e675ec712e30f170e9a8b327729f4ca1bb4244c8d0992cb5fe1feb623f9325ca005cb3356c7cdd1c579e2781b3fa24faf9261b7910c351a
|
||||
DIST teams-for-linux-2.0.3.armv7l.rpm 85868585 BLAKE2B bf0edb2bda7588ec0ec13ee15ee207063db0702aac01e614c81e54ea1464583f9d8ff95583677b1c963115e5de9e8db874f4c14c027ef725b2cc55ff198f86f8 SHA512 d789b349c8d97f1f376e3a2367b4d12786923e77eba6336ee8a709f4e44ae78d7d670e66caf05f2e6a83b8ffffd108dd093fb369cff9d52ba0ae9de69db80bdb
|
||||
DIST teams-for-linux-2.0.3.x86_64.rpm 91469985 BLAKE2B 37a23fb6c1a7e445a53ba1081d20c550570faecb1b7ac866a9d702f3a7f110c7bad3ccaaa8ae6a7128bb6cfce10f18e5c2666ab0478f67b7f527511d8f81d2bf SHA512 628959e1508b6e309db655b9414db21e14c75a1ec73440eb971321cda190e679c3470c1657898d0736e92cc20989862cdbcd51d0be0bc9719c154dca1efe1ce0
|
||||
|
||||
101
net-im/teams-for-linux/teams-for-linux-2.0.3.ebuild
Normal file
101
net-im/teams-for-linux/teams-for-linux-2.0.3.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