Commit 919fdcb4 authored by Valentin Platzgummer's avatar Valentin Platzgummer

Wima dependencies added to deploy/create_linux_appimage.sh and AppImage...

Wima dependencies added to deploy/create_linux_appimage.sh and AppImage created, src has still some bugs, AppImage not ready.
parent a0ede0e6
......@@ -213,7 +213,7 @@ LinuxBuild {
LinuxBuild {
# boost
INCLUDEPATH += -L/usr/include/boost
LIBS += -lboost_system
LIBS += -lboost_system # 1.65.1
# ssl
LIBS += -lssl
LIBS += -lcrypto
......
......@@ -34,6 +34,8 @@ echo "Output directory:" ${OUTPUT_DIR}
# These require at least GLIBC 2.14, which older distributions might not have.
# On the other hand, 2.14 is not that recent so maybe we can just live with it.
# Wima requirements: libortools.so (inside repo), libprotobuf.so (inside repo), libgeographic.so (must be installed).
APP=${QGC_CUSTOM_BINARY_NAME}
TMPDIR=`mktemp -d`
......@@ -63,6 +65,22 @@ mkdir libts
dpkg -x libts-0.0-0_1.0-11_amd64.deb libts
cp -L libts/usr/lib/x86_64-linux-gnu/libts-0.0.so.0 ${APPDIR}/usr/lib/x86_64-linux-gnu/
# copy libortools.so, etc...
cp -L ${QGC_SRC}/libs/or-tools-src-ubuntu/lib/* ${APPDIR}/usr/lib/x86_64-linux-gnu/
# copy libGeographic.so
cp -L /usr/lib/x86_64-linux-gnu/libGeographic.so ${APPDIR}/usr/lib/x86_64-linux-gnu/
# copy boost
cp -L /usr/lib/x86_64-linux-gnu/libboost_system.so.1.65.1 ${APPDIR}/usr/lib/x86_64-linux-gnu/
# copy libcrypto
cp -L /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 ${APPDIR}/usr/lib/x86_64-linux-gnu/
# copy libSDL2
cp -L /usr/lib/x86_64-linux-gnu/libSDL2-2.0.so.0 ${APPDIR}/usr/lib/x86_64-linux-gnu/
# copy QGroundControl release into appimage
rsync -av --exclude=*.cpp --exclude=*.h --exclude=*.o --exclude="CMake*" --exclude="*.cmake" ${QGC_RELEASE_DIR}/* ${APPDIR}/
rm -rf ${APPDIR}/package
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment