Browse Source

Add net-im/jitsi-meet-bin-2.5.1

master
kske 8 months ago
parent
commit
9f09bed00f
Signed by: kske GPG Key ID: 8BEB13EC5DF7EF13
  1. 2
      net-im/jitsi-meet-bin/Manifest
  2. 55
      net-im/jitsi-meet-bin/jitsi-meet-bin-2.5.1.ebuild

2
net-im/jitsi-meet-bin/Manifest

@ -0,0 +1,2 @@
DIST jitsi-meet-bin-2.5.1.tar.gz 639511 BLAKE2B 5da8e99d075024bbadff40dea918d80d91c33d8607a32e5c513632dbb84bda8924641edb20b88db101a8643825f76c31e311d06c36d37386a57dbc8f711c9f6d SHA512 18b009947a5b8dc3aab5f4f85fc2784cef352165585d07225543a5980ca727d3610580191e3af89dc24dfac9ee2e5b0a36de8e3a8a146f4db7b63adec2ffc34f
EBUILD jitsi-meet-bin-2.5.1.ebuild 1478 BLAKE2B 83974c1a5a774ee3e4ceac6b45205f4131f4930997555deb2fd29679192484dfde04c186558ebf22f1408c8a04129ae5f1cf7b97d007bb3c86aa325e1714f587 SHA512 aa8abb83cfc723f83049d47ee65e8828a671aade972cc64c77a24f91e2a3e80108d57913e65da18fc8c93e71ebe41eae272d7c9af99d4fca12a6875e18a3b6ee

55
net-im/jitsi-meet-bin/jitsi-meet-bin-2.5.1.ebuild

@ -0,0 +1,55 @@
# 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
# local size
# for size in 16 24 48 64 96 128 256 512; do
# newicon -s ${size} "${S}/resources/icons/icon_${size}x${size}.png" jitsi-meet.png
# done
# newicon -s scalable ${S}/app/images/logo.svg jitsi-meet.svg
make_desktop_entry "${PN}" Jitsi-meet jitsi-meet \
"Network;Chat;InstantMessaging;IRCClient" \
"Terminal=false\\nStartupNotify=true\\nStartupWMClass=Jitsi-meet"
}
Loading…
Cancel
Save