X-Git-Url: https://git.cinelerra-gg.org/git/?p=goodguy%2Fcinelerra.git;a=blobdiff_plain;f=cinelerra-5.1%2Fblds%2Fbld_appimage.sh;fp=cinelerra-5.1%2Fblds%2Fbld_appimage.sh;h=a2378d7165f1e0aeef2710577bd49685c58b5982;hp=0000000000000000000000000000000000000000;hb=97ed925c86313b57c13a2db0fb9aa48822fe76ba;hpb=2b629b290282c959d556dd8e37e25ba055691c8c diff --git a/cinelerra-5.1/blds/bld_appimage.sh b/cinelerra-5.1/blds/bld_appimage.sh new file mode 100644 index 00000000..a2378d71 --- /dev/null +++ b/cinelerra-5.1/blds/bld_appimage.sh @@ -0,0 +1,29 @@ +#!/bin/bash + +# this should bascically be the same as a static build, but the +# "make install" is followed by the appimage creation. After the +# install does its work, the bin directory and subdirectories +# contain the whole application. + +# Install linuxdeploy (CLI version). Download from +# https://github.com/linuxdeploy/linuxdeploy/releases/continuous . It is an +# AppImage, best to use a directory bin under your home directory for all +# AppImages, because at log-in time this is put in the path if it exists. + + +( ./autogen.sh + ./configure --with-single-user --with-booby --enable-static-build + make && make install ) 2>&1 | tee log +mv Makefile Makefile.cfg +cp Makefile.devel Makefile + +mkdir AppDir # create lowest level +mkdir AppDir/usr + +cp -r bin AppDir/usr/ # copy whole of bin directory + +# We need to specify all executables, so linuxdeploy can pick up dependencies. +# Any executable code in other places in not picked up (yet). +linuxdeploy-x86_64.AppImage --appdir=AppDir -o appimage -d image/cin.desktop -i image/cin.svg -e bin/cin -e bin/mpeg2enc -e bin/mplex -e bin/hveg2enc -e bin/lv2ui -e bin/bdwrite -e bin/zmpeg3toc -e bin/zmpeg3show -e bin/zmpeg3cat -e bin/zmpeg3ifochk -e bin/zmpeg3cc2txt -e bin/mplexlo 2>&1 | tee appimage.log + +# There is now an appimage in the cinelerra-5.1 directory.