File tree Expand file tree Collapse file tree 3 files changed +18
-0
lines changed
Expand file tree Collapse file tree 3 files changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -10,3 +10,5 @@ linuxdeploy*.AppImage
1010Miniconda3-latest * .sh
1111__pycache__
1212funscript-editor * .AppImage
13+ ffmpeg
14+ ffmpeg-git * .tar.xz
Original file line number Diff line number Diff line change @@ -4,11 +4,21 @@ if [ ! -f ./linuxdeploy-x86_64.AppImage ]; then
44 wget -c " https://github.com/linuxdeploy/linuxdeploy/releases/download/continuous/linuxdeploy-x86_64.AppImage"
55fi
66
7+ if [ ! -f ffmpeg-git-amd64-static.tar.xz ]; then
8+ wget -c " https://johnvansickle.com/ffmpeg/builds/ffmpeg-git-amd64-static.tar.xz"
9+ fi
10+
711rm -f ./funscript-editor-* .AppImage
812
913chmod +x linuxdeploy-x86_64.AppImage
1014chmod +x linuxdeploy-plugin-conda.sh
1115
16+ echo " extract ffmpeg..."
17+ mkdir -p tmp
18+ tar -xf ffmpeg-git-amd64-static.tar.xz -C tmp
19+ mv -f tmp/ffmpeg-git* /ffmpeg .
20+ rm -rf tmp
21+
1222ARCH=x86_64 \
1323 ./linuxdeploy-x86_64.AppImage \
1424 --appdir AppDir \
Original file line number Diff line number Diff line change @@ -115,6 +115,11 @@ if [ -d dist ]; then
115115 find dist -iname " *.whl" | sort | tail -n 1 | xargs -I {} pip3 install --force-reinstall {}
116116fi
117117
118+ if [ -f ffmpeg ]; then
119+ cp -fv ffmpeg $APPDIR /usr/conda/lib/python3* /site-packages/funscript_editor/data
120+ chmod +x $APPDIR /usr/conda/lib/python3* /site-packages/funscript_editor/data/ffmpeg
121+ fi
122+
118123# create missing symlinks
119124mkdir -p " $APPDIR " /usr/bin/
120125mkdir -p " $APPDIR " /usr/lib/
@@ -178,4 +183,5 @@ export FONTCONFIG_PATH="$APPDIR"/usr/conda/etc/fonts
178183export FONTCONFIG_FILE="$APPDIR "/usr/conda/etc/fonts/fonts.conf
179184EOF
180185
186+
181187exit 0
You can’t perform that action at this time.
0 commit comments