* automate USC package build

This commit is contained in:
Reinhard Pointner 2014-12-22 21:35:14 +00:00
parent ccd66ff773
commit bfa53d60d7
3 changed files with 26 additions and 7 deletions

View File

@ -24,7 +24,6 @@
<!-- define output paths -->
<property name="path.fatjar" location="${dir.dist}/${title}_${version}.jar" />
<property name="path.appbundle.tar.gz" location="${dir.dist}/${title}_${version}.app.tar.gz" />
<property name="path.ubuntu-binary.tar.gz" location="${dir.dist}/filebot-${version}-ubuntu.tar.gz" />
<property name="path.source.zip" location="${dir.dist}/filebot-${version}-src.zip" />
<property name="basedir.release" location="${basedir}/release" />
@ -365,11 +364,16 @@
</target>
<target name="ppa-binary" depends="svn-update, fatjar">
<target name="ubuntu-debsrc" depends="svn-update, fatjar">
<property name="jre.dir" value="${basedir}/jre" />
<property name="jre.version" value="jdk-8u25" />
<tar destfile="${path.ubuntu-binary.tar.gz}" compression="gzip" longfile="gnu">
<property name="path.tarbin" location="${dir.dist}/filebot-${version}-tarbin.tar.gz" />
<property name="path.debsrc" location="${dir.dist}/filebot-${version}-debsrc.tar.gz" />
<property name="dir.debsrc" location="${dir.dist}/debian-source-package/filebot/filebot-${version}" />
<!-- collect binary content -->
<tar destfile="${path.tarbin}" compression="gzip" longfile="gnu">
<tarfileset fullpath="i386/filebot/FileBot.jar" file="${path.fatjar}" />
<tarfileset fullpath="amd64/filebot/FileBot.jar" file="${path.fatjar}" />
@ -395,9 +399,24 @@
<tarfileset prefix="amd64/filebot/jre" dir="${jre.dir}/${jre.version}-linux-x64/jre" includes="bin/java" filemode="755" />
</tar>
<!-- build debian source package for application binaries -->
<copy todir="${dir.debsrc}">
<fileset dir="${dir.installer}/ubuntu" includes="debian/**" />
</copy>
<untar src="${path.tarbin}" dest="${dir.debsrc}" compression="gzip" />
<!-- debuild -S -->
<exec dir="${dir.debsrc}" executable="debuild">
<arg line="-S" />
</exec>
<!-- tar cvzf filebot-4.5.2-debsrc.tar.gz *.dsc *.changes *.tar.gz -->
<tar destfile="${path.debsrc}" compression="gzip">
<tarfileset dir="${dir.debsrc}/.." includes="*.dsc, *.changes, *.tar.gz" />
</tar>
<!-- store this build in releases -->
<mkdir dir="${dir.release}" />
<copy todir="${dir.release}" file="${path.ubuntu-binary.tar.gz}" verbose="yes" />
<copy todir="${dir.release}" file="${path.debsrc}" verbose="yes" />
</target>

View File

@ -1,4 +1,4 @@
filebot (4.5.3-0ubuntu1) trusty; urgency=low
filebot (4.5.3) trusty; urgency=low
* Change Output Folder button in Format Dialog
* Extract All will now only extract not-already-extracted files from the selected archives
@ -10,7 +10,7 @@ filebot (4.5.3-0ubuntu1) trusty; urgency=low
-- Reinhard Pointner <rednoah@users.sourceforge.net> Fri, 08 Dec 2014 00:00:00 +0800
filebot (4.5.2-0ubuntu1) trusty; urgency=low
filebot (4.5.2) trusty; urgency=low
* Opportunistic / Strict mode matching
* Improved episode / movie / music auto-detection

View File

@ -1,4 +1,4 @@
tar-ignore = "NULL"
diff-ignore = "^NULL$"
extend-diff-ignore = "^NULL$"
compression = "xz"
compression = "gzip"