mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
appimage: Add a few hacks that are currently needed to build an 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
This commit is contained in:
parent
1e32524494
commit
e43ff7868f
4 changed files with 126 additions and 0 deletions
|
@ -52,6 +52,10 @@ RUN yum -y install \
|
|||
sqlite-devel \
|
||||
wget
|
||||
|
||||
# Install patch; this is needed for a temporary HACK
|
||||
RUN yum -y install \
|
||||
patch
|
||||
|
||||
COPY build-appimage.sh /
|
||||
|
||||
RUN chmod +x 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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue