Skip to content

Commit

Permalink
Experimental AppImage build with Qt 5.11 and community version of WebKit
Browse files Browse the repository at this point in the history
  • Loading branch information
robert7 committed Jan 1, 2019
1 parent 187807d commit 0662001
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion development/build-with-docker-qt5x-webkit.sh
Original file line number Diff line number Diff line change
Expand Up @@ -54,13 +54,16 @@ fi
echo "EXPERIMENTAL build with qt >5.5 and community version of webkit https://github.com/annulen/webkit"
echo "(for now) rest of the commands should be entered manually in docker container console"

PROG=nixnote2
DESKTOP_FILE=appdir/usr/share/applications/${PROG}.desktop

time docker run \
--rm \
-v $PROJECTDIR/appdir:/opt/nixnote2/appdir \
-v $PROJECTDIR/docker-build-${BUILD_TYPE}:/opt/nixnote2/qmake-build-${BUILD_TYPE} \
-v $PROJECTDIR/docker-build-${BUILD_TYPE}-t:/opt/nixnote2/qmake-build-${BUILD_TYPE}-t \
-it ${DOCKERTAG} \
/bin/bash -c "cd /opt && wget https://github.com/robert7/nixnote2-packaging/releases/download/v2.1.2/qtwebkit-$NNQTVER-binaries.tgz && cd /opt/$NNQTVER && tar -xf /opt/qtwebkit-$NNQTVER-binaries.tgz && cd /opt/nixnote2 && git fetch && git checkout $PROJECTBRANCH && git pull && source /opt/qt5*/bin/qt*-env.sh && ./development/build-with-qmake.sh ${BUILD_TYPE} noclean /usr/lib/nixnote2/tidy && cd /opt/nixnote2 && unset QTDIR && unset QT_PLUGIN_PATH && unset QT_BASE_DIR && unset LD_LIBRARY_PATH && PROG=nixnote2 && DESKTOP_FILE=appdir/usr/share/applications/${PROG}.desktop && linuxdeployqt $DESKTOP_FILE -appimage && mv *.AppImage appdir && chmod -R a+rwx appdir"
/bin/bash -c "cd /opt && wget https://github.com/robert7/nixnote2-packaging/releases/download/v2.1.2/qtwebkit-$NNQTVER-binaries.tgz && cd /opt/$NNQTVER && tar -xf /opt/qtwebkit-$NNQTVER-binaries.tgz && cd /opt/nixnote2 && git fetch && git checkout $PROJECTBRANCH && git pull && source /opt/qt5*/bin/qt*-env.sh && ./development/build-with-qmake.sh ${BUILD_TYPE} noclean /usr/lib/nixnote2/tidy && cd /opt/nixnote2 && unset QTDIR && unset QT_PLUGIN_PATH && unset QT_BASE_DIR && unset LD_LIBRARY_PATH && linuxdeployqt $DESKTOP_FILE -appimage && mv *.AppImage appdir && chmod -R a+rwx appdir"

###################################################################################################################################
# manually run following commands in docker container console:
Expand Down

0 comments on commit 0662001

Please sign in to comment.