mirror of
https://github.com/YunoHost-Apps/jitsi_ynh.git
synced 2024-09-03 19:35:57 +02:00
Update install
This commit is contained in:
parent
1e099cbe2d
commit
74df4200c5
1 changed files with 12 additions and 14 deletions
|
@ -135,18 +135,17 @@ then
|
|||
fi
|
||||
|
||||
mkdir /tmp/jitsi-install/
|
||||
cd /tmp/jitsi-install/
|
||||
#install openjdk 8 because javah is used by jitsi and not supported in higher versions
|
||||
wget http://security.debian.org/debian-security/pool/updates/main/o/openjdk-8/openjdk-8-jre_8u322-b06-1~deb9u1_armhf.deb
|
||||
wget http://security.debian.org/debian-security/pool/updates/main/o/openjdk-8/openjdk-8-jre-headless_8u322-b06-1~deb9u1_armhf.deb
|
||||
wget http://security.debian.org/debian-security/pool/updates/main/o/openjdk-8/openjdk-8-jdk_8u322-b06-1~deb9u1_armhf.deb
|
||||
wget http://security.debian.org/debian-security/pool/updates/main/o/openjdk-8/openjdk-8-jdk-headless_8u322-b06-1~deb9u1_armhf.deb
|
||||
wget http://security.debian.org/debian-security/pool/updates/main/o/openjdk-8/openjdk-8-jre_8u322-b06-1~deb9u1_armhf.deb -P /tmp/jitsi-install/
|
||||
wget http://security.debian.org/debian-security/pool/updates/main/o/openjdk-8/openjdk-8-jre-headless_8u322-b06-1~deb9u1_armhf.deb -P /tmp/jitsi-install/
|
||||
wget http://security.debian.org/debian-security/pool/updates/main/o/openjdk-8/openjdk-8-jdk_8u322-b06-1~deb9u1_armhf.deb -P /tmp/jitsi-install/
|
||||
wget http://security.debian.org/debian-security/pool/updates/main/o/openjdk-8/openjdk-8-jdk-headless_8u322-b06-1~deb9u1_armhf.deb -P /tmp/jitsi-install/
|
||||
|
||||
sudo apt install \
|
||||
./openjdk-8-jre_8u322-b06-1~deb9u1_armhf.deb \
|
||||
./openjdk-8-jre-headless_8u322-b06-1~deb9u1_armhf.deb \
|
||||
./openjdk-8-jdk_8u322-b06-1~deb9u1_armhf.deb \
|
||||
./openjdk-8-jdk-headless_8u322-b06-1~deb9u1_armhf.deb
|
||||
/tmp/jitsi-install/openjdk-8-jre_8u322-b06-1~deb9u1_armhf.deb \
|
||||
/tmp/jitsi-install/openjdk-8-jre-headless_8u322-b06-1~deb9u1_armhf.deb \
|
||||
/tmp/jitsi-install/openjdk-8-jdk_8u322-b06-1~deb9u1_armhf.deb \
|
||||
/tmp/jitsi-install/openjdk-8-jdk-headless_8u322-b06-1~deb9u1_armhf.deb
|
||||
|
||||
# ser openjdk as default
|
||||
sudo update-alternatives --set java /usr/lib/jvm/java-8-openjdk-armhf/jre/bin/java
|
||||
|
@ -158,18 +157,17 @@ then
|
|||
export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-armhf
|
||||
sudo apt update
|
||||
sudo apt install automake autoconf build-essential libtool git maven m4 -y
|
||||
git clone https://github.com/sctplab/usrsctp.git
|
||||
git clone https://github.com/jitsi/jitsi-sctp
|
||||
git clone https://github.com/sctplab/usrsctp.git /tmp/jitsi-install/
|
||||
git clone https://github.com/jitsi/jitsi-sctp /tmp/jitsi-install/
|
||||
|
||||
if [ ! -d "/tmp/jitsi-install/jitsi-sctp/usrsctp/" ]
|
||||
then
|
||||
mv ./usrsctp ./jitsi-sctp/
|
||||
mv /tmp/jitsi-install/usrsctp /tmp/jitsi-install/jitsi-sctp/
|
||||
fi
|
||||
cd ./jitsi-sctp
|
||||
# needed to make compile works
|
||||
if [ ! -d "/tmp/jitsi-install/jitsi-sctp/jniwrapper/native/src/main/resources/lib/linux-arm/" ]
|
||||
then
|
||||
mkdir -p ./jniwrapper/native/src/main/resources/lib/linux-arm/
|
||||
mkdir -p /tmp/jitsi-install/jitsi-sctp/jniwrapper/native/src/main/resources/lib/linux-arm/
|
||||
fi
|
||||
|
||||
# compile
|
||||
|
|
Loading…
Add table
Reference in a new issue