diff --git a/limelight-pc/.classpath b/limelight-pc/.classpath index fc8ecef..9d56b7c 100644 --- a/limelight-pc/.classpath +++ b/limelight-pc/.classpath @@ -1,7 +1,11 @@ - + + + + + diff --git a/limelight-pc/jni/nv_avc_dec/build.sh b/limelight-pc/jni/nv_avc_dec/build.sh new file mode 100755 index 0000000..f58519f --- /dev/null +++ b/limelight-pc/jni/nv_avc_dec/build.sh @@ -0,0 +1,5 @@ +rm *.o libnv_avc_dec.so +gcc -I /usr/lib/jvm/java-7-openjdk-amd64/include/ -I ./inc -fPIC -L. -c *.c +gcc -shared -Wl,-soname,libnv_avc_dec.so -Wl,--no-undefined -o libnv_avc_dec.so *.o -L. -lavcodec -lavfilter -lavformat -lavutil -lswresample -lswscale +rm *.o + diff --git a/limelight-pc/jni/nv_opus_dec/build.sh b/limelight-pc/jni/nv_opus_dec/build.sh new file mode 100755 index 0000000..2329fd3 --- /dev/null +++ b/limelight-pc/jni/nv_opus_dec/build.sh @@ -0,0 +1,5 @@ +rm *.o libnv_opus_dec.so +gcc -I include -I /usr/lib/jvm/java-7-openjdk-amd64/include/ -I ./inc -fPIC -c *.c +gcc -shared -Wl,-soname,libnv_opus_dec.so -Wl,--no-undefined -o libnv_opus_dec.so *.o -L. -lopus +rm *.o +