mirror of
https://github.com/mitb-archive/filebot
synced 2024-08-13 17:03:45 -04:00
Allow compression override for rapid prototyping
e.g. tar.compression: none msi.compression: none
This commit is contained in:
parent
5313fc081d
commit
0723d1726b
@ -59,7 +59,6 @@ license.description: FileBot License File
|
|||||||
license.extension: psm
|
license.extension: psm
|
||||||
license.mimetype: application/x-filebot-license
|
license.mimetype: application/x-filebot-license
|
||||||
|
|
||||||
|
|
||||||
# Distribution-specific Package Information
|
# Distribution-specific Package Information
|
||||||
microsoft.application.name: PointPlanck.FileBot
|
microsoft.application.name: PointPlanck.FileBot
|
||||||
microsoft.application.publisher: CN=761A0D2B-9B86-4FE4-B664-18E4E0AFC3F1
|
microsoft.application.publisher: CN=761A0D2B-9B86-4FE4-B664-18E4E0AFC3F1
|
||||||
@ -71,6 +70,10 @@ deb.application.mimetype: inode/directory;video/*;audio/*;text/*;application/*;
|
|||||||
deb.application.class: net-filebot-Main
|
deb.application.class: net-filebot-Main
|
||||||
deb.application.depends: openjdk-10-jre, openjfx, mediainfo, libchromaprint-tools
|
deb.application.depends: openjdk-10-jre, openjfx, mediainfo, libchromaprint-tools
|
||||||
|
|
||||||
|
# Package Options
|
||||||
|
tar.compression: xz
|
||||||
|
msi.compression: high
|
||||||
|
|
||||||
# Commands
|
# Commands
|
||||||
deb.application.action.import: filebot -script fn:amc --output "$HOME/Media" --action duplicate -non-strict --log-file "$HOME/Media/amc.log" --def excludeList="$HOME/Media/amc.excludes" unsorted=y music=y artwork=y
|
deb.application.action.import: filebot -script fn:amc --output "$HOME/Media" --action duplicate -non-strict --log-file "$HOME/Media/amc.log" --def excludeList="$HOME/Media/amc.excludes" unsorted=y music=y artwork=y
|
||||||
|
|
||||||
|
10
build.xml
10
build.xml
@ -618,7 +618,7 @@
|
|||||||
</bundleapp>
|
</bundleapp>
|
||||||
|
|
||||||
|
|
||||||
<tar destfile="${dir.dist}/${release}.app.tar.xz" compression="none" longfile="posix" encoding="utf-8">
|
<tar destfile="${dir.dist}/${release}.app.tar.xz" compression="${tar.compression}" longfile="posix" encoding="utf-8">
|
||||||
<tarfileset dir="${dir.staging}">
|
<tarfileset dir="${dir.staging}">
|
||||||
<include name="*.app/**" />
|
<include name="*.app/**" />
|
||||||
<exclude name="*.app/**/MacOS/filebot.*" />
|
<exclude name="*.app/**/MacOS/filebot.*" />
|
||||||
@ -690,7 +690,7 @@
|
|||||||
<fileset dir="${dir.installer}/deb" />
|
<fileset dir="${dir.installer}/deb" />
|
||||||
</copy-replace>
|
</copy-replace>
|
||||||
|
|
||||||
<jdeb destfile="${dir.dist}/${package.name}_${application.version}_${deb.arch}.deb" control="${dir.staging}/control" compression="xz" verbose="true">
|
<jdeb destfile="${dir.dist}/${package.name}_${application.version}_${deb.arch}.deb" control="${dir.staging}/control" compression="${tar.compression}" verbose="true">
|
||||||
<tarfileset prefix="/usr/share/filebot/bin" dir="${dir.staging}" includes="*.sh" filemode="755" />
|
<tarfileset prefix="/usr/share/filebot/bin" dir="${dir.staging}" includes="*.sh" filemode="755" />
|
||||||
|
|
||||||
<!-- jdeb does not support tarfileset fullpath attribute (see https://github.com/tcurdt/jdeb/issues/245) -->
|
<!-- jdeb does not support tarfileset fullpath attribute (see https://github.com/tcurdt/jdeb/issues/245) -->
|
||||||
@ -797,7 +797,7 @@
|
|||||||
|
|
||||||
|
|
||||||
<target name="portable" description="Build portable package" depends="revision">
|
<target name="portable" description="Build portable package" depends="revision">
|
||||||
<tar destfile="${dir.dist}/${release}-portable.tar.xz" compression="xz" longfile="posix" encoding="utf-8">
|
<tar destfile="${dir.dist}/${release}-portable.tar.xz" compression="${tar.compression}" longfile="posix" encoding="utf-8">
|
||||||
<tarfileset file="${path.fatjar}" fullpath="FileBot.jar" />
|
<tarfileset file="${path.fatjar}" fullpath="FileBot.jar" />
|
||||||
<tarfileset dir="${dir.installer}/portable" includes="*.sh" filemode="755" />
|
<tarfileset dir="${dir.installer}/portable" includes="*.sh" filemode="755" />
|
||||||
|
|
||||||
@ -814,7 +814,7 @@
|
|||||||
|
|
||||||
|
|
||||||
<target name="spk" description="Build Synology NAS package" depends="revision">
|
<target name="spk" description="Build Synology NAS package" depends="revision">
|
||||||
<spk destdir="${dir.dist}" name="${package.name}" version="${application.version}" arch="noarch" compression="xz">
|
<spk destdir="${dir.dist}" name="${package.name}" version="${application.version}" arch="noarch" compression="${tar.compression}">
|
||||||
<info name="displayname" value="${application.name}" />
|
<info name="displayname" value="${application.name}" />
|
||||||
<info name="description" value="${package.description}" />
|
<info name="description" value="${package.description}" />
|
||||||
<info name="maintainer" value="${package.project}" />
|
<info name="maintainer" value="${package.project}" />
|
||||||
@ -1017,7 +1017,7 @@
|
|||||||
|
|
||||||
|
|
||||||
<!-- include source tarball -->
|
<!-- include source tarball -->
|
||||||
<tar destfile="${dir.release}/${package.name}-${application.version}-src.tar.xz" compression="xz" longfile="posix" encoding="utf-8">
|
<tar destfile="${dir.release}/${package.name}-${application.version}-src.tar.xz" compression="${tar.compression}" longfile="posix" encoding="utf-8">
|
||||||
<tarfileset dir="${dir.source}" />
|
<tarfileset dir="${dir.source}" />
|
||||||
</tar>
|
</tar>
|
||||||
</target>
|
</target>
|
||||||
|
@ -78,7 +78,7 @@
|
|||||||
<!-- The media table defines the location that the MSI will look to find source files during -->
|
<!-- The media table defines the location that the MSI will look to find source files during -->
|
||||||
<!-- installation or repair scenarios. In this case, the source files are in a cab file that will be -->
|
<!-- installation or repair scenarios. In this case, the source files are in a cab file that will be -->
|
||||||
<!-- embedded directly into the MSI at build time. -->
|
<!-- embedded directly into the MSI at build time. -->
|
||||||
<Media Id='1' Cabinet='FileBot.cab' EmbedCab='yes' CompressionLevel="none" />
|
<Media Id='1' Cabinet='FileBot.cab' EmbedCab='yes' CompressionLevel="@{msi.compression}" />
|
||||||
|
|
||||||
<!-- These properties define links that will appear in the Add/Remove Programs control panel when -->
|
<!-- These properties define links that will appear in the Add/Remove Programs control panel when -->
|
||||||
<!-- this product is installed on the system. -->
|
<!-- this product is installed on the system. -->
|
||||||
|
Loading…
Reference in New Issue
Block a user