jitsi-2.11.5633 added

This commit is contained in:
Kolan Sh 2021-03-16 23:08:26 +03:00
parent 0c48e8133c
commit 52347922e9
2 changed files with 54 additions and 0 deletions

1
net-im/jitsi/Manifest Normal file
View File

@ -0,0 +1 @@
DIST jitsi-2.11.5633.zip 60032514 SHA256 3e2efdc2bd69867586f08873daf7ec1aa89d1ed9a438326b92437cd1af6eb9df SHA512 9035806cfb3c083ba41978239d11771238a84266745656d03236033e84c806be549fabfa3de8bfcf545d32d5b29d31700002435bf7a36ac7105fe88dbe1f3b53 WHIRLPOOL e5f9ab5eecb94c28a90c62a033cb7d9d0c4e6eb79dabd44194c5f74954da9537aa2bed4fb103d135fc0c852a473fed1ce3da6b4fac8ac63f76bb10aeea1098cb

View File

@ -0,0 +1,53 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit java-pkg-2 java-ant-2
DESCRIPTION="Secure IM communicator that supports SIP, XMPP, AIM/ICQ, Windows Live, Yahoo"
HOMEPAGE="https://jitsi.org/"
SRC_URI="https://github.com/${PN}/${PN}/archive/${PV##*.}.zip -> jitsi-${PV}.zip"
LICENSE="LGPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
CDEPEND="
sys-apps/dbus
x11-libs/libX11
x11-libs/gtk+:*
x11-libs/libXScrnSaver"
DEPEND="virtual/jdk:1.8
${CDEPEND}"
RDEPEND="${DEPEND}
${CDEPEND}
!net-im/jitsi-bin
virtual/jre"
EANT_BUILD_TARGET="rebuild"
S="${WORKDIR}/${PN}-${PV##*.}"
src_prepare() {
cp lib/accounts.properties.template lib/accounts.properties
eapply_user
}
src_install() {
#cleanup
rm -r lib/{installer-exclude,native/freebsd*,native/mac,native/windows*,os-specific/mac}
#resources/install/generic/installer-generic.xml
insinto "/usr/share/${PN}"
doins -r {lib,sc-bundles}
doins ./resources/install/generic/run.sh
fperms +x /usr/share/${PN}/run.sh
newbin - ${PN} <<-EOF
#!/bin/sh
cd /usr/share/jitsi
./run.sh >/dev/null 2>&1 &
EOF
}