- build new svc2 libs
This commit is contained in:
parent
771f264cf4
commit
955f348079
53
bbb-screenshare/app/jws/screenshare.jnlp.h264
Executable file
53
bbb-screenshare/app/jws/screenshare.jnlp.h264
Executable file
@ -0,0 +1,53 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<jnlp spec="1.0+" codebase="$$jnlpUrl/lib" href="">
|
||||
<!--
|
||||
Keep href empty. Otherwise this jnlp file will always be cached.
|
||||
http://www.coderanch.com/t/284889/JSP/java/Caching-JNLP
|
||||
-->
|
||||
<information>
|
||||
<title>BigBlueButton Screen Share</title>
|
||||
<vendor>BigBlueButton</vendor>
|
||||
</information>
|
||||
|
||||
<resources>
|
||||
<j2se version="1.7+" href="http://java.sun.com/products/autodl/j2se"/>
|
||||
<jar href="javacv-screenshare-0.0.1.jar" main="true" />
|
||||
<jar href="ffmpeg.jar" />
|
||||
</resources>
|
||||
|
||||
<resources os="Windows" arch="amd64">
|
||||
<nativelib href="ffmpeg-win-x86_64-h264.jar"/>
|
||||
</resources>
|
||||
|
||||
<resources os="Windows" arch="x86">
|
||||
<nativelib href="ffmpeg-win-x86-h264.jar"/>
|
||||
</resources>
|
||||
|
||||
<resources os="Linux" arch="x86_64 amd64">
|
||||
<nativelib href="ffmpeg-linux-x86_64-h264.jar"/>
|
||||
</resources>
|
||||
|
||||
<resources os="Linux" arch="x86 i386 i486 i586 i686">
|
||||
<nativelib href="ffmpeg-linux-x86-h264.jar"/>
|
||||
</resources>
|
||||
|
||||
<resources os="Mac OS X">
|
||||
<nativelib href="ffmpeg-macosx-x86_64-h264.jar"/>
|
||||
</resources>
|
||||
|
||||
<application-desc
|
||||
name="Desktop Sharing Demo Application"
|
||||
main-class="org.bigbluebutton.screenshare.client.DeskshareMain">
|
||||
<argument>$$publishUrl</argument>
|
||||
<argument>$$serverUrl</argument>
|
||||
<argument>$$meetingId</argument>
|
||||
<argument>$$streamId</argument>
|
||||
<argument>$$fullScreen</argument>
|
||||
<argument>$$codecOptions</argument>
|
||||
<argument>$$session</argument>
|
||||
<argument>$$useH264</argument>
|
||||
<argument>$$errorMessage</argument>
|
||||
</application-desc>
|
||||
<security><all-permissions/></security>
|
||||
<update check="always" policy="always"/>
|
||||
</jnlp>
|
Binary file not shown.
Binary file not shown.
10
bbb-screenshare/jws/native-libs/ffmpeg-macosx-x86_64/svc2/build.gradle
Executable file
10
bbb-screenshare/jws/native-libs/ffmpeg-macosx-x86_64/svc2/build.gradle
Executable file
@ -0,0 +1,10 @@
|
||||
apply plugin: 'java'
|
||||
apply plugin: 'eclipse'
|
||||
|
||||
sourceCompatibility=1.6
|
||||
targetCompatibility=1.6
|
||||
|
||||
version = '0.0.1'
|
||||
archivesBaseName = 'ffmpeg-macosx-x86_64'
|
||||
|
||||
|
38
bbb-screenshare/jws/native-libs/ffmpeg-macosx-x86_64/svc2/build.xml
Executable file
38
bbb-screenshare/jws/native-libs/ffmpeg-macosx-x86_64/svc2/build.xml
Executable file
@ -0,0 +1,38 @@
|
||||
<?xml version="1.0" ?>
|
||||
<project name="ffmpeg-macosx-x86_64-signing" basedir=".">
|
||||
|
||||
<!-- Sign jar with Certificate using pkcs12 file -->
|
||||
<target name="check-certificate">
|
||||
<input message="Enter cetificate filename:" addproperty="cert.name" />
|
||||
<input message="Enter cetificate password:" addproperty="cert.password" />
|
||||
<exec executable="/usr/bin/keytool" outputproperty="cert.info">
|
||||
<arg line="-list" />
|
||||
<arg line="-storetype pkcs12" />
|
||||
<arg line="-keystore ${cert.name}" />
|
||||
<arg line="-storepass ${cert.password}" />
|
||||
<arg line="-v" />
|
||||
</exec>
|
||||
</target>
|
||||
|
||||
<target name="get-alias-name" depends="check-certificate">
|
||||
<script language="javascript">
|
||||
<![CDATA[
|
||||
// getting the value
|
||||
info = project.getProperty("cert.info");
|
||||
alias = (info.match(/Alias name:(.*)/)[0]).replace("Alias name: ","");
|
||||
project.setProperty("cert.alias",alias);
|
||||
]]>
|
||||
</script>
|
||||
</target>
|
||||
|
||||
|
||||
<target name="sign-jar" depends="get-alias-name">
|
||||
<signjar jar="build/libs/ffmpeg-macosx-x86_64-0.0.1.jar"
|
||||
storetype="pkcs12"
|
||||
keystore="${cert.name}"
|
||||
storepass="${cert.password}"
|
||||
alias="${cert.alias}" />
|
||||
</target>
|
||||
|
||||
|
||||
</project>
|
Binary file not shown.
16
bbb-screenshare/jws/native-libs/ffmpeg-macosx-x86_64/svc2/sign-jar.sh
Executable file
16
bbb-screenshare/jws/native-libs/ffmpeg-macosx-x86_64/svc2/sign-jar.sh
Executable file
@ -0,0 +1,16 @@
|
||||
FFMPEG=ffmpeg-3.0.2-1.2-macosx-x86_64.jar
|
||||
mkdir workdir
|
||||
cp $FFMPEG workdir/ffmpeg-macosx-x86_64.jar
|
||||
rm -rf src
|
||||
mkdir -p src/main/resources
|
||||
cd workdir
|
||||
jar xvf ffmpeg-macosx-x86_64.jar
|
||||
cp org/bytedeco/javacpp/macosx-x86_64/* ../src/main/resources
|
||||
cd ..
|
||||
rm -rf workdir
|
||||
gradle jar
|
||||
cp build/libs/ffmpeg-macosx-x86_64-0.0.1.jar ../../unsigned-jars/ffmpeg-macosx-x86_64-svc2-unsigned.jar
|
||||
ant sign-jar
|
||||
cp build/libs/ffmpeg-macosx-x86_64-0.0.1.jar ../../../../app/jws/lib/ffmpeg-macosx-x86_64-svc2.jar
|
||||
rm -rf src
|
||||
|
10
bbb-screenshare/jws/native-libs/ffmpeg-windows-x86/svc2/build.gradle
Executable file
10
bbb-screenshare/jws/native-libs/ffmpeg-windows-x86/svc2/build.gradle
Executable file
@ -0,0 +1,10 @@
|
||||
apply plugin: 'java'
|
||||
apply plugin: 'eclipse'
|
||||
|
||||
sourceCompatibility=1.6
|
||||
targetCompatibility=1.6
|
||||
|
||||
version = '0.0.1'
|
||||
archivesBaseName = 'ffmpeg-windows-x86'
|
||||
|
||||
|
38
bbb-screenshare/jws/native-libs/ffmpeg-windows-x86/svc2/build.xml
Executable file
38
bbb-screenshare/jws/native-libs/ffmpeg-windows-x86/svc2/build.xml
Executable file
@ -0,0 +1,38 @@
|
||||
<?xml version="1.0" ?>
|
||||
<project name="ffmpeg-win-x86-signing" basedir=".">
|
||||
|
||||
<!-- Sign jar with Certificate using pkcs12 file -->
|
||||
<target name="check-certificate">
|
||||
<input message="Enter cetificate filename:" addproperty="cert.name" />
|
||||
<input message="Enter cetificate password:" addproperty="cert.password" />
|
||||
<exec executable="/usr/bin/keytool" outputproperty="cert.info">
|
||||
<arg line="-list" />
|
||||
<arg line="-storetype pkcs12" />
|
||||
<arg line="-keystore ${cert.name}" />
|
||||
<arg line="-storepass ${cert.password}" />
|
||||
<arg line="-v" />
|
||||
</exec>
|
||||
</target>
|
||||
|
||||
<target name="get-alias-name" depends="check-certificate">
|
||||
<script language="javascript">
|
||||
<![CDATA[
|
||||
// getting the value
|
||||
info = project.getProperty("cert.info");
|
||||
alias = (info.match(/Alias name:(.*)/)[0]).replace("Alias name: ","");
|
||||
project.setProperty("cert.alias",alias);
|
||||
]]>
|
||||
</script>
|
||||
</target>
|
||||
|
||||
|
||||
<target name="sign-jar" depends="get-alias-name">
|
||||
<signjar jar="build/libs/ffmpeg-windows-x86-0.0.1.jar"
|
||||
storetype="pkcs12"
|
||||
keystore="${cert.name}"
|
||||
storepass="${cert.password}"
|
||||
alias="${cert.alias}" />
|
||||
</target>
|
||||
|
||||
|
||||
</project>
|
Binary file not shown.
17
bbb-screenshare/jws/native-libs/ffmpeg-windows-x86/svc2/sign-jar.sh
Executable file
17
bbb-screenshare/jws/native-libs/ffmpeg-windows-x86/svc2/sign-jar.sh
Executable file
@ -0,0 +1,17 @@
|
||||
FFMPEG=ffmpeg-3.0.2-1.2-windows-x86-svc2.jar
|
||||
mkdir workdir
|
||||
cp $FFMPEG workdir/ffmpeg-windows-x86.jar
|
||||
rm -rf src
|
||||
mkdir -p src/main/resources
|
||||
mkdir -p src/main/java
|
||||
cd workdir
|
||||
jar xvf ffmpeg-windows-x86.jar
|
||||
cp org/bytedeco/javacpp/windows-x86/*.dll ../src/main/resources
|
||||
cd ..
|
||||
rm -rf workdir
|
||||
gradle jar
|
||||
cp build/libs/ffmpeg-windows-x86-0.0.1.jar ../../unsigned-jars/ffmpeg-win-x86-svc2-unsigned.jar
|
||||
ant sign-jar
|
||||
cp build/libs/ffmpeg-windows-x86-0.0.1.jar ../../../../app/jws/lib/ffmpeg-win-x86-svc2.jar
|
||||
rm -rf src
|
||||
|
10
bbb-screenshare/jws/native-libs/ffmpeg-windows-x86_64/svc2/build.gradle
Executable file
10
bbb-screenshare/jws/native-libs/ffmpeg-windows-x86_64/svc2/build.gradle
Executable file
@ -0,0 +1,10 @@
|
||||
apply plugin: 'java'
|
||||
apply plugin: 'eclipse'
|
||||
|
||||
sourceCompatibility=1.6
|
||||
targetCompatibility=1.6
|
||||
|
||||
version = '0.0.1'
|
||||
archivesBaseName = 'ffmpeg-windows-x86_64'
|
||||
|
||||
|
38
bbb-screenshare/jws/native-libs/ffmpeg-windows-x86_64/svc2/build.xml
Executable file
38
bbb-screenshare/jws/native-libs/ffmpeg-windows-x86_64/svc2/build.xml
Executable file
@ -0,0 +1,38 @@
|
||||
<?xml version="1.0" ?>
|
||||
<project name="ffmpeg-win-x86-signing" basedir=".">
|
||||
|
||||
<!-- Sign jar with Certificate using pkcs12 file -->
|
||||
<target name="check-certificate">
|
||||
<input message="Enter cetificate filename:" addproperty="cert.name" />
|
||||
<input message="Enter cetificate password:" addproperty="cert.password" />
|
||||
<exec executable="/usr/bin/keytool" outputproperty="cert.info">
|
||||
<arg line="-list" />
|
||||
<arg line="-storetype pkcs12" />
|
||||
<arg line="-keystore ${cert.name}" />
|
||||
<arg line="-storepass ${cert.password}" />
|
||||
<arg line="-v" />
|
||||
</exec>
|
||||
</target>
|
||||
|
||||
<target name="get-alias-name" depends="check-certificate">
|
||||
<script language="javascript">
|
||||
<![CDATA[
|
||||
// getting the value
|
||||
info = project.getProperty("cert.info");
|
||||
alias = (info.match(/Alias name:(.*)/)[0]).replace("Alias name: ","");
|
||||
project.setProperty("cert.alias",alias);
|
||||
]]>
|
||||
</script>
|
||||
</target>
|
||||
|
||||
|
||||
<target name="sign-jar" depends="get-alias-name">
|
||||
<signjar jar="build/libs/ffmpeg-windows-x86_64-0.0.1.jar"
|
||||
storetype="pkcs12"
|
||||
keystore="${cert.name}"
|
||||
storepass="${cert.password}"
|
||||
alias="${cert.alias}" />
|
||||
</target>
|
||||
|
||||
|
||||
</project>
|
Binary file not shown.
17
bbb-screenshare/jws/native-libs/ffmpeg-windows-x86_64/svc2/sign-jar.sh
Executable file
17
bbb-screenshare/jws/native-libs/ffmpeg-windows-x86_64/svc2/sign-jar.sh
Executable file
@ -0,0 +1,17 @@
|
||||
FFMPEG=ffmpeg-3.0.2-1.2-windows-x86_64-svc2.jar
|
||||
mkdir workdir
|
||||
cp $FFMPEG workdir/ffmpeg-windows-x86_64.jar
|
||||
rm -rf src
|
||||
mkdir -p src/main/resources
|
||||
mkdir -p src/main/java
|
||||
cd workdir
|
||||
jar xvf ffmpeg-windows-x86_64.jar
|
||||
cp org/bytedeco/javacpp/windows-x86_64/*.dll ../src/main/resources
|
||||
cd ..
|
||||
rm -rf workdir
|
||||
gradle jar
|
||||
cp build/libs/ffmpeg-windows-x86_64-0.0.1.jar ../../unsigned-jars/ffmpeg-win-x86_64-svc2-unsigned.jar
|
||||
ant sign-jar
|
||||
cp build/libs/ffmpeg-windows-x86_64-0.0.1.jar ../../../../app/jws/lib/ffmpeg-win-x86_64-svc2.jar
|
||||
rm -rf src
|
||||
|
Loading…
Reference in New Issue
Block a user