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.6.17
Signed-off-by: Filip Kobierski <fkobi@pm.me>
This commit is contained in:
@@ -4,3 +4,6 @@ DIST teams-for-linux-2.6.12.x86_64.rpm 94802461 BLAKE2B 0f3e9200f5a1a7b9ffabd685
|
||||
DIST teams-for-linux-2.6.14.aarch64.rpm 89679057 BLAKE2B 3c4016164290bdad708e4b9716f78344ff91108f4a8bdc6dbb0db2ca4c0dc7bcbf88177f8f1887f32dea18ff6ba1e65ef15ce0b1a24c1ffba42c7eadeeb9984d SHA512 94c90a063c77f2737cedaf9886506d111259c74f8a768f99eacc0db8ddcd78c180b05a3bb427a954ff1dfd6e7be4245e21998296157cf4b65122b0a188fc973d
|
||||
DIST teams-for-linux-2.6.14.armv7l.rpm 89174453 BLAKE2B 5ee402a2d2604c561f2b014891f45565620b6be3ef5e47733ff7a68342fcaf3b2834dbd47aadf5edeca90fb119bb8fc5e85bd12c2c947a6549d4087ce21e8ac5 SHA512 509ad56a8438f96848f5e9dfda4188b4f7566ecf7b4594f00a8462d61ba66b679d3edd4c463067fba96a319175d4baa936c22535e07edc747a23f0e6208282c3
|
||||
DIST teams-for-linux-2.6.14.x86_64.rpm 94864001 BLAKE2B e5902ad529e46175a9aaa9856738d4a70481d405fe35d5c108c9aabce27b2fdfb9657fafbdeb69462252c902c80ef766b5232d387cd7b2764ff66c976106b01c SHA512 6b2c5126936e1d442337ec906929b50d8c3edc5a79abc5ff42c01c29f07a6eb508894a51e7a25b465a3361cfccb851ddf663c83562663be89d35d2dbfc591848
|
||||
DIST teams-for-linux-2.6.17.aarch64.rpm 89686453 BLAKE2B d9e9a93c160207340772935f746256432ea6b6cf2784ad5f9b5afdfa3c28371a50150f58e20c3fc8990ce9890ae66fa66590139058770e7f1749b54ac5f74792 SHA512 e79b3271586a0f24e2b4a1e4353b465077a47a2209e8aaad4afed22111191614706a44b56af0a20d5c1def6d6b90e15d0cf154a5242b9e3caaf08f7a95aa6791
|
||||
DIST teams-for-linux-2.6.17.armv7l.rpm 89185901 BLAKE2B 387b7a5d36082ea10e92edb572b2ede1d54080e769296bde639ace67e3247174dad8ca5cd8c699e67b399cf87cda0ba2b98a744b9cfe2623df25836e17781a14 SHA512 2014b1c4e3b092073c76bf4fc693ffd202a999528915f88c73acc2fd7d33e3762cc4b3ae1ae739bd3739c991147e6c6c4c822e45c92f846e3b1a079dc584c316
|
||||
DIST teams-for-linux-2.6.17.x86_64.rpm 94849685 BLAKE2B e67e3d477487b21538d838cbe9a69a2f318b207407e6c3edb49c67412f14a3313c57e72a48267076f2f96a41f6f1bc071271ae2bb43d015e3e2de8efcbaf3c28 SHA512 e1c79fc938edcd1bf0304bb0eb913d5409f6fce12e7cc022da6a1817eeaccbfdbadca0b210ac1ea445af87e7962a7650e1bffbfb94b02d4df385690adadfd146
|
||||
|
||||
98
net-im/teams-for-linux/teams-for-linux-2.6.17.ebuild
Normal file
98
net-im/teams-for-linux/teams-for-linux-2.6.17.ebuild
Normal file
@@ -0,0 +1,98 @@
|
||||
# Copyright 1999-2025 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}/${P}.x86_64.rpm )
|
||||
arm? ( https://github.com/IsmaelMartinez/${PN}/releases/download/v${PV}/${P}.armv7l.rpm )
|
||||
arm64? ( https://github.com/IsmaelMartinez/${PN}/releases/download/v${PV}/${P}.aarch64.rpm )
|
||||
"
|
||||
S="${WORKDIR}"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
# 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
|
||||
virtual/libudev
|
||||
x11-libs/cairo
|
||||
x11-libs/gtk+:3
|
||||
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/${PN}.png"
|
||||
done
|
||||
|
||||
domenu "usr/share/applications/${PN}.desktop"
|
||||
|
||||
local DESTDIR="/opt/${PN}"
|
||||
|
||||
pushd "opt/${PN}" || die
|
||||
|
||||
exeinto "${DESTDIR}"
|
||||
doexe chrome-sandbox chrome_crashpad_handler "${PN}" ./*.so*
|
||||
|
||||
insinto "${DESTDIR}"
|
||||
doins ./*.pak ./*.bin ./*.json ./*.dat
|
||||
insopts -m0755
|
||||
doins -r locales resources
|
||||
|
||||
dosym "${DESTDIR}/${PN}" "/opt/bin/${PN}"
|
||||
popd || die
|
||||
}
|
||||
Reference in New Issue
Block a user