41 lines
947 B
Bash
41 lines
947 B
Bash
# Copyright 1999-2020 Unitas Network GmbH
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI="7"
|
|
|
|
inherit eutils unpacker
|
|
|
|
MY_PN=${PN/-bin/}
|
|
|
|
DESCRIPTION="Jitsi Meet is a WebRTC JavaScript application that uses Jitsi Videobridge to provide high quality, scalable video conferences."
|
|
HOMEPAGE="https://jitsi.org/"
|
|
|
|
SRC_URI_BASE="https://download.jitsi.org/stable"
|
|
SRC_URI="${SRC_URI_BASE}/${MY_PN}_${PV}-1_all.deb"
|
|
|
|
RESTRICT="mirror"
|
|
|
|
LICENSE="Apache-2.0"
|
|
SLOT="0"
|
|
KEYWORDS="amd64 x86"
|
|
IUSE=""
|
|
|
|
DEPEND=""
|
|
RDEPEND=""
|
|
|
|
S=${WORKDIR}
|
|
|
|
src_install() {
|
|
insinto /etc/jitsi/meet/
|
|
newins ${FILESDIR}/meet.example.com-config-${PV}.js meet.example.com-config.js
|
|
|
|
gunzip usr/share/doc/jitsi-meet-web/README.md.gz
|
|
dodoc usr/share/doc/jitsi-meet-web/README.md
|
|
dodoc usr/share/doc/jitsi-meet-web/README.Debian
|
|
newdoc ${FILESDIR}/nginx-jitsi-meet-${PV}.example nginx-jitsi-meet.example
|
|
rm -rf usr/share/doc
|
|
|
|
insinto /
|
|
doins -r usr
|
|
}
|