diff options
author | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2014-09-04 02:25:14 -0300 |
---|---|---|
committer | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2014-09-04 02:25:14 -0300 |
commit | fc353061e3e6b3e8542d2000b89ca2ecfc604b1b (patch) | |
tree | 615f9efcdc5cf45213866013e12c2293f69e2a69 /nonprism/jitsi/jitsi.sh | |
parent | 0873eff3fe57c9e108ef0cf5f5b700bbb449629a (diff) | |
parent | 448c73d26577be3e04afda7364e3a7b3782b64cc (diff) | |
download | abslibre-fc353061e3e6b3e8542d2000b89ca2ecfc604b1b.tar.gz abslibre-fc353061e3e6b3e8542d2000b89ca2ecfc604b1b.tar.bz2 abslibre-fc353061e3e6b3e8542d2000b89ca2ecfc604b1b.zip |
Merge branch 'master' of ssh://lukeshu.com:1863/srv/git/mirror/parabola/abslibre
Diffstat (limited to 'nonprism/jitsi/jitsi.sh')
-rw-r--r-- | nonprism/jitsi/jitsi.sh | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/nonprism/jitsi/jitsi.sh b/nonprism/jitsi/jitsi.sh new file mode 100644 index 000000000..6e53cdbf5 --- /dev/null +++ b/nonprism/jitsi/jitsi.sh @@ -0,0 +1,17 @@ +#!/bin/bash + +CLIENTARGS="" +uname -m | grep i686 && CLIENTARGS="-client -Xmx256m" + +SCDIR=/usr/lib/jitsi +LIBPATH="$SCDIR/lib" +CLASSPATH="$LIBPATH/jdic_stub.jar:$LIBPATH/jdic-all.jar:$LIBPATH/felix.jar:$LIBPATH/bcprovider.jar:$SCDIR/sc-bundles/sc-launcher.jar:$SCDIR/sc-bundles/util.jar" +FELIX_CONFIG="$LIBPATH/felix.client.run.properties" +LOG_CONFIG="$LIBPATH/logging.properties" +COMMAND=("$JAVA_HOME/bin/java" $CLIENTARGS -classpath "$CLASSPATH" -Djna.library.path="$LIBPATH/native" -Dfelix.config.properties="file:$FELIX_CONFIG" -Djava.util.logging.config.file="$LOG_CONFIG" net.java.sip.communicator.launcher.SIPCommunicator) + +export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$LIBPATH/native" + +cd "$SCDIR" + +exec "${COMMAND[@]}" "$@" |