jitsi-meet-bin-2.7.1 added

This commit is contained in:
Kolan Sh 2021-03-17 15:15:35 +03:00
parent cabfa4fcb3
commit b8ad90d407
2 changed files with 53 additions and 0 deletions

View File

@ -0,0 +1,2 @@
DIST jitsi-meet-bin-2.7.1.tar.gz 647183 BLAKE2B 49fb87a2ee451b8d1372e5ad99d72eebfddb318525fe78b08f62dcd4c1aa05e1435b92644b9b48c697c729d17b53a10adeeeeb1463b3313441e1fbed1697589d SHA512 b3b155208c00244bd52e1f913c4c7db014eb515fb3e828e31919b847dd015880466104a999ea381a618e8d0764b365c3c80e7a6eaf9deca548db1b86d8df8beb
EBUILD jitsi-meet-bin-2.7.1.ebuild 1311 BLAKE2B 01e8adca58a1ad86fbefeaa4ae60f0994963f6533107dcf897bd4f6b532bcc2945303680472fa2fbb75fbf63284a77d1ccb6d4aec5b684639703fd6f85634657 SHA512 2bc9f5a04af3422c312f3f610ab9948aea2e10b2e2c1ab058ccee3281c16d7f28a34a80a7d0543d8f42b8f4c802e1b18b09aad0d87ffa7835a6a45f43856281d

View File

@ -0,0 +1,51 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit desktop xdg
DESCRIPTION="Desktop application for Jitsi Meet built with Electron"
HOMEPAGE="https://github.com/jitsi/jitsi-meet-electron"
SRC_URI="https://github.com/jitsi/jitsi-meet-electron/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
DEPEND="net-libs/nodejs[npm] \
sys-fs/fuse \
"
KEYWORDS="~amd64"
RESTRICT=network-sandbox
src_unpack() {
default
mv ${WORKDIR}/* ${WORKDIR}/${P}
}
src_compile() {
einfo
einfo 'Note, allowing network access from the sandbox via RESTRICT=network-sandbox'
einfo
einfo 'Fetching dependenies via npm'
npm install >> npm.log 2>&1 || die
sed -e 's:AppImage:dir:g' -i package.json
einfo 'Building package via npm'
npm run dist >> npm.log 2>&1 || die
}
src_install() {
mkdir -p ${D}/opt/jitsi-meet
cp ${S}/dist/linux-unpacked/* ${D}/opt/jitsi-meet -r
dosym /opt/jitsi-meet/jitsi-meet /usr/bin/jitsi-meet
einfo 'Applying chmod 4755 to chrome-sandbox'
chmod 4755 ${D}/opt/jitsi-meet/chrome-sandbox
newicon "${S}/resources/icon.png" jitsi-meet.png
make_desktop_entry "${PN}" Jitsi-meet jitsi-meet \
"Network;Chat;InstantMessaging;IRCClient" \
"Terminal=false\\nStartupNotify=true\\nStartupWMClass=Jitsi-meet"
}