+ support .ipk package
This commit is contained in:
parent
b7832285d9
commit
a342f14ccf
27
build.xml
27
build.xml
|
@ -198,7 +198,23 @@
|
||||||
<tarfileset prefix="usr/share/applications" file="${dir.installer}/deb/FileBot.desktop" />
|
<tarfileset prefix="usr/share/applications" file="${dir.installer}/deb/FileBot.desktop" />
|
||||||
</deb>
|
</deb>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
|
|
||||||
|
<target name="ipkg" depends="fatjar" description="Build ipkg package for ARM">
|
||||||
|
<taskdef resource="ant_deb_task.properties" classpath="${dir.lib}/build/ant-deb.jar" />
|
||||||
|
|
||||||
|
<deb todir="${dir.dist}" package="filebot" version="${version}" architecture="arm" section="misc" homepage="http://filebot.sourceforge.net" priority="optional">
|
||||||
|
<maintainer name="Reinhard Pointner" email="rednoah@users.sourceforge.net" />
|
||||||
|
<description synopsis="The ultimate tv renamer / subtitle downloader / sfv validator">FileBot is the ultimate tool for renaming your tv shows and anime, downloading subtitles from various sources or just simple file verification.</description>
|
||||||
|
<tarfileset fullpath="usr/share/filebot/FileBot.jar" file="${path.fatjar}" />
|
||||||
|
<tarfileset prefix="usr/share/filebot" dir="${dir.lib}/native/linux-arm" includes="*.so" />
|
||||||
|
<tarfileset prefix="usr/share/filebot" file="${dir.installer}/icons/icon48.png" />
|
||||||
|
<tarfileset prefix="usr/share/filebot/bin" file="${dir.installer}/ipkg/filebot.sh" filemode="755" />
|
||||||
|
<tarfileset fullpath="usr/bin/filebot" file="${dir.installer}/ipkg/filebot.sh" filemode="755" />
|
||||||
|
</deb>
|
||||||
|
<move dest="${dir.dist}/filebot_2.62_arm.ipk" src="${dir.dist}/filebot_2.62_arm.deb" overwrite="true" />
|
||||||
|
</target>
|
||||||
|
|
||||||
|
|
||||||
<target name="msi" depends="fatjar" description="Build Windows Installer for x86 and x64">
|
<target name="msi" depends="fatjar" description="Build Windows Installer for x86 and x64">
|
||||||
<antcall target="msi-arch">
|
<antcall target="msi-arch">
|
||||||
|
@ -415,7 +431,7 @@
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
|
|
||||||
<target name="deploy-release" depends="svn-update, fatjar, appbundle, deb, msi, portable, webstart">
|
<target name="deploy-release" depends="svn-update, fatjar, appbundle, deb, ipkg, msi, portable, webstart">
|
||||||
<mkdir dir="${dir.dist}/release" />
|
<mkdir dir="${dir.dist}/release" />
|
||||||
|
|
||||||
<!-- prepare release packages -->
|
<!-- prepare release packages -->
|
||||||
|
@ -423,6 +439,7 @@
|
||||||
<copy todir="${dir.dist}/release/${title}_${version}" file="${path.appbundle.tar.gz}" />
|
<copy todir="${dir.dist}/release/${title}_${version}" file="${path.appbundle.tar.gz}" />
|
||||||
<copy todir="${dir.dist}/release/${title}_${version}" file="${dir.dist}/filebot_${version}_i386.deb" />
|
<copy todir="${dir.dist}/release/${title}_${version}" file="${dir.dist}/filebot_${version}_i386.deb" />
|
||||||
<copy todir="${dir.dist}/release/${title}_${version}" file="${dir.dist}/filebot_${version}_amd64.deb" />
|
<copy todir="${dir.dist}/release/${title}_${version}" file="${dir.dist}/filebot_${version}_amd64.deb" />
|
||||||
|
<copy todir="${dir.dist}/release/${title}_${version}" file="${dir.dist}/filebot_${version}_arm.ipk" />
|
||||||
<copy todir="${dir.dist}/release/${title}_${version}" file="${dir.dist}/FileBot_${version}_x86.msi" />
|
<copy todir="${dir.dist}/release/${title}_${version}" file="${dir.dist}/FileBot_${version}_x86.msi" />
|
||||||
<copy todir="${dir.dist}/release/${title}_${version}" file="${dir.dist}/FileBot_${version}_x64.msi" />
|
<copy todir="${dir.dist}/release/${title}_${version}" file="${dir.dist}/FileBot_${version}_x64.msi" />
|
||||||
<copy todir="${dir.dist}/release/${title}_${version}" file="${dir.dist}/FileBot_${version}-portable.zip" />
|
<copy todir="${dir.dist}/release/${title}_${version}" file="${dir.dist}/FileBot_${version}-portable.zip" />
|
||||||
|
@ -460,6 +477,12 @@
|
||||||
<scp todir="${sf.user}:${sf.password}@${deploy.release}" trust="yes" verbose="true">
|
<scp todir="${sf.user}:${sf.password}@${deploy.release}" trust="yes" verbose="true">
|
||||||
<fileset dir="${dir.dist}/release" includes="**/*.deb" />
|
<fileset dir="${dir.dist}/release" includes="**/*.deb" />
|
||||||
</scp>
|
</scp>
|
||||||
|
|
||||||
|
<!-- deploy ipkg packages -->
|
||||||
|
<sleep seconds="5" />
|
||||||
|
<scp todir="${sf.user}:${sf.password}@${deploy.release}" trust="yes" verbose="true">
|
||||||
|
<fileset dir="${dir.dist}/release" includes="**/*.ipk" />
|
||||||
|
</scp>
|
||||||
|
|
||||||
<!-- deploy osx app bundle -->
|
<!-- deploy osx app bundle -->
|
||||||
<sleep seconds="5" />
|
<sleep seconds="5" />
|
||||||
|
|
|
@ -0,0 +1,2 @@
|
||||||
|
#!/bin/bash
|
||||||
|
java -Dunixfs=false -Dapplication.deployment=ipkg -Djna.library.path=/usr/share/filebot -Djava.library.path=/usr/share/filebot -jar /usr/share/filebot/FileBot.jar "$@"
|
BIN
lib/jna.jar
BIN
lib/jna.jar
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -15,6 +15,8 @@ if ($type == 'jar')
|
||||||
$file = 'FileBot_'.$version.'.jar';
|
$file = 'FileBot_'.$version.'.jar';
|
||||||
if ($type == 'portable')
|
if ($type == 'portable')
|
||||||
$file = 'FileBot_'.$version.'-portable.zip';
|
$file = 'FileBot_'.$version.'-portable.zip';
|
||||||
|
if ($type == 'ipkg')
|
||||||
|
$file = 'filebot_'.$version.'_'.$arch.'.ipk';
|
||||||
if ($type == 'src')
|
if ($type == 'src')
|
||||||
$file = 'filebot-'.$version.'-src.zip';
|
$file = 'filebot-'.$version.'-src.zip';
|
||||||
|
|
||||||
|
|
|
@ -211,8 +211,10 @@
|
||||||
<li>Mac OS X app bundle: <a onclick="_gaq.push(['_trackPageview', '/download/FileBot.app'])" target="_blank" href="download.php?type=app">FileBot_@{version}.app</a> (<span class="filesize">16MB</span>)</li>
|
<li>Mac OS X app bundle: <a onclick="_gaq.push(['_trackPageview', '/download/FileBot.app'])" target="_blank" href="download.php?type=app">FileBot_@{version}.app</a> (<span class="filesize">16MB</span>)</li>
|
||||||
<li>Windows installer: <a onclick="_gaq.push(['_trackPageview', '/download/FileBot_x86.msi'])" target="_blank" href="download.php?type=msi&arch=x86">FileBot_@{version}_x86.msi</a> or <a onclick="_gaq.push(['_trackPageview', '/download/FileBot_x64.msi'])" target="_blank" href="download.php?type=msi&arch=x64">FileBot_@{version}_x64.msi</a> (<span class="filesize">15MB</span>)</li>
|
<li>Windows installer: <a onclick="_gaq.push(['_trackPageview', '/download/FileBot_x86.msi'])" target="_blank" href="download.php?type=msi&arch=x86">FileBot_@{version}_x86.msi</a> or <a onclick="_gaq.push(['_trackPageview', '/download/FileBot_x64.msi'])" target="_blank" href="download.php?type=msi&arch=x64">FileBot_@{version}_x64.msi</a> (<span class="filesize">15MB</span>)</li>
|
||||||
<li>Debian packages: <a onclick="_gaq.push(['_trackPageview', '/download/filebot_i386.deb'])" target="_blank" href="download.php?type=deb&arch=i386">filebot_@{version}_i386.deb</a> or <a onclick="_gaq.push(['_trackPageview', '/download/filebot_amd64.deb'])" target="_blank" href="download.php?type=deb&arch=amd64">filebot_@{version}_amd64.deb</a> (<span class="filesize">15MB</span>)</li>
|
<li>Debian packages: <a onclick="_gaq.push(['_trackPageview', '/download/filebot_i386.deb'])" target="_blank" href="download.php?type=deb&arch=i386">filebot_@{version}_i386.deb</a> or <a onclick="_gaq.push(['_trackPageview', '/download/filebot_amd64.deb'])" target="_blank" href="download.php?type=deb&arch=amd64">filebot_@{version}_amd64.deb</a> (<span class="filesize">15MB</span>)</li>
|
||||||
|
<li>Embedded Linux package: <a onclick="_gaq.push(['_trackPageview', '/download/filebot_arm.ipk'])" target="_blank" href="download.php?type=ipkg&arch=arm">filebot_@{version}_arm.ipk</a> (<span class="filesize">17MB</span>)</li>
|
||||||
<li>Portable: <a onclick="_gaq.push(['_trackPageview', '/download/FileBot-portable.zip'])" target="_blank" href="download.php?type=portable">FileBot-@{version}-portable.zip</a> (<span class="filesize">12MB</span>)</li>
|
<li>Portable: <a onclick="_gaq.push(['_trackPageview', '/download/FileBot-portable.zip'])" target="_blank" href="download.php?type=portable">FileBot-@{version}-portable.zip</a> (<span class="filesize">12MB</span>)</li>
|
||||||
<li>Source Zip: <a onclick="_gaq.push(['_trackPageview', '/download/filebot-src.zip'])" target="_blank" href="download.php?type=src">filebot-@{version}-src.zip</a> (<span class="filesize">500kB</span>)</li>
|
<li>Source Zip: <a onclick="_gaq.push(['_trackPageview', '/download/filebot-src.zip'])" target="_blank" href="download.php?type=src">filebot-@{version}-src.zip</a> (<span class="filesize">500kB</span>)</li>
|
||||||
|
<li>Arch Linux package is available <a target="_blank" href="https://aur.archlinux.org/packages.php?ID=27459">via AUR</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue