-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathffmpeg_src.xml
29 lines (28 loc) · 1.04 KB
/
ffmpeg_src.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<?eclipse.ant.import?>
<project default="ffmpeg-src" basedir="." name="ffmpeg-src">
<property name="exec.dir" location="csrc"/>
<property name="log.dir" location="exec"/>
<property name="ffmpeg-config" value="../libffmpeg.jnaerator"/>
<property name="jnaerator" location="/home/fschuett/prog/jna/jnaerator-0.12-SNAPSHOT-shaded.jar"/>
<target name="clean-ffmpeg">
<delete dir="generated"/>
<delete dir="${log.dir}"/>
</target>
<target name="init-ffmpeg" depends="clean-ffmpeg">
<mkdir dir="generated/org/ffmpeg"/>
<mkdir dir="${log.dir}"/>
</target>
<target name="ffmpeg-src" depends="clean-ffmpeg,init-ffmpeg">
<!-- erzeuge Java-Quelldateien zu ffmpeg -->
<java dir="${exec.dir}" classpath="${jnaerator}" jar="${jnaerator}" fork="true">
<jvmarg value="-Xmx4g"/>
<arg value="${ffmpeg-config}"/>
</java>
<move todir="${log.dir}">
<fileset dir="${exec.dir}">
<include name="_jnaerator.*"/>
</fileset>
</move>
</target>
</project>