mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-10 23:52:59 -04:00
net-im/teams-for-linux: add 1.9.6
Signed-off-by: Julien Roy <julien@jroy.ca>
This commit is contained in:
@@ -7,3 +7,6 @@ DIST teams-for-linux-1.4.13.x86_64.rpm 74456441 BLAKE2B dab983fd0eb2671f79c363b8
|
||||
DIST teams-for-linux-1.5.2.aarch64.rpm 69749385 BLAKE2B 3f45aa90400b6f1758aa232af6945939e4fb7f71d7886f1bb324222f78c222b26f0008235f33310417a89e2d8f3353566c071dd73a3cd77a452c4ddea48bf7a6 SHA512 beff3501de6066d0a591dcb8ff305e42b6156554404bda2fa8864e5a4c4acf38e936f68ead52966d25ebd174920ba5a9594010b3566f39691bfdab5c9e0f0097
|
||||
DIST teams-for-linux-1.5.2.armv7l.rpm 68014797 BLAKE2B 56e0dbb397f4ba51f04972ad4806bc1d9e252985c64b404bd39023a044759d122c00e071114abd8d6b14ecc6a3f90b1959d7be3be9e89433a6515ff02cbe0673 SHA512 47b59347bc2d647556ba77484f6ff624c63112d6d3e9e5e701420389755ef7a2b89af0036146e82eed56046bb1ef255336b93445a56c3effdf6acc8d06b8f3a1
|
||||
DIST teams-for-linux-1.5.2.x86_64.rpm 74473197 BLAKE2B 8328e8eb5f73ea61a9a1f5cbacb46e2ec639fcd0ddca3d5746d2ccbe78bccdf4b1f6f4c78270eac294ed530dcf6bfa08ef928c95a45b365cd5a19286c0a3b02b SHA512 eeb610d7d564df7cefde6450101496c1cd7972360ae9c828ff222bcbe9df8d5b7fc4fc52f8163615ad9cdf5cab7c67a853b57f3c92c252b9db7e930da7be2e53
|
||||
DIST teams-for-linux-1.9.6.aarch64.rpm 82937269 BLAKE2B e1cb449638d20e15b2302a524ab490a6be24604674d2bcda30abe00f9e1d679af2bdcf55f3679534908daced9dd58170f966c7b7adeefc52e0a05cfd17f9ded7 SHA512 6b499e96447a92a2030d068ecede7f9d71f1ef5cc35d871d325a03a9f3ccd397c730d3d6cfb14dfdaab77d06d19e2b20e3444edd29a5d2e64c5b65b7e635d083
|
||||
DIST teams-for-linux-1.9.6.armv7l.rpm 81477133 BLAKE2B bfa6f16e79495a87b5be816da699e46303843d6beab7b2f55b961977750b6cd8462d47431d06b6225993c8b3b8417fba38c529baae0e5c77f799c7a45d878e4b SHA512 8537b66eac63be71a2720a0ad084ed07aea81bbebc91335842c05ea75a492cd21f79d4fb78f3094f903d2b25affb1aef1458de9ac635068be4e96bb1c84f8c6c
|
||||
DIST teams-for-linux-1.9.6.x86_64.rpm 87677677 BLAKE2B 927d8013421bc6f5d2d750621459f6e4134c40b5854d5a48a65a311e4a384b52ea45a85a3fc4b1bf6d98778c810c1ea46a16c5077cebacd5f7b8963f2667aaed SHA512 fc9105ff744a4ac994380e3189650dcae9ff7faa2e723cf88f97350f739a017b7eedf1725f0eaec6c6cea402247ba240b608778883edd4cde7c7133112e9f70a
|
||||
|
||||
100
net-im/teams-for-linux/teams-for-linux-1.9.6.ebuild
Normal file
100
net-im/teams-for-linux/teams-for-linux-1.9.6.ebuild
Normal file
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user