aboutsummaryrefslogtreecommitdiffstats
path: root/appimage/docker/build-appimage.sh
diff options
context:
space:
mode:
authorIngo Klöcker <[email protected]>2021-09-15 10:01:57 +0000
committerIngo Klöcker <[email protected]>2021-09-15 10:03:23 +0000
commite43ff7868ff25c5f01e436931417a2ccd51e7837 (patch)
tree73f7e8f464b8ad707437d671dce2e2a968e8031a /appimage/docker/build-appimage.sh
parentappimage: Add experimental scripts for building an AppImage of gpg (diff)
downloadgnupg-ikloecker/t5598-appimage.tar.gz
gnupg-ikloecker/t5598-appimage.zip
appimage: Add a few hacks that are currently needed to build an AppImageikloecker/t5598-appimage
* Apply a patch to latest pinentry to make it build with Qt 5.9 * Copy appimage.desktop and speedo.mk with appimage support which are not yet available in gnupg (outside of the work branch) GnuPG-bug-id: 5598
Diffstat (limited to 'appimage/docker/build-appimage.sh')
-rw-r--r--appimage/docker/build-appimage.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/appimage/docker/build-appimage.sh b/appimage/docker/build-appimage.sh
index 0d3bde801..ef8fc9ff5 100644
--- a/appimage/docker/build-appimage.sh
+++ b/appimage/docker/build-appimage.sh
@@ -27,6 +27,13 @@ mkdir -p /build/AppDir
cd /src
source /opt/rh/devtoolset-7/enable
+# HACK disable "exit on error" for first make run because the released pinentry
+# doesn't build with Qt 5.9 on CentOS 7
+set +e
+make -f build-aux/speedo.mk INSTALL_PREFIX=/build/AppDir/usr CUSTOM_SWDB=1 appimage
+set -e
+# HACK patch pinentry and run make a second time
+(cd PLAY/src/pinentry; patch -p1 <../../../0001-qt-Support-building-with-Qt-5.9.patch)
make -f build-aux/speedo.mk INSTALL_PREFIX=/build/AppDir/usr CUSTOM_SWDB=1 appimage
mkdir -p /build/download