mirror of
https://github.com/mitb-archive/filebot
synced 2024-12-22 15:58:52 -05:00
Test custom build for BreeR
This commit is contained in:
parent
8788373041
commit
da4965ecb7
11
build.xml
11
build.xml
@ -564,14 +564,11 @@
|
||||
<fileset dir="${dir.installer}/deb" />
|
||||
</copy-replace>
|
||||
|
||||
<!-- jdeb does not support tarfileset fullpath attribute (see https://github.com/tcurdt/jdeb/issues/245) -->
|
||||
<copy file="${path.fatjar}" tofile="${dir.staging}/FileBot.jar" />
|
||||
|
||||
<jdeb destfile="${dir.dist}/${package.name}_${application.version}_${deb.arch}.deb" control="${dir.staging}/control" compression="xz" verbose="true">
|
||||
<tarfileset prefix="/usr/share/filebot" dir="${dir.staging}" includes="*.jar" />
|
||||
<tarfileset prefix="/usr/share/filebot" dir="${dir.staging}" includes="*.sh" filemode="755" />
|
||||
<tarfileset prefix="/usr/share/filebot" dir="${dir.lib}/native/linux-${arch}" includes="fpcalc" filemode="755" />
|
||||
<tarfileset prefix="/usr/share/filebot" dir="${dir.lib}/native/linux-${arch}" includes="*.so" />
|
||||
<tarfileset prefix="/usr/share/filebot/bin" dir="${dir.staging}" includes="*.sh" filemode="755" />
|
||||
<tarfileset prefix="/usr/share/filebot/jar" dir="${dir.dist}/lib" includes="*.jar" />
|
||||
<tarfileset prefix="/usr/share/filebot/lib" dir="${dir.lib}/native/linux-${arch}" includes="fpcalc" filemode="755" />
|
||||
<tarfileset prefix="/usr/share/filebot/lib" dir="${dir.lib}/native/linux-${arch}" includes="*.so" />
|
||||
<tarfileset prefix="/usr/share/icons/hicolor/scalable/apps" dir="${dir.installer}/icons" includes="filebot.svg" />
|
||||
<tarfileset prefix="/usr/share" dir="${dir.staging}/share" includes="**/*.desktop" />
|
||||
</jdeb>
|
||||
|
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
APP_ROOT=/usr/share/filebot
|
||||
APP_ROOT="/usr/share/filebot"
|
||||
|
||||
if [ -z "$HOME" ]; then
|
||||
echo '$HOME must be set'
|
||||
@ -9,4 +9,4 @@ fi
|
||||
# select application data folder
|
||||
APP_DATA="$HOME/.filebot"
|
||||
|
||||
java @{java.application.options} -Dapplication.deployment=deb -Djdk.gtk.version=3 -DuseGVFS=true -Dnet.filebot.gio.GVFS="$XDG_RUNTIME_DIR/gvfs" -Dapplication.dir="$APP_DATA" -Djava.io.tmpdir="$APP_DATA/tmp" -Djna.library.path="$APP_ROOT" -Djava.library.path="$APP_ROOT" -Dnet.filebot.AcoustID.fpcalc="$APP_ROOT/fpcalc" $JAVA_OPTS -classpath "$APP_ROOT/*" @{main.class} "$@"
|
||||
java @{java.application.options} -Dapplication.deployment=deb -Djdk.gtk.version=3 -DuseGVFS=true -Dnet.filebot.gio.GVFS="$XDG_RUNTIME_DIR/gvfs" -Dapplication.dir="$APP_DATA" -Djava.io.tmpdir="$APP_DATA/tmp" -Djna.library.path="$APP_ROOT/lib" -Djava.library.path="$APP_ROOT/lib" -Dnet.filebot.AcoustID.fpcalc="$APP_ROOT/lib/fpcalc" $JAVA_OPTS -classpath "$APP_ROOT/jar/*" @{main.class} "$@"
|
||||
|
Loading…
Reference in New Issue
Block a user