mirror of
https://github.com/pdf2htmlEX/pdf2htmlEX.git
synced 2024-12-22 13:00:08 +00:00
corrected build scripts
This commit is contained in:
parent
1bf3eadbdc
commit
c5ab4f4f9e
@ -4,19 +4,19 @@
|
|||||||
|
|
||||||
source buildScripts/versionEnvs
|
source buildScripts/versionEnvs
|
||||||
|
|
||||||
mkdir -p imageBuild/pdf2htmlEX.AppDir/usr/lib/
|
mkdir -p imageBuild/appDir/usr/lib/
|
||||||
|
|
||||||
cd pdf2htmlEX/build
|
cd pdf2htmlEX/build
|
||||||
|
|
||||||
sudo rm -rf install_manifest.txt
|
sudo rm -rf install_manifest.txt
|
||||||
|
|
||||||
make install DESTDIR=../../imageBuild/pdf2htmlEX.AppDir
|
make install DESTDIR=../../imageBuild/appDir
|
||||||
|
|
||||||
cd ../../imageBuild
|
cd ../../imageBuild
|
||||||
|
|
||||||
# force libfontconfig into AppImage (linuxdeploy blacklists libfontconfig)
|
# force libfontconfig into AppImage (linuxdeploy blacklists libfontconfig)
|
||||||
#
|
#
|
||||||
cp /usr/lib/x86_64-linux-gnu/libfontconfig.so.1 pdf2htmlEX.AppDir/usr/lib/
|
cp /usr/lib/x86_64-linux-gnu/libfontconfig.so.1 appDir/usr/lib/
|
||||||
|
|
||||||
LINUX_DEPLOY_APP_IMAGE=linuxdeploy-$MACHINE_ARCH.AppImage
|
LINUX_DEPLOY_APP_IMAGE=linuxdeploy-$MACHINE_ARCH.AppImage
|
||||||
|
|
||||||
@ -24,11 +24,11 @@ wget https://github.com/linuxdeploy/linuxdeploy/releases/download/continuous/$LI
|
|||||||
|
|
||||||
chmod a+x $LINUX_DEPLOY_APP_IMAGE
|
chmod a+x $LINUX_DEPLOY_APP_IMAGE
|
||||||
|
|
||||||
./$LINUX_DEPLOY_APP_IMAGE \
|
./$LINUX_DEPLOY_APP_IMAGE \
|
||||||
-e pdf2htmlEX.AppDir/usr/bin/pdf2htmlEX \
|
-e appDir/usr/bin/pdf2htmlEX \
|
||||||
--create-desktop-file \
|
--create-desktop-file \
|
||||||
-i ../pdf2htmlEX/logo/pdf2htmlEX.svg \
|
-i ../pdf2htmlEX/logo/pdf2htmlEX.svg \
|
||||||
--appdir=pdf2htmlEX.AppDir \
|
--appdir=appDir \
|
||||||
--output appimage
|
--output appimage
|
||||||
|
|
||||||
mv pdf2htmlEX-$MACHINE_ARCH.AppImage \
|
mv pdf2htmlEX-$MACHINE_ARCH.AppImage \
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
|
|
||||||
export MAKE_PARALLEL=-j `nproc`
|
export MAKE_PARALLEL="-j `nproc`"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user