Fix snappy build
This commit is contained in:
parent
47afc73df7
commit
1dc3a065ff
|
@ -510,7 +510,9 @@
|
|||
|
||||
<target name="snap" depends="revision">
|
||||
<copy tofile="${dir.dist}/snappy/filebot/FileBot.jar" file="${path.fatjar}" />
|
||||
<copy todir="${dir.dist}/snappy/filebot/lib/amd64">
|
||||
|
||||
<!-- include native binaries that are not available via apt -->
|
||||
<copy todir="${dir.dist}/snappy/filebot">
|
||||
<fileset dir="${dir.lib}/native/linux-amd64" excludes="fpcalc, libmediainfo.so, libzen.so" />
|
||||
</copy>
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@ export JAVA_HOME="$SNAP/usr/lib/jvm/java-8-openjdk-$SNAP_ARCH"
|
|||
# export JAVA_TOOL_OPTIONS="-javaagent:$SNAP/usr/share/java/jayatanaag.jar"
|
||||
|
||||
export PATH="$JAVA_HOME/jre/bin:$PATH"
|
||||
export LD_LIBRARY_PATH="$SNAP/filebot/lib/$SNAP_ARCH:$LD_LIBRARY_PATH"
|
||||
export LD_LIBRARY_PATH="$SNAP:$LD_LIBRARY_PATH"
|
||||
|
||||
export APP_ROOT="$SNAP/filebot"
|
||||
export APP_DATA="$SNAP_USER_DATA/data"
|
||||
|
|
|
@ -10,19 +10,17 @@ architectures: [amd64]
|
|||
|
||||
apps:
|
||||
filebot:
|
||||
command: desktop-launch $SNAP/filebot/filebot.sh
|
||||
command: desktop-launch $SNAP/filebot.sh
|
||||
plugs: [unity7, opengl, x11, home, network, network-bind, pulseaudio, gsettings]
|
||||
|
||||
parts:
|
||||
filebot:
|
||||
plugin: dump
|
||||
source: .
|
||||
organize:
|
||||
filebot: filebot
|
||||
after: [desktop-gtk2]
|
||||
source: filebot
|
||||
java:
|
||||
plugin: nil
|
||||
stage-packages: [openjdk-8-jre, openjfx, jayatana]
|
||||
after: [desktop-gtk2]
|
||||
mediainfo:
|
||||
plugin: nil
|
||||
stage-packages: [libmediainfo0v5, libchromaprint-tools]
|
||||
|
|
Loading…
Reference in New Issue