back to updates
This commit is contained in:
6
net-im/franz/Manifest
Normal file
6
net-im/franz/Manifest
Normal file
@@ -0,0 +1,6 @@
|
||||
AUX franz 280 BLAKE2B e7b930e7efda9cd71d140c25e5e12002ec5ae6a55100c4990e9da9abc7322db975661f0880abc8f4be183be2b3b96326af92d1d0307682adf3817d67ce664056 SHA512 6bf82eff75451ab8bc95885a406f8b70b843fa2c9d2d667eb5068330756bc97a77ceb214f549bc1a60a8513e6b599396b14625983b0c12e66554835488bcb242
|
||||
AUX franz.desktop 498 BLAKE2B fbc88fd834fab272bfd84c253ed2cb8bdbc63a2d73d7d463ed432fa51386bc3a957b282fe33faf3585d7083045fe14e64224c17eb300e1d5d11d4e21add60ea7 SHA512 375e4f80413d1888525c3711f94421886910abee678dd159e2e63bdfb2a3167d8a5444c5640a13bf120ce74859d95a6799d862f3b512bc05fcb8b4bef135999c
|
||||
AUX franz.svg 6705 BLAKE2B c98ed1a76100ed0332302ca3da3e7d9fdf5a683d07690f5192a25f1ea0d6b36df3a76ab1b16bb02c54f14e87f2940a1fa68107282df1296ab1d8025fb7e798c2 SHA512 d80a07371e10deba843f5832c653067372fc6a1c5cb84a645f3dfcbefa1149d43cfba8daa8155e60dc35f8a0d3b8ec4aeabb9a633582291ce911608241fc132e
|
||||
DIST franz-5.4.1.tar.gz 104044394 BLAKE2B a6529cb5beeace865b8de93e399320a5447811f613191d17b4d33d43797e0b0bd0d76a7867507259efcf109171deafb674931a693b2ad3c67ae52f323845a6df SHA512 0cb643d4bc7270b818f665ec9561dc81a1d953063b378b6bcb4b66911044055a89eeb4476c934213bd5665f54553f1799ecc31877d73f87abd009346ab67d66c
|
||||
EBUILD franz-5.4.1.ebuild 3419 BLAKE2B f0903ebcc3448778f5be85d65a0c00fc7401ce146989d6de4c69190bba55f9ffa6e151b61123e9d7b713de94496a7808d67a27ad5d8104d2548c0cfb40dbe522 SHA512 89b2027a801d683373254b2f1776515c5cd989962df947b2cab76782399b461f6a3b16bf23fa611b548a8b28171237d20051ede519ada0e60c51dfb78bbe3bd4
|
||||
MISC metadata.xml 344 BLAKE2B 2f7e381d45bf16e64178ae6febf8e5294578d2febc3283aa9cd9d678ea70d90184e7c499014dc3f15abc6e32556cf769a42f0e5c6e1bc58af1c24db957ad4021 SHA512 290681e382241cfece5ccd36f0410ff02a40d58f4a8c2c2af3660aabd32bf3e22d0b31b61bf3e5a8b0737fcaddc00d91645eb894f69c848d54c29fb5142fba26
|
||||
12
net-im/franz/files/franz
Executable file
12
net-im/franz/files/franz
Executable file
@@ -0,0 +1,12 @@
|
||||
#!/bin/sh
|
||||
|
||||
SCRIPT=$(readlink -f "$0")
|
||||
USR_DIRECTORY=$(readlink -f $(dirname $SCRIPT)/..)
|
||||
|
||||
FRANZ_PATH=/opt/Franz/franz
|
||||
FRANZ_LOGS="$HOME/.config/Franz/logs"
|
||||
|
||||
mkdir -p $FRANZ_LOGS
|
||||
|
||||
nohup "$FRANZ_PATH" --executed-from="$(pwd)" --pid=$$ "$@" > "$FRANZ_LOGS/franz-startup.log" 2>&1 &
|
||||
|
||||
10
net-im/franz/files/franz.desktop
Normal file
10
net-im/franz/files/franz.desktop
Normal file
@@ -0,0 +1,10 @@
|
||||
[Desktop Entry]
|
||||
Name=Franz
|
||||
Exec=/opt/Franz/franz %U
|
||||
Terminal=false
|
||||
Type=Application
|
||||
Icon=franz
|
||||
StartupWMClass=Franz
|
||||
Comment=Franz is your messaging app / former Emperor of Austria and combines chat & messaging services into one application. Franz currently supports Slack, WhatsApp, WeChat, HipChat, Facebook Messenger, Telegram, Google Hangouts, GroupMe, Skype and many more. You can download Franz for free for Mac & Windows.
|
||||
MimeType=x-scheme-handler/franz;
|
||||
Categories=Network;InstantMessaging;
|
||||
35
net-im/franz/files/franz.svg
Normal file
35
net-im/franz/files/franz.svg
Normal file
@@ -0,0 +1,35 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg width="80px" height="80px" viewBox="0 0 80 80" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<!-- Generator: Sketch 42 (36781) - http://www.bohemiancoding.com/sketch -->
|
||||
<title>franz</title>
|
||||
<desc>Created with Sketch.</desc>
|
||||
<defs>
|
||||
<filter x="-50%" y="-50%" width="200%" height="200%" filterUnits="objectBoundingBox" id="filter-1">
|
||||
<feOffset dx="0" dy="1" in="SourceAlpha" result="shadowOffsetOuter1"></feOffset>
|
||||
<feGaussianBlur stdDeviation="1" in="shadowOffsetOuter1" result="shadowBlurOuter1"></feGaussianBlur>
|
||||
<feColorMatrix values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.3 0" type="matrix" in="shadowBlurOuter1" result="shadowMatrixOuter1"></feColorMatrix>
|
||||
<feMerge>
|
||||
<feMergeNode in="shadowMatrixOuter1"></feMergeNode>
|
||||
<feMergeNode in="SourceGraphic"></feMergeNode>
|
||||
</feMerge>
|
||||
</filter>
|
||||
<linearGradient x1="30.4719662%" y1="95.2408507%" x2="68.063052%" y2="3.5648771%" id="linearGradient-2">
|
||||
<stop stop-color="#318CC8" offset="0%"></stop>
|
||||
<stop stop-color="#5EC0FF" offset="100%"></stop>
|
||||
</linearGradient>
|
||||
</defs>
|
||||
<g id="icons" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||
<g id="franz">
|
||||
<g id="Page-1" filter="url(#filter-1)" transform="translate(4.000000, 4.000000)">
|
||||
<path d="M35.9420808,71.5384615 C16.3467148,71.5384615 0.461538462,55.6532852 0.461538462,36.0579192 C0.461538462,16.4625533 16.3467148,0.577376909 35.9420808,0.577376909 C55.5374467,0.577376909 71.4226231,16.4625533 71.4226231,36.0579192 C71.4226231,55.6532852 55.5374467,71.5384615 35.9420808,71.5384615 Z" id="Fill-1" stroke="#FFFFFF" stroke-width="2.5" fill="url(#linearGradient-2)"></path>
|
||||
<path d="M48.9831862,47.7311418 C48.3589601,47.7311418 47.7333024,47.695349 47.1072541,47.6262364 L47.1072541,51.7992839 C47.1072541,53.122185 48.5184007,53.8277583 50.4587598,53.8277583 C52.3991188,53.8277583 56.8089193,54.18061 58.5727874,51.0937106 C59.4799717,49.5060731 60.0599449,47.7327036 60.4099332,46.2456764 C57.3247258,47.2180686 53.4557216,47.7311418 48.9831862,47.7311418" id="Fill-3" fill="#FEFEFE"></path>
|
||||
<path d="M60.8655036,43.2258722 C60.8656338,43.2176724 60.8658941,43.2080409 60.8658941,43.2002315 C60.8658941,42.8456878 60.7797311,40.8259338 60.667537,38.2174863 C60.6590769,38.2176164 60.6513977,38.2178768 60.6428075,38.2178768 C58.3771897,38.2178768 55.0258142,37.0998405 53.3244207,35.7764188 C52.9135196,35.4568869 52.4548514,35.0301068 51.9649459,34.5413727 C49.7058359,37.4808058 47.549809,41.6273016 47.1687136,44.910866 C47.7640451,44.9870071 48.3697891,45.0282664 48.9832122,45.0282664 C53.829164,45.0282664 57.9269816,44.3915454 60.8655036,43.2258722" id="Fill-5" fill="#FEFEFE"></path>
|
||||
<path d="M54.9840212,33.643 C56.1988932,34.5880595 58.8726789,35.4818377 60.5515554,35.5134655 C60.3633505,31.0949446 60.1603078,26.114412 60.1603078,24.4584428 C60.1603078,21.3716736 60.2495945,18.5935032 59.2783737,18.5935032 C56.8089323,18.5935032 57.4262601,29.3093405 54.3393608,31.9551427 C54.1456893,32.1212212 53.9478528,32.3035691 53.747153,32.5006246 C54.2137606,32.9712671 54.6418423,33.3768319 54.9840212,33.643" id="Fill-7" fill="#FEFEFE"></path>
|
||||
<path d="M12.0732694,35.4601798 C13.7241625,35.2508897 15.8906017,34.4664421 16.9491569,33.6430781 C17.3707308,33.3150861 17.9225903,32.7754611 18.5167504,32.1628189 C18.4383968,32.091754 18.3603035,32.0212096 18.2832514,31.9552208 C15.196352,29.3092884 15.8136798,18.5934511 13.3442384,18.5934511 C12.3731478,18.5934511 12.4623043,21.3716215 12.4623043,24.4585209 C12.4623043,26.107722 12.2608235,31.0550649 12.0732694,35.4601798" id="Fill-9" fill="#FEFEFE"></path>
|
||||
<path d="M25.4406878,44.8074965 C25.008311,41.3920845 22.6955769,37.0765166 20.3525165,34.1524418 C19.7173574,34.8036101 19.1252797,35.3746025 18.6085622,35.7765229 C17.0675204,36.9752556 14.1720798,38.005567 11.9563116,38.188826 C11.8435969,40.8110701 11.7566529,42.8443602 11.7566529,43.2002055 C11.7566529,43.278429 11.7602973,43.3748743 11.7669352,43.4845954 C14.6418112,44.484971 18.4764543,45.0282403 22.9499008,45.0282403 C23.7973437,45.0282403 24.6298186,44.9488454 25.4406878,44.8074965" id="Fill-11" fill="#FEFEFE"></path>
|
||||
<path d="M22.9499399,47.7311418 C18.830126,47.7311418 15.2211727,47.2965524 12.266251,46.4681122 C12.6207947,47.9073724 13.1873619,49.5845569 14.0497726,51.0937106 C15.8137709,54.18061 20.2235714,53.8277583 22.1638003,53.8277583 C24.1041594,53.8277583 25.515306,53.122185 25.515306,51.7992839 L25.515306,47.5360386 C24.6592728,47.6651529 23.8033699,47.7311418 22.9499399,47.7311418" id="Fill-13" fill="#FEFEFE"></path>
|
||||
<path d="M63.5454456,37.4703413 C63.0231314,37.4703413 62.4684084,37.6495655 61.8962446,38.0029379 C61.814637,38.0533081 61.4828705,38.2178247 60.6428465,38.2178247 C58.3770986,38.2178247 55.0258532,37.0999186 53.3244598,35.7764969 C52.4748043,35.1156971 51.4221061,33.9989624 50.3075841,32.8167595 C47.9636126,30.3303978 45.7496666,27.9820011 43.8337767,27.9820011 C42.471829,27.9820011 40.9034545,28.6166396 39.3866216,29.2305834 C38.1232016,29.7418344 36.8167001,30.2705263 35.966524,30.2705263 C35.1163479,30.2705263 33.8099765,29.7418344 32.5465565,29.2305834 C31.0297236,28.6166396 29.461219,27.9820011 28.0994014,27.9820011 C26.1833814,27.9820011 23.9693052,30.330528 21.6254639,32.8168896 C20.5109419,33.9990926 19.4582437,35.1156971 18.6085882,35.7764969 C16.9074551,37.0997884 13.5560796,38.2176945 11.2902015,38.2178247 C10.4503076,38.2178247 10.1185411,38.0533081 10.0369336,38.0029379 C9.46476974,37.6495655 8.9099166,37.4703413 8.3877325,37.4703413 C7.64857908,37.4703413 7.0250038,37.8567732 6.76039755,38.4787866 C6.43422772,39.2456631 6.70586237,40.1875989 7.48679572,40.9985982 C9.95272293,43.559539 15.5888491,45.0282143 22.9499269,45.0282143 C27.7832535,45.0282143 32.1465885,42.492784 34.6182426,40.1200482 C35.1197319,39.6387329 35.7738938,39.6142637 35.8998843,39.6142637 L35.9039192,39.6137431 L35.9276075,39.6223333 L36.0163736,39.614524 L36.0331636,39.6142637 C36.1591542,39.6142637 36.8134462,39.6387329 37.3149356,40.1200482 C39.7865896,42.492784 44.1497944,45.0282143 48.9831211,45.0282143 C56.3441989,45.0282143 61.980325,43.559539 64.4463824,40.9985982 C65.2273158,40.1877291 65.4986901,39.2456631 65.1726504,38.4787866 C64.9080442,37.8567732 64.2844689,37.4703413 63.5454456,37.4703413" id="Fill-15" fill="#FEFEFE"></path>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 6.5 KiB |
116
net-im/franz/franz-5.4.1.ebuild
Normal file
116
net-im/franz/franz-5.4.1.ebuild
Normal file
@@ -0,0 +1,116 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
MULTILIB_COMPAT=( abi_x86_64 )
|
||||
|
||||
inherit pax-utils multilib-build xdg-utils desktop
|
||||
|
||||
DESCRIPTION="Microsoft franz for Linux is your chat-centered workspace in Office 365"
|
||||
HOMEPAGE="https://aka.ms/microsoftfranz"
|
||||
SRC_URI="https://github.com/meetfranz/franz/releases/download/v${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="no-source-code MIT MIT-with-advertising BSD-1 BSD-2 BSD Apache-2.0 Boost-1.0 ISC CC-BY-SA-3.0 CC0-1.0 openssl ZLIB APSL-2 icu Artistic-2 LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="pax_kernel"
|
||||
|
||||
QA_PREBUILT=opt/Franz/franz
|
||||
RESTRICT="mirror bindist strip" #299368
|
||||
|
||||
|
||||
RDEPEND="
|
||||
app-crypt/libsecret[${MULTILIB_USEDEP}]
|
||||
dev-libs/atk[${MULTILIB_USEDEP}]
|
||||
dev-libs/expat[${MULTILIB_USEDEP}]
|
||||
dev-libs/glib:2[${MULTILIB_USEDEP}]
|
||||
dev-libs/nspr[${MULTILIB_USEDEP}]
|
||||
dev-libs/nss[${MULTILIB_USEDEP}]
|
||||
gnome-base/gconf:2[${MULTILIB_USEDEP}]
|
||||
media-libs/alsa-lib[${MULTILIB_USEDEP}]
|
||||
media-libs/fontconfig:1.0[${MULTILIB_USEDEP}]
|
||||
media-libs/freetype:2[${MULTILIB_USEDEP}]
|
||||
media-libs/libv4l[${MULTILIB_USEDEP}]
|
||||
net-print/cups[${MULTILIB_USEDEP}]
|
||||
sys-apps/dbus[${MULTILIB_USEDEP}]
|
||||
sys-devel/gcc[cxx]
|
||||
virtual/ttf-fonts
|
||||
x11-libs/cairo[${MULTILIB_USEDEP}]
|
||||
x11-libs/gdk-pixbuf:2[${MULTILIB_USEDEP}]
|
||||
x11-libs/gtk+:2[${MULTILIB_USEDEP}]
|
||||
x11-libs/libX11[${MULTILIB_USEDEP}]
|
||||
x11-libs/libXScrnSaver[${MULTILIB_USEDEP}]
|
||||
x11-libs/libXcomposite[${MULTILIB_USEDEP}]
|
||||
x11-libs/libXcursor[${MULTILIB_USEDEP}]
|
||||
x11-libs/libXdamage[${MULTILIB_USEDEP}]
|
||||
x11-libs/libXext[${MULTILIB_USEDEP}]
|
||||
x11-libs/libXfixes[${MULTILIB_USEDEP}]
|
||||
x11-libs/libXi[${MULTILIB_USEDEP}]
|
||||
x11-libs/libXrandr[${MULTILIB_USEDEP}]
|
||||
x11-libs/libXrender[${MULTILIB_USEDEP}]
|
||||
x11-libs/libXtst[${MULTILIB_USEDEP}]
|
||||
x11-libs/libxcb[${MULTILIB_USEDEP}]
|
||||
x11-libs/libxkbfile[${MULTILIB_USEDEP}]
|
||||
x11-libs/pango[${MULTILIB_USEDEP}]"
|
||||
|
||||
|
||||
src_install() {
|
||||
insinto /opt/Franz/locales
|
||||
doins locales/*.pak
|
||||
|
||||
insinto /opt/Franz/resources/app.asar.unpacked/assets/images/taskbar/win32
|
||||
doins resources/app.asar.unpacked/assets/images/taskbar/win32/*.ico
|
||||
|
||||
insinto /opt/Franz/resources/app.asar.unpacked/dictionaries
|
||||
doins -r resources/app.asar.unpacked/dictionaries/*
|
||||
|
||||
insinto /opt/Franz/resources
|
||||
doins resources/*.asar
|
||||
|
||||
insinto /opt/Franz
|
||||
doins *.pak
|
||||
doins *.bin
|
||||
doins *.dat
|
||||
exeinto /opt/Franz
|
||||
doexe *.so
|
||||
doexe franz
|
||||
doexe chrome-sandbox
|
||||
|
||||
exeinto /opt/Franz/swiftshader
|
||||
doexe swiftshader/*.so
|
||||
|
||||
into /opt
|
||||
dobin ${FILESDIR}/franz
|
||||
|
||||
dodoc *.html
|
||||
dodoc *.txt
|
||||
#dodoc -r usr/share/doc/franz/.
|
||||
# symlink required for the "Help->3rd Party Notes" menu entry (otherwise frozen skype -> xdg-open)
|
||||
#dosym ${P} usr/share/doc/franz
|
||||
|
||||
# compat symlink for franz bin autocreate autostart desktop file
|
||||
dosym ../../opt/bin/franz usr/bin/franz
|
||||
|
||||
domenu ${FILESDIR}/franz.desktop
|
||||
doicon ${FILESDIR}/franz.svg
|
||||
|
||||
if use pax_kernel; then
|
||||
pax-mark -Cm "${ED%/}"/opt/Franz/franz
|
||||
eqawarn "You have set USE=pax_kernel meaning that you intend to run"
|
||||
eqawarn "${PN} under a PaX enabled kernel. To do so, we must modify"
|
||||
eqawarn "the ${PN} binary itself and this *may* lead to breakage! If"
|
||||
eqawarn "you suspect that ${PN} is being broken by this modification,"
|
||||
eqawarn "please open a bug."
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_desktop_database_update
|
||||
xdg_mimeinfo_database_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_desktop_database_update
|
||||
xdg_mimeinfo_database_update
|
||||
}
|
||||
10
net-im/franz/metadata.xml
Normal file
10
net-im/franz/metadata.xml
Normal file
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>mario.fetka@gmail.com</email>
|
||||
</maintainer>
|
||||
<longdescription lang="en">
|
||||
Microsoft Teams for Linux is your chat-centered workspace in Office 365
|
||||
</longdescription>
|
||||
</pkgmetadata>
|
||||
@@ -1,4 +1,4 @@
|
||||
DIST skypeforlinux_8.56.76.90-1.x86_64.rpm 107062987 BLAKE2B bb5f8cec13b1498d8d3a8cccbdf085332a472e16954df0970da1e5da47f51da8198f7fb773da8a0c54848d2b29040abbc1562127a15b9c05793711314aa94c0d SHA512 333771156dc34405354105f902f7409586715c6b482792a6d3280fc5d7de411b4b93aa90a86d4f96e7efd66b412ffe306bcbd94fa6395c28f95770b40092e749
|
||||
EBUILD skypeforlinux-8.56.76.90.ebuild 5288 BLAKE2B 40252c73545187247441ddca16d4e8051b459011aa47665e74b7d73f1a91972200bfb6749e0e8bc043fc04338cdb8ca098bf44b6d4e10ededd65af157b9d0416 SHA512 1abdb60c4c88fdfd4c2d82651a089532cd3daff92526330e131148d4fc5d9129e205610420c0173a664d4636eb27f17456d5a851f7c27f4cb0f63c2c453ee4ae
|
||||
DIST skypeforlinux_8.58.76.57-1.x86_64.rpm 107296853 BLAKE2B 715cc61289d925acc6a67b37d5a980e128f4ee8310f4a2d7c906859a7e511f84852186db5550836520f65552e8bdd8d452e093875e9976e816362193e934fea5 SHA512 538b95c5164b1ba4fc8eeb2189cfc1404a4d96a57af53a3b0391ff3bf2a2a60c958e9a941c5171d5029f6522d2023d5f15e32e717862ff884e558d3fdabd2c7f
|
||||
EBUILD skypeforlinux-8.58.76.57.ebuild 5514 BLAKE2B 04b61c9fb69596ba0fb1fc6e05c25ebf994d267391c11da965481dbbc3866467a42769e832b4a1a827927c604482289b46b285482fa4849628c652f946b1fdc7 SHA512 6837008d41bcb1fc1a23ad24e89f9ecf54721f749e17559f2af66a118a3c5b867505de9932bfce4ff08a6a939f05f05ab6ee58a2144772abdd58c497a824a5b7
|
||||
MISC ChangeLog 717 BLAKE2B 62e7b63422d35e011a1d799f960e65026d1bca64361d1520e0123c928386be2926e7e1c5ea20e2fcce0f6c930cbcd1d23755ad0adc660256ba01bc4cfe5f483a SHA512 aeef06e239237b851ee67ace8c1fb8b822f5e39a8b90cd3335fa696336b1c68913780ee0f5642001116fa65a2cc54cd125840fb376f0721bf51094d6301f6403
|
||||
MISC metadata.xml 795 BLAKE2B da666b2ac257898116bb8fcf60bf27947b2261f8f718e6bd9cdf3e2c35e38954659be9499675a425cea0f2a9309fb2ada85b54684651f25463140b7f4e89fde9 SHA512 7c97ba77885e397a00e855ffca0dd1f2aa4e1b9c5780650cac09a729ecf4cce07599179c67b86ace1d7e1cd47eafe3a397e9487b42de56e96a86ffb15947abf9
|
||||
|
||||
@@ -82,6 +82,9 @@ src_install() {
|
||||
insinto /opt/skypeforlinux/resources/app.asar.unpacked/node_modules/electron-ssid/build/Release
|
||||
doins usr/share/skypeforlinux/resources/app.asar.unpacked/node_modules/electron-ssid/build/Release/electron-ssid.node
|
||||
|
||||
insinto /opt/skypeforlinux/resources/app.asar.unpacked/node_modules/electron-utility/build/Release
|
||||
doins usr/share/skypeforlinux/resources/app.asar.unpacked/node_modules/electron-utility/build/Release/electron_utility.node
|
||||
|
||||
insinto /opt/skypeforlinux/resources/app.asar.unpacked/node_modules/keytar/build/Release
|
||||
doins usr/share/skypeforlinux/resources/app.asar.unpacked/node_modules/keytar/build/Release/keytar.node
|
||||
|
||||
@@ -1,3 +1,9 @@
|
||||
DIST teams-1.3.00.30857-1.x86_64.rpm 105053364 BLAKE2B 404161420800d88d804b52d816f5ea9dcd44f6bca5cae989881c04168121fc74f1310bb6c669429a67bbb93270a2f1fd446d86f154c282fe4684d1bbb8f02dbd SHA512 8131b9d96f115b8f1c2487732277db727f6fbdff665341ca8307dc60e1d1c6cc3de7014ef107b6b22b43848966c266945b3549278f2495d5bf3d3ef814f447eb
|
||||
DIST teams-1.3.00.958-1.x86_64.rpm 89256463 BLAKE2B 394c15e5f752d404b2bee39eac07fe8014d20c28710aada8239191f1d45f12cffc88d9c22a619a8856090d463af559bf7d4dcefd52f176b3288a20093a315588 SHA512 7be7e606d07cee5fe95f594f721e90e63f89e1b26441c8ce1ca3c2da9b6dafc75e4ee47419dde72925f7c1611dbb11c79f70d3b738d9bbaba4a91fd87f06d250
|
||||
DIST teams-1.4.00.13653-1.x86_64.rpm 113789818 BLAKE2B bd9de52a2d3c5ba3a26b87394cdcd6dde6b064f595b5b36cf86c55fb1b74f0b3b0d2821bc1d94ffde28639e5c02117678bb8e68fc5dd918f2bd91bb1027af98c SHA512 5009c138a5c44b762e8f4b423be87d0cd49dac5f79e05d2a1f81b1021f870c4b6c2ec717125bf7ef4f7e1379761f3ce0ace86ee327a660012de7c5084c3741ba
|
||||
DIST teams-1.4.00.7556-1.x86_64.rpm 106077233 BLAKE2B 1e3833f074c209a043bc2903e24a9e794c1e11a9a8882d2b122c2b23bf6c95a98358341399594214234adc8efb46a23e46e0ee1e3e197ad54eb24f208f605cf4 SHA512 00d947adeee82fbf3d35ef071a686b4298a155de781bf4a8023ddc328eebf9d20ed2a3190a608bf8c0583977c418c6fa80939d0cbf5a21c2e8a9f533b63da2bc
|
||||
EBUILD teams-1.3.00.30857.ebuild 6826 BLAKE2B 5b20c840c7a90f0053d42550b9cbf4cb2c20e406bce4a7acacf519ca4fd6015200edd97967a5c14753c3a3a1151f9b071903ed20a6c29f2adbea765ce10e50fa SHA512 fa688bc87105a0838b645a6a824d8586be2b6397a41bdd0eeba1de395771822a1f6caffa6614bd2c0e1c0691d615f96c13faf81f98d2f63acc81fd84cfe2025f
|
||||
EBUILD teams-1.3.00.958.ebuild 7010 BLAKE2B 9e95bd3ddd9a11af6dcee4e0ce4dad297dd61cfa06f04ba491851549280bf2ff983c66c3a56959c1e86d05c593eb867615d45532cc2648cdfe7ad8dcf866e936 SHA512 084188dcab85cb677f1951c038cec7cb9187412503908e37137b1796ee0599942230f3f566345960a27a68db1d8a6d91b2fe4c29b66cdc00c8aa8c06bbecd6e4
|
||||
EBUILD teams-1.4.00.13653.ebuild 6826 BLAKE2B 5b20c840c7a90f0053d42550b9cbf4cb2c20e406bce4a7acacf519ca4fd6015200edd97967a5c14753c3a3a1151f9b071903ed20a6c29f2adbea765ce10e50fa SHA512 fa688bc87105a0838b645a6a824d8586be2b6397a41bdd0eeba1de395771822a1f6caffa6614bd2c0e1c0691d615f96c13faf81f98d2f63acc81fd84cfe2025f
|
||||
EBUILD teams-1.4.00.7556.ebuild 6826 BLAKE2B 5b20c840c7a90f0053d42550b9cbf4cb2c20e406bce4a7acacf519ca4fd6015200edd97967a5c14753c3a3a1151f9b071903ed20a6c29f2adbea765ce10e50fa SHA512 fa688bc87105a0838b645a6a824d8586be2b6397a41bdd0eeba1de395771822a1f6caffa6614bd2c0e1c0691d615f96c13faf81f98d2f63acc81fd84cfe2025f
|
||||
MISC metadata.xml 344 BLAKE2B 2f7e381d45bf16e64178ae6febf8e5294578d2febc3283aa9cd9d678ea70d90184e7c499014dc3f15abc6e32556cf769a42f0e5c6e1bc58af1c24db957ad4021 SHA512 290681e382241cfece5ccd36f0410ff02a40d58f4a8c2c2af3660aabd32bf3e22d0b31b61bf3e5a8b0737fcaddc00d91645eb894f69c848d54c29fb5142fba26
|
||||
|
||||
172
net-im/teams/teams-1.3.00.30857.ebuild
Normal file
172
net-im/teams/teams-1.3.00.30857.ebuild
Normal file
@@ -0,0 +1,172 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
MULTILIB_COMPAT=( abi_x86_64 )
|
||||
|
||||
inherit pax-utils rpm multilib-build xdg-utils
|
||||
|
||||
DESCRIPTION="Microsoft Teams for Linux is your chat-centered workspace in Office 365"
|
||||
HOMEPAGE="https://aka.ms/microsoftteams"
|
||||
SRC_URI="https://packages.microsoft.com/yumrepos/ms-teams/${PN}-${PV}-1.x86_64.rpm"
|
||||
|
||||
LICENSE="no-source-code MIT MIT-with-advertising BSD-1 BSD-2 BSD Apache-2.0 Boost-1.0 ISC CC-BY-SA-3.0 CC0-1.0 openssl ZLIB APSL-2 icu Artistic-2 LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="pax_kernel"
|
||||
|
||||
S="${WORKDIR}"
|
||||
QA_PREBUILT=opt/teams/teams
|
||||
QA_TEXTRELS=opt/teams/resources/app.asar.unpacked/node_modules/slimcore/bin/slimcore.node
|
||||
QA_EXECSTACK=opt/teams/resources/app.asar.unpacked/node_modules/slimcore/bin/slimcore.node
|
||||
RESTRICT="mirror bindist strip" #299368
|
||||
|
||||
|
||||
RDEPEND="
|
||||
app-crypt/libsecret[${MULTILIB_USEDEP}]
|
||||
dev-libs/atk[${MULTILIB_USEDEP}]
|
||||
dev-libs/expat[${MULTILIB_USEDEP}]
|
||||
dev-libs/glib:2[${MULTILIB_USEDEP}]
|
||||
dev-libs/nspr[${MULTILIB_USEDEP}]
|
||||
dev-libs/nss[${MULTILIB_USEDEP}]
|
||||
gnome-base/gconf:2[${MULTILIB_USEDEP}]
|
||||
media-libs/alsa-lib[${MULTILIB_USEDEP}]
|
||||
media-libs/fontconfig:1.0[${MULTILIB_USEDEP}]
|
||||
media-libs/freetype:2[${MULTILIB_USEDEP}]
|
||||
media-libs/libv4l[${MULTILIB_USEDEP}]
|
||||
net-print/cups[${MULTILIB_USEDEP}]
|
||||
sys-apps/dbus[${MULTILIB_USEDEP}]
|
||||
sys-devel/gcc[cxx]
|
||||
virtual/ttf-fonts
|
||||
x11-libs/cairo[${MULTILIB_USEDEP}]
|
||||
x11-libs/gdk-pixbuf:2[${MULTILIB_USEDEP}]
|
||||
x11-libs/gtk+:2[${MULTILIB_USEDEP}]
|
||||
x11-libs/libX11[${MULTILIB_USEDEP}]
|
||||
x11-libs/libXScrnSaver[${MULTILIB_USEDEP}]
|
||||
x11-libs/libXcomposite[${MULTILIB_USEDEP}]
|
||||
x11-libs/libXcursor[${MULTILIB_USEDEP}]
|
||||
x11-libs/libXdamage[${MULTILIB_USEDEP}]
|
||||
x11-libs/libXext[${MULTILIB_USEDEP}]
|
||||
x11-libs/libXfixes[${MULTILIB_USEDEP}]
|
||||
x11-libs/libXi[${MULTILIB_USEDEP}]
|
||||
x11-libs/libXrandr[${MULTILIB_USEDEP}]
|
||||
x11-libs/libXrender[${MULTILIB_USEDEP}]
|
||||
x11-libs/libXtst[${MULTILIB_USEDEP}]
|
||||
x11-libs/libxcb[${MULTILIB_USEDEP}]
|
||||
x11-libs/libxkbfile[${MULTILIB_USEDEP}]
|
||||
x11-libs/pango[${MULTILIB_USEDEP}]"
|
||||
|
||||
src_unpack() {
|
||||
rpm_src_unpack ${A}
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
sed -e "s!^TEAMS_PATH=.*!TEAMS_PATH=${EPREFIX}/opt/teams/teams!" \
|
||||
-i usr/bin/teams || die
|
||||
sed -e "s!^Exec=/usr/bin/teams!Exec=${EPREFIX}/opt/bin/teams!" \
|
||||
-e "s!^Categories=.*!Categories=Network;InstantMessaging;AudioVideo;!" \
|
||||
-e "/OnlyShowIn=.*/d" \
|
||||
-i usr/share/applications/teams.desktop || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto /opt/teams/locales
|
||||
doins usr/share/teams/locales/*.pak
|
||||
|
||||
insinto /opt/teams/resources/app.asar.unpacked/node_modules/@microsoft/fasttext-languagedetector/build/Release
|
||||
doins usr/share/teams/resources/app.asar.unpacked/node_modules/@microsoft/fasttext-languagedetector/build/Release/fastText-languagedetector.node
|
||||
insinto /opt/teams/resources/app.asar.unpacked/node_modules/@microsoft/fasttext-languagedetector/models
|
||||
doins usr/share/teams/resources/app.asar.unpacked/node_modules/@microsoft/fasttext-languagedetector/models/*.ftz
|
||||
|
||||
insinto /opt/teams/resources/app.asar.unpacked/node_modules/@msteams/electron-modules-package-utils/build/Release
|
||||
doins usr/share/teams/resources/app.asar.unpacked/node_modules/@msteams/electron-modules-package-utils/build/Release/package-utils.node
|
||||
insinto /opt/teams/resources/app.asar.unpacked/node_modules/@msteams/node-locale-info-provider/build/Release
|
||||
doins usr/share/teams/resources/app.asar.unpacked/node_modules/@msteams/node-locale-info-provider/build/Release/node-locale-info-provider.node
|
||||
|
||||
insinto /opt/teams/resources/app.asar.unpacked/node_modules/modern-osutils/build/Release
|
||||
doins usr/share/teams/resources/app.asar.unpacked/node_modules/modern-osutils/build/Release/modern-osutils.node
|
||||
|
||||
insinto /opt/teams/resources/app.asar.unpacked/node_modules/media-hid/build/Release
|
||||
doins usr/share/teams/resources/app.asar.unpacked/node_modules/media-hid/build/Release/media-hid.node
|
||||
|
||||
insinto /opt/teams/resources/app.asar.unpacked/node_modules/native-utils/build/Release
|
||||
doins usr/share/teams/resources/app.asar.unpacked/node_modules/native-utils/build/Release/native-utils.node
|
||||
|
||||
insinto /opt/teams/resources/app.asar.unpacked/node_modules/node-spellcheckr/build/Release
|
||||
doins usr/share/teams/resources/app.asar.unpacked/node_modules/node-spellcheckr/build/Release/spellchecker.node
|
||||
|
||||
insinto /opt/teams/resources/app.asar.unpacked/node_modules/keyboard-layout/build/Release
|
||||
doins usr/share/teams/resources/app.asar.unpacked/node_modules/keyboard-layout/build/Release/keyboard-layout-manager.node
|
||||
|
||||
insinto /opt/teams/resources/app.asar.unpacked/node_modules/keytar4/build/Release
|
||||
doins usr/share/teams/resources/app.asar.unpacked/node_modules/keytar4/build/Release/keytar.node
|
||||
|
||||
insinto /opt/teams/resources/app.asar.unpacked/node_modules/slimcore/bin
|
||||
doins usr/share/teams/resources/app.asar.unpacked/node_modules/slimcore/bin/*.node
|
||||
|
||||
# insinto /opt/teams/resources/app.asar.unpacked/node_modules/v8-profiler-next/build/Release
|
||||
# doins usr/share/teams/resources/app.asar.unpacked/node_modules/v8-profiler-next/build/Release/profiler.node
|
||||
|
||||
insinto /opt/teams/resources
|
||||
doins usr/share/teams/resources/*.asar
|
||||
|
||||
insinto /opt/teams/resources/locales
|
||||
doins usr/share/teams/resources/locales/*.json
|
||||
|
||||
insinto /opt/teams/resources/assets
|
||||
doins -r usr/share/teams/resources/assets/*
|
||||
|
||||
insinto /opt/teams
|
||||
doins usr/share/teams/*.pak
|
||||
doins usr/share/teams/*.bin
|
||||
doins usr/share/teams/*.dat
|
||||
exeinto /opt/teams
|
||||
doexe usr/share/teams/*.so
|
||||
doexe usr/share/teams/teams
|
||||
|
||||
exeinto /opt/teams/swiftshader
|
||||
doexe usr/share/teams/swiftshader/*.so
|
||||
|
||||
into /opt
|
||||
dobin usr/bin/teams
|
||||
|
||||
dodoc usr/share/teams/*.html
|
||||
#dodoc -r usr/share/doc/teams/.
|
||||
# symlink required for the "Help->3rd Party Notes" menu entry (otherwise frozen skype -> xdg-open)
|
||||
#dosym ${P} usr/share/doc/teams
|
||||
|
||||
# compat symlink for teams bin autocreate autostart desktop file
|
||||
dosym ../../opt/bin/teams usr/bin/teams
|
||||
|
||||
doicon usr/share/pixmaps/teams.png
|
||||
|
||||
#local res
|
||||
# no 1024 at the moment
|
||||
#for res in 16 32 256 512; do
|
||||
# newicon -s ${res} usr/share/icons/hicolor/${res}x${res}/apps/teams.png teams.png
|
||||
#done
|
||||
|
||||
domenu usr/share/applications/teams.desktop
|
||||
|
||||
if use pax_kernel; then
|
||||
pax-mark -Cm "${ED%/}"/opt/teams/teams
|
||||
pax-mark -Cm "${ED%/}"/opt/teams/resources/app.asar.unpacked/node_modules/slimcore/bin/slimcore.node
|
||||
eqawarn "You have set USE=pax_kernel meaning that you intend to run"
|
||||
eqawarn "${PN} under a PaX enabled kernel. To do so, we must modify"
|
||||
eqawarn "the ${PN} binary itself and this *may* lead to breakage! If"
|
||||
eqawarn "you suspect that ${PN} is being broken by this modification,"
|
||||
eqawarn "please open a bug."
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_desktop_database_update
|
||||
xdg_mimeinfo_database_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_desktop_database_update
|
||||
xdg_mimeinfo_database_update
|
||||
}
|
||||
172
net-im/teams/teams-1.4.00.13653.ebuild
Normal file
172
net-im/teams/teams-1.4.00.13653.ebuild
Normal file
@@ -0,0 +1,172 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
MULTILIB_COMPAT=( abi_x86_64 )
|
||||
|
||||
inherit pax-utils rpm multilib-build xdg-utils
|
||||
|
||||
DESCRIPTION="Microsoft Teams for Linux is your chat-centered workspace in Office 365"
|
||||
HOMEPAGE="https://aka.ms/microsoftteams"
|
||||
SRC_URI="https://packages.microsoft.com/yumrepos/ms-teams/${PN}-${PV}-1.x86_64.rpm"
|
||||
|
||||
LICENSE="no-source-code MIT MIT-with-advertising BSD-1 BSD-2 BSD Apache-2.0 Boost-1.0 ISC CC-BY-SA-3.0 CC0-1.0 openssl ZLIB APSL-2 icu Artistic-2 LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="pax_kernel"
|
||||
|
||||
S="${WORKDIR}"
|
||||
QA_PREBUILT=opt/teams/teams
|
||||
QA_TEXTRELS=opt/teams/resources/app.asar.unpacked/node_modules/slimcore/bin/slimcore.node
|
||||
QA_EXECSTACK=opt/teams/resources/app.asar.unpacked/node_modules/slimcore/bin/slimcore.node
|
||||
RESTRICT="mirror bindist strip" #299368
|
||||
|
||||
|
||||
RDEPEND="
|
||||
app-crypt/libsecret[${MULTILIB_USEDEP}]
|
||||
dev-libs/atk[${MULTILIB_USEDEP}]
|
||||
dev-libs/expat[${MULTILIB_USEDEP}]
|
||||
dev-libs/glib:2[${MULTILIB_USEDEP}]
|
||||
dev-libs/nspr[${MULTILIB_USEDEP}]
|
||||
dev-libs/nss[${MULTILIB_USEDEP}]
|
||||
gnome-base/gconf:2[${MULTILIB_USEDEP}]
|
||||
media-libs/alsa-lib[${MULTILIB_USEDEP}]
|
||||
media-libs/fontconfig:1.0[${MULTILIB_USEDEP}]
|
||||
media-libs/freetype:2[${MULTILIB_USEDEP}]
|
||||
media-libs/libv4l[${MULTILIB_USEDEP}]
|
||||
net-print/cups[${MULTILIB_USEDEP}]
|
||||
sys-apps/dbus[${MULTILIB_USEDEP}]
|
||||
sys-devel/gcc[cxx]
|
||||
virtual/ttf-fonts
|
||||
x11-libs/cairo[${MULTILIB_USEDEP}]
|
||||
x11-libs/gdk-pixbuf:2[${MULTILIB_USEDEP}]
|
||||
x11-libs/gtk+:2[${MULTILIB_USEDEP}]
|
||||
x11-libs/libX11[${MULTILIB_USEDEP}]
|
||||
x11-libs/libXScrnSaver[${MULTILIB_USEDEP}]
|
||||
x11-libs/libXcomposite[${MULTILIB_USEDEP}]
|
||||
x11-libs/libXcursor[${MULTILIB_USEDEP}]
|
||||
x11-libs/libXdamage[${MULTILIB_USEDEP}]
|
||||
x11-libs/libXext[${MULTILIB_USEDEP}]
|
||||
x11-libs/libXfixes[${MULTILIB_USEDEP}]
|
||||
x11-libs/libXi[${MULTILIB_USEDEP}]
|
||||
x11-libs/libXrandr[${MULTILIB_USEDEP}]
|
||||
x11-libs/libXrender[${MULTILIB_USEDEP}]
|
||||
x11-libs/libXtst[${MULTILIB_USEDEP}]
|
||||
x11-libs/libxcb[${MULTILIB_USEDEP}]
|
||||
x11-libs/libxkbfile[${MULTILIB_USEDEP}]
|
||||
x11-libs/pango[${MULTILIB_USEDEP}]"
|
||||
|
||||
src_unpack() {
|
||||
rpm_src_unpack ${A}
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
sed -e "s!^TEAMS_PATH=.*!TEAMS_PATH=${EPREFIX}/opt/teams/teams!" \
|
||||
-i usr/bin/teams || die
|
||||
sed -e "s!^Exec=/usr/bin/teams!Exec=${EPREFIX}/opt/bin/teams!" \
|
||||
-e "s!^Categories=.*!Categories=Network;InstantMessaging;AudioVideo;!" \
|
||||
-e "/OnlyShowIn=.*/d" \
|
||||
-i usr/share/applications/teams.desktop || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto /opt/teams/locales
|
||||
doins usr/share/teams/locales/*.pak
|
||||
|
||||
insinto /opt/teams/resources/app.asar.unpacked/node_modules/@microsoft/fasttext-languagedetector/build/Release
|
||||
doins usr/share/teams/resources/app.asar.unpacked/node_modules/@microsoft/fasttext-languagedetector/build/Release/fastText-languagedetector.node
|
||||
insinto /opt/teams/resources/app.asar.unpacked/node_modules/@microsoft/fasttext-languagedetector/models
|
||||
doins usr/share/teams/resources/app.asar.unpacked/node_modules/@microsoft/fasttext-languagedetector/models/*.ftz
|
||||
|
||||
insinto /opt/teams/resources/app.asar.unpacked/node_modules/@msteams/electron-modules-package-utils/build/Release
|
||||
doins usr/share/teams/resources/app.asar.unpacked/node_modules/@msteams/electron-modules-package-utils/build/Release/package-utils.node
|
||||
insinto /opt/teams/resources/app.asar.unpacked/node_modules/@msteams/node-locale-info-provider/build/Release
|
||||
doins usr/share/teams/resources/app.asar.unpacked/node_modules/@msteams/node-locale-info-provider/build/Release/node-locale-info-provider.node
|
||||
|
||||
insinto /opt/teams/resources/app.asar.unpacked/node_modules/modern-osutils/build/Release
|
||||
doins usr/share/teams/resources/app.asar.unpacked/node_modules/modern-osutils/build/Release/modern-osutils.node
|
||||
|
||||
insinto /opt/teams/resources/app.asar.unpacked/node_modules/media-hid/build/Release
|
||||
doins usr/share/teams/resources/app.asar.unpacked/node_modules/media-hid/build/Release/media-hid.node
|
||||
|
||||
insinto /opt/teams/resources/app.asar.unpacked/node_modules/native-utils/build/Release
|
||||
doins usr/share/teams/resources/app.asar.unpacked/node_modules/native-utils/build/Release/native-utils.node
|
||||
|
||||
insinto /opt/teams/resources/app.asar.unpacked/node_modules/node-spellcheckr/build/Release
|
||||
doins usr/share/teams/resources/app.asar.unpacked/node_modules/node-spellcheckr/build/Release/spellchecker.node
|
||||
|
||||
insinto /opt/teams/resources/app.asar.unpacked/node_modules/keyboard-layout/build/Release
|
||||
doins usr/share/teams/resources/app.asar.unpacked/node_modules/keyboard-layout/build/Release/keyboard-layout-manager.node
|
||||
|
||||
insinto /opt/teams/resources/app.asar.unpacked/node_modules/keytar4/build/Release
|
||||
doins usr/share/teams/resources/app.asar.unpacked/node_modules/keytar4/build/Release/keytar.node
|
||||
|
||||
insinto /opt/teams/resources/app.asar.unpacked/node_modules/slimcore/bin
|
||||
doins usr/share/teams/resources/app.asar.unpacked/node_modules/slimcore/bin/*.node
|
||||
|
||||
# insinto /opt/teams/resources/app.asar.unpacked/node_modules/v8-profiler-next/build/Release
|
||||
# doins usr/share/teams/resources/app.asar.unpacked/node_modules/v8-profiler-next/build/Release/profiler.node
|
||||
|
||||
insinto /opt/teams/resources
|
||||
doins usr/share/teams/resources/*.asar
|
||||
|
||||
insinto /opt/teams/resources/locales
|
||||
doins usr/share/teams/resources/locales/*.json
|
||||
|
||||
insinto /opt/teams/resources/assets
|
||||
doins -r usr/share/teams/resources/assets/*
|
||||
|
||||
insinto /opt/teams
|
||||
doins usr/share/teams/*.pak
|
||||
doins usr/share/teams/*.bin
|
||||
doins usr/share/teams/*.dat
|
||||
exeinto /opt/teams
|
||||
doexe usr/share/teams/*.so
|
||||
doexe usr/share/teams/teams
|
||||
|
||||
exeinto /opt/teams/swiftshader
|
||||
doexe usr/share/teams/swiftshader/*.so
|
||||
|
||||
into /opt
|
||||
dobin usr/bin/teams
|
||||
|
||||
dodoc usr/share/teams/*.html
|
||||
#dodoc -r usr/share/doc/teams/.
|
||||
# symlink required for the "Help->3rd Party Notes" menu entry (otherwise frozen skype -> xdg-open)
|
||||
#dosym ${P} usr/share/doc/teams
|
||||
|
||||
# compat symlink for teams bin autocreate autostart desktop file
|
||||
dosym ../../opt/bin/teams usr/bin/teams
|
||||
|
||||
doicon usr/share/pixmaps/teams.png
|
||||
|
||||
#local res
|
||||
# no 1024 at the moment
|
||||
#for res in 16 32 256 512; do
|
||||
# newicon -s ${res} usr/share/icons/hicolor/${res}x${res}/apps/teams.png teams.png
|
||||
#done
|
||||
|
||||
domenu usr/share/applications/teams.desktop
|
||||
|
||||
if use pax_kernel; then
|
||||
pax-mark -Cm "${ED%/}"/opt/teams/teams
|
||||
pax-mark -Cm "${ED%/}"/opt/teams/resources/app.asar.unpacked/node_modules/slimcore/bin/slimcore.node
|
||||
eqawarn "You have set USE=pax_kernel meaning that you intend to run"
|
||||
eqawarn "${PN} under a PaX enabled kernel. To do so, we must modify"
|
||||
eqawarn "the ${PN} binary itself and this *may* lead to breakage! If"
|
||||
eqawarn "you suspect that ${PN} is being broken by this modification,"
|
||||
eqawarn "please open a bug."
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_desktop_database_update
|
||||
xdg_mimeinfo_database_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_desktop_database_update
|
||||
xdg_mimeinfo_database_update
|
||||
}
|
||||
172
net-im/teams/teams-1.4.00.7556.ebuild
Normal file
172
net-im/teams/teams-1.4.00.7556.ebuild
Normal file
@@ -0,0 +1,172 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
MULTILIB_COMPAT=( abi_x86_64 )
|
||||
|
||||
inherit pax-utils rpm multilib-build xdg-utils
|
||||
|
||||
DESCRIPTION="Microsoft Teams for Linux is your chat-centered workspace in Office 365"
|
||||
HOMEPAGE="https://aka.ms/microsoftteams"
|
||||
SRC_URI="https://packages.microsoft.com/yumrepos/ms-teams/${PN}-${PV}-1.x86_64.rpm"
|
||||
|
||||
LICENSE="no-source-code MIT MIT-with-advertising BSD-1 BSD-2 BSD Apache-2.0 Boost-1.0 ISC CC-BY-SA-3.0 CC0-1.0 openssl ZLIB APSL-2 icu Artistic-2 LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="pax_kernel"
|
||||
|
||||
S="${WORKDIR}"
|
||||
QA_PREBUILT=opt/teams/teams
|
||||
QA_TEXTRELS=opt/teams/resources/app.asar.unpacked/node_modules/slimcore/bin/slimcore.node
|
||||
QA_EXECSTACK=opt/teams/resources/app.asar.unpacked/node_modules/slimcore/bin/slimcore.node
|
||||
RESTRICT="mirror bindist strip" #299368
|
||||
|
||||
|
||||
RDEPEND="
|
||||
app-crypt/libsecret[${MULTILIB_USEDEP}]
|
||||
dev-libs/atk[${MULTILIB_USEDEP}]
|
||||
dev-libs/expat[${MULTILIB_USEDEP}]
|
||||
dev-libs/glib:2[${MULTILIB_USEDEP}]
|
||||
dev-libs/nspr[${MULTILIB_USEDEP}]
|
||||
dev-libs/nss[${MULTILIB_USEDEP}]
|
||||
gnome-base/gconf:2[${MULTILIB_USEDEP}]
|
||||
media-libs/alsa-lib[${MULTILIB_USEDEP}]
|
||||
media-libs/fontconfig:1.0[${MULTILIB_USEDEP}]
|
||||
media-libs/freetype:2[${MULTILIB_USEDEP}]
|
||||
media-libs/libv4l[${MULTILIB_USEDEP}]
|
||||
net-print/cups[${MULTILIB_USEDEP}]
|
||||
sys-apps/dbus[${MULTILIB_USEDEP}]
|
||||
sys-devel/gcc[cxx]
|
||||
virtual/ttf-fonts
|
||||
x11-libs/cairo[${MULTILIB_USEDEP}]
|
||||
x11-libs/gdk-pixbuf:2[${MULTILIB_USEDEP}]
|
||||
x11-libs/gtk+:2[${MULTILIB_USEDEP}]
|
||||
x11-libs/libX11[${MULTILIB_USEDEP}]
|
||||
x11-libs/libXScrnSaver[${MULTILIB_USEDEP}]
|
||||
x11-libs/libXcomposite[${MULTILIB_USEDEP}]
|
||||
x11-libs/libXcursor[${MULTILIB_USEDEP}]
|
||||
x11-libs/libXdamage[${MULTILIB_USEDEP}]
|
||||
x11-libs/libXext[${MULTILIB_USEDEP}]
|
||||
x11-libs/libXfixes[${MULTILIB_USEDEP}]
|
||||
x11-libs/libXi[${MULTILIB_USEDEP}]
|
||||
x11-libs/libXrandr[${MULTILIB_USEDEP}]
|
||||
x11-libs/libXrender[${MULTILIB_USEDEP}]
|
||||
x11-libs/libXtst[${MULTILIB_USEDEP}]
|
||||
x11-libs/libxcb[${MULTILIB_USEDEP}]
|
||||
x11-libs/libxkbfile[${MULTILIB_USEDEP}]
|
||||
x11-libs/pango[${MULTILIB_USEDEP}]"
|
||||
|
||||
src_unpack() {
|
||||
rpm_src_unpack ${A}
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
sed -e "s!^TEAMS_PATH=.*!TEAMS_PATH=${EPREFIX}/opt/teams/teams!" \
|
||||
-i usr/bin/teams || die
|
||||
sed -e "s!^Exec=/usr/bin/teams!Exec=${EPREFIX}/opt/bin/teams!" \
|
||||
-e "s!^Categories=.*!Categories=Network;InstantMessaging;AudioVideo;!" \
|
||||
-e "/OnlyShowIn=.*/d" \
|
||||
-i usr/share/applications/teams.desktop || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto /opt/teams/locales
|
||||
doins usr/share/teams/locales/*.pak
|
||||
|
||||
insinto /opt/teams/resources/app.asar.unpacked/node_modules/@microsoft/fasttext-languagedetector/build/Release
|
||||
doins usr/share/teams/resources/app.asar.unpacked/node_modules/@microsoft/fasttext-languagedetector/build/Release/fastText-languagedetector.node
|
||||
insinto /opt/teams/resources/app.asar.unpacked/node_modules/@microsoft/fasttext-languagedetector/models
|
||||
doins usr/share/teams/resources/app.asar.unpacked/node_modules/@microsoft/fasttext-languagedetector/models/*.ftz
|
||||
|
||||
insinto /opt/teams/resources/app.asar.unpacked/node_modules/@msteams/electron-modules-package-utils/build/Release
|
||||
doins usr/share/teams/resources/app.asar.unpacked/node_modules/@msteams/electron-modules-package-utils/build/Release/package-utils.node
|
||||
insinto /opt/teams/resources/app.asar.unpacked/node_modules/@msteams/node-locale-info-provider/build/Release
|
||||
doins usr/share/teams/resources/app.asar.unpacked/node_modules/@msteams/node-locale-info-provider/build/Release/node-locale-info-provider.node
|
||||
|
||||
insinto /opt/teams/resources/app.asar.unpacked/node_modules/modern-osutils/build/Release
|
||||
doins usr/share/teams/resources/app.asar.unpacked/node_modules/modern-osutils/build/Release/modern-osutils.node
|
||||
|
||||
insinto /opt/teams/resources/app.asar.unpacked/node_modules/media-hid/build/Release
|
||||
doins usr/share/teams/resources/app.asar.unpacked/node_modules/media-hid/build/Release/media-hid.node
|
||||
|
||||
insinto /opt/teams/resources/app.asar.unpacked/node_modules/native-utils/build/Release
|
||||
doins usr/share/teams/resources/app.asar.unpacked/node_modules/native-utils/build/Release/native-utils.node
|
||||
|
||||
insinto /opt/teams/resources/app.asar.unpacked/node_modules/node-spellcheckr/build/Release
|
||||
doins usr/share/teams/resources/app.asar.unpacked/node_modules/node-spellcheckr/build/Release/spellchecker.node
|
||||
|
||||
insinto /opt/teams/resources/app.asar.unpacked/node_modules/keyboard-layout/build/Release
|
||||
doins usr/share/teams/resources/app.asar.unpacked/node_modules/keyboard-layout/build/Release/keyboard-layout-manager.node
|
||||
|
||||
insinto /opt/teams/resources/app.asar.unpacked/node_modules/keytar4/build/Release
|
||||
doins usr/share/teams/resources/app.asar.unpacked/node_modules/keytar4/build/Release/keytar.node
|
||||
|
||||
insinto /opt/teams/resources/app.asar.unpacked/node_modules/slimcore/bin
|
||||
doins usr/share/teams/resources/app.asar.unpacked/node_modules/slimcore/bin/*.node
|
||||
|
||||
# insinto /opt/teams/resources/app.asar.unpacked/node_modules/v8-profiler-next/build/Release
|
||||
# doins usr/share/teams/resources/app.asar.unpacked/node_modules/v8-profiler-next/build/Release/profiler.node
|
||||
|
||||
insinto /opt/teams/resources
|
||||
doins usr/share/teams/resources/*.asar
|
||||
|
||||
insinto /opt/teams/resources/locales
|
||||
doins usr/share/teams/resources/locales/*.json
|
||||
|
||||
insinto /opt/teams/resources/assets
|
||||
doins -r usr/share/teams/resources/assets/*
|
||||
|
||||
insinto /opt/teams
|
||||
doins usr/share/teams/*.pak
|
||||
doins usr/share/teams/*.bin
|
||||
doins usr/share/teams/*.dat
|
||||
exeinto /opt/teams
|
||||
doexe usr/share/teams/*.so
|
||||
doexe usr/share/teams/teams
|
||||
|
||||
exeinto /opt/teams/swiftshader
|
||||
doexe usr/share/teams/swiftshader/*.so
|
||||
|
||||
into /opt
|
||||
dobin usr/bin/teams
|
||||
|
||||
dodoc usr/share/teams/*.html
|
||||
#dodoc -r usr/share/doc/teams/.
|
||||
# symlink required for the "Help->3rd Party Notes" menu entry (otherwise frozen skype -> xdg-open)
|
||||
#dosym ${P} usr/share/doc/teams
|
||||
|
||||
# compat symlink for teams bin autocreate autostart desktop file
|
||||
dosym ../../opt/bin/teams usr/bin/teams
|
||||
|
||||
doicon usr/share/pixmaps/teams.png
|
||||
|
||||
#local res
|
||||
# no 1024 at the moment
|
||||
#for res in 16 32 256 512; do
|
||||
# newicon -s ${res} usr/share/icons/hicolor/${res}x${res}/apps/teams.png teams.png
|
||||
#done
|
||||
|
||||
domenu usr/share/applications/teams.desktop
|
||||
|
||||
if use pax_kernel; then
|
||||
pax-mark -Cm "${ED%/}"/opt/teams/teams
|
||||
pax-mark -Cm "${ED%/}"/opt/teams/resources/app.asar.unpacked/node_modules/slimcore/bin/slimcore.node
|
||||
eqawarn "You have set USE=pax_kernel meaning that you intend to run"
|
||||
eqawarn "${PN} under a PaX enabled kernel. To do so, we must modify"
|
||||
eqawarn "the ${PN} binary itself and this *may* lead to breakage! If"
|
||||
eqawarn "you suspect that ${PN} is being broken by this modification,"
|
||||
eqawarn "please open a bug."
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_desktop_database_update
|
||||
xdg_mimeinfo_database_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_desktop_database_update
|
||||
xdg_mimeinfo_database_update
|
||||
}
|
||||
Reference in New Issue
Block a user