diff options
author | André Fabian Silva Delgado <andre@pc-01.localdomain> | 2012-04-21 11:42:33 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <andre@pc-01.localdomain> | 2012-04-21 11:42:33 -0300 |
commit | 62e9c4ca38e5ab3b2eea5289d4f41eb75876fdb7 (patch) | |
tree | 9ed048f7a5371c902add873e6021a1e69af530dc /~emulatorman/jitsi/jitsi.sh | |
parent | e8c14872ec42e3c16557f3b7bcad520fdecaf43e (diff) |
jitsi-1.0.3967-1: new package for emulatorman repo
Diffstat (limited to '~emulatorman/jitsi/jitsi.sh')
-rw-r--r-- | ~emulatorman/jitsi/jitsi.sh | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/~emulatorman/jitsi/jitsi.sh b/~emulatorman/jitsi/jitsi.sh new file mode 100644 index 000000000..c78c69f2f --- /dev/null +++ b/~emulatorman/jitsi/jitsi.sh @@ -0,0 +1,20 @@ +#!/bin/bash + +CLIENTARGS="" +arch | grep i686 && CLIENTARGS="-client -Xmx256m" + +javabin=${JAVA_HOME}/bin/java + +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="$javabin $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 $* + |