diff --git a/littlenavmap.pro b/littlenavmap.pro index 7c8ed0c6..31590e2c 100644 --- a/littlenavmap.pro +++ b/littlenavmap.pro @@ -777,18 +777,6 @@ OTHER_FILES += \ # Linux - Copy help and Marble plugins and data unix:!macx { copydata.commands = mkdir -p $$OUT_PWD/plugins && - copydata.commands += cp -avfu \ - $$MARBLE_LIB_PATH/marble/plugins/libCachePlugin.so \ - $$MARBLE_LIB_PATH/marble/plugins/libAtmospherePlugin.so \ - $$MARBLE_LIB_PATH/marble/plugins/libCompassFloatItem.so \ - $$MARBLE_LIB_PATH/marble/plugins/libGraticulePlugin.so \ - $$MARBLE_LIB_PATH/marble/plugins/libKmlPlugin.so \ - $$MARBLE_LIB_PATH/marble/plugins/libLatLonPlugin.so \ - $$MARBLE_LIB_PATH/marble/plugins/libPn2Plugin.so \ - $$MARBLE_LIB_PATH/marble/plugins/libMapScaleFloatItem.so \ - $$MARBLE_LIB_PATH/marble/plugins/libNavigationFloatItem.so \ - $$MARBLE_LIB_PATH/marble/plugins/libOverviewMap.so \ - $$OUT_PWD/plugins && copydata.commands += mkdir -p $$OUT_PWD/translations && copydata.commands += cp -avfu $$PWD/*.qm $$OUT_PWD/translations && copydata.commands += cp -avfu $$ATOOLS_INC_PATH/../*.qm $$OUT_PWD/translations && @@ -796,8 +784,7 @@ unix:!macx { copydata.commands += cp -avfu $$PWD/web $$OUT_PWD && copydata.commands += cp -avfu $$PWD/customize $$OUT_PWD && copydata.commands += cp -avfu $$PWD/marble/data $$OUT_PWD && - copydata.commands += cp -vf $$PWD/desktop/littlenavmap*.sh $$OUT_PWD && - copydata.commands += chmod -v a+x $$OUT_PWD/littlenavmap*.sh + copydata.commands += true } # Mac OS X - Copy help and Marble plugins and data @@ -820,73 +807,20 @@ unix:!macx { deploy.commands += rm -Rfv $$DEPLOY_DIR && deploy.commands += mkdir -pv $$DEPLOY_DIR/translations && - deploy.commands += mkdir -pv $$DEPLOY_DIR_LIB && - deploy.commands += mkdir -pv $$DEPLOY_DIR_LIB/iconengines && - deploy.commands += mkdir -pv $$DEPLOY_DIR_LIB/imageformats && - deploy.commands += mkdir -pv $$DEPLOY_DIR_LIB/platforms && - deploy.commands += mkdir -pv $$DEPLOY_DIR_LIB/platformthemes && - deploy.commands += mkdir -pv $$DEPLOY_DIR_LIB/printsupport && - deploy.commands += mkdir -pv $$DEPLOY_DIR_LIB/sqldrivers && deploy.commands += echo $$VERSION_NUMBER > $$DEPLOY_DIR/version.txt && - deploy.commands += echo $$GIT_REVISION_FULL > $$DEPLOY_DIR/revision.txt && - deploy.commands += cp -Rvf $$MARBLE_LIB_PATH/*.so* $$DEPLOY_DIR_LIB && - deploy.commands += patchelf --set-rpath \'\$\$ORIGIN/.\' $$DEPLOY_DIR_LIB/libmarblewidget-qt5.so* && - deploy.commands += patchelf --set-rpath \'\$\$ORIGIN/.\' $$DEPLOY_DIR_LIB/libastro.so* && - deploy.commands += cp -Rvf $$OUT_PWD/plugins $$DEPLOY_DIR && deploy.commands += cp -Rvf $$OUT_PWD/data $$DEPLOY_DIR && deploy.commands += cp -Rvf $$OUT_PWD/help $$DEPLOY_DIR && deploy.commands += cp -Rvf $$OUT_PWD/web $$DEPLOY_DIR && deploy.commands += cp -Rvf $$OUT_PWD/customize $$DEPLOY_DIR && deploy.commands += cp -Rvf $$OUT_PWD/littlenavmap $$DEPLOY_DIR && - deploy.commands += cp -vfa $$[QT_INSTALL_TRANSLATIONS]/qt_??.qm $$DEPLOY_DIR/translations && - deploy.commands += cp -vfa $$[QT_INSTALL_TRANSLATIONS]/qt_??_??.qm $$DEPLOY_DIR/translations && - deploy.commands += cp -vfa $$[QT_INSTALL_TRANSLATIONS]/qtbase*.qm $$DEPLOY_DIR/translations && deploy.commands += cp -Rvf $$OUT_PWD/translations $$DEPLOY_DIR && exists($$DATABASE_BASE) : deploy.commands += cp -Rvf $$DATABASE_BASE $$DEPLOY_DIR && exists($$HELP_BASE) : deploy.commands += cp -Rvf $$HELP_BASE/* $$DEPLOY_DIR/help && - deploy.commands += cp -vf $$PWD/desktop/\"Little Navmap Portable Linux.sh\" $$DEPLOY_DIR/\"Little Navmap Portable.sh\" && - deploy.commands += cp -vf $$PWD/desktop/linux-qt.conf $$DEPLOY_DIR/qt.conf && deploy.commands += cp -vf $$PWD/CHANGELOG.txt $$DEPLOY_DIR && deploy.commands += cp -vf $$PWD/README.txt $$DEPLOY_DIR && deploy.commands += cp -vf $$PWD/LICENSE.txt $$DEPLOY_DIR && deploy.commands += cp -vf $$PWD/resources/icons/littlenavmap.svg $$DEPLOY_DIR && - deploy.commands += cp -vf \"$$PWD/desktop/Little Navmap.desktop\" $$DEPLOY_DIR && - exists(/usr/lib/x86_64-linux-gnu/libssl.so.1.1) : deploy.commands += cp -vfaL /usr/lib/x86_64-linux-gnu/libssl.so.1.1 $$DEPLOY_DIR_LIB && - exists(/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1) : deploy.commands += cp -vfaL /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 $$DEPLOY_DIR_LIB && - deploy.commands += cp -vfa $$[QT_INSTALL_PLUGINS]/iconengines/libqsvgicon.so* $$DEPLOY_DIR_LIB/iconengines && - deploy.commands += cp -vfa $$[QT_INSTALL_PLUGINS]/imageformats/libqgif.so* $$DEPLOY_DIR_LIB/imageformats && - deploy.commands += cp -vfa $$[QT_INSTALL_PLUGINS]/imageformats/libqjpeg.so* $$DEPLOY_DIR_LIB/imageformats && - deploy.commands += cp -vfa $$[QT_INSTALL_PLUGINS]/imageformats/libqsvg.so* $$DEPLOY_DIR_LIB/imageformats && - deploy.commands += cp -vfa $$[QT_INSTALL_PLUGINS]/imageformats/libqwbmp.so* $$DEPLOY_DIR_LIB/imageformats && - deploy.commands += cp -vfa $$[QT_INSTALL_PLUGINS]/imageformats/libqwebp.so* $$DEPLOY_DIR_LIB/imageformats && - deploy.commands += cp -vfa $$[QT_INSTALL_PLUGINS]/platforms/libqeglfs.so* $$DEPLOY_DIR_LIB/platforms && - deploy.commands += cp -vfa $$[QT_INSTALL_PLUGINS]/platforms/libqlinuxfb.so* $$DEPLOY_DIR_LIB/platforms && - deploy.commands += cp -vfa $$[QT_INSTALL_PLUGINS]/platforms/libqminimal.so* $$DEPLOY_DIR_LIB/platforms && - deploy.commands += cp -vfa $$[QT_INSTALL_PLUGINS]/platforms/libqminimalegl.so* $$DEPLOY_DIR_LIB/platforms && - deploy.commands += cp -vfa $$[QT_INSTALL_PLUGINS]/platforms/libqoffscreen.so* $$DEPLOY_DIR_LIB/platforms && - deploy.commands += cp -vfa $$[QT_INSTALL_PLUGINS]/platforms/libqxcb.so* $$DEPLOY_DIR_LIB/platforms && - deploy.commands += cp -vfa $$[QT_INSTALL_PLUGINS]/platformthemes/libqgtk*.so* $$DEPLOY_DIR_LIB/platformthemes && - deploy.commands += cp -vfa $$[QT_INSTALL_PLUGINS]/printsupport/libcupsprintersupport.so* $$DEPLOY_DIR_LIB/printsupport && - deploy.commands += cp -vfa $$[QT_INSTALL_PLUGINS]/sqldrivers/libqsqlite.so* $$DEPLOY_DIR_LIB/sqldrivers && - deploy.commands += cp -vfa $$[QT_INSTALL_LIBS]/libicudata.so* $$DEPLOY_DIR_LIB && - deploy.commands += cp -vfa $$[QT_INSTALL_LIBS]/libicui18n.so* $$DEPLOY_DIR_LIB && - deploy.commands += cp -vfa $$[QT_INSTALL_LIBS]/libicuuc.so* $$DEPLOY_DIR_LIB && - deploy.commands += cp -vfa $$[QT_INSTALL_LIBS]/libQt5Concurrent.so* $$DEPLOY_DIR_LIB && - deploy.commands += cp -vfa $$[QT_INSTALL_LIBS]/libQt5Core.so* $$DEPLOY_DIR_LIB && - deploy.commands += cp -vfa $$[QT_INSTALL_LIBS]/libQt5DBus.so* $$DEPLOY_DIR_LIB && - deploy.commands += cp -vfa $$[QT_INSTALL_LIBS]/libQt5Gui.so* $$DEPLOY_DIR_LIB && - deploy.commands += cp -vfa $$[QT_INSTALL_LIBS]/libQt5Network.so* $$DEPLOY_DIR_LIB && - deploy.commands += cp -vfa $$[QT_INSTALL_LIBS]/libQt5PrintSupport.so* $$DEPLOY_DIR_LIB && - deploy.commands += cp -vfa $$[QT_INSTALL_LIBS]/libQt5Qml.so* $$DEPLOY_DIR_LIB && - deploy.commands += cp -vfa $$[QT_INSTALL_LIBS]/libQt5Quick.so* $$DEPLOY_DIR_LIB && - deploy.commands += cp -vfa $$[QT_INSTALL_LIBS]/libQt5Sql.so* $$DEPLOY_DIR_LIB && - deploy.commands += cp -vfa $$[QT_INSTALL_LIBS]/libQt5Svg.so* $$DEPLOY_DIR_LIB && - deploy.commands += cp -vfa $$[QT_INSTALL_LIBS]/libQt5Widgets.so* $$DEPLOY_DIR_LIB && - deploy.commands += cp -vfa $$[QT_INSTALL_LIBS]/libQt5X11Extras.so* $$DEPLOY_DIR_LIB && - deploy.commands += cp -vfa $$[QT_INSTALL_LIBS]/libQt5XcbQpa.so* $$DEPLOY_DIR_LIB && - deploy.commands += cp -vfa $$[QT_INSTALL_LIBS]/libQt5QmlModels.so* $$DEPLOY_DIR_LIB && - deploy.commands += cp -vfa $$[QT_INSTALL_LIBS]/libQt5Xml.so* $$DEPLOY_DIR_LIB && - deploy.commands += rm -fv $$DEPLOY_DIR_LIB/lib*.so.*.debug $$DEPLOY_DIR_LIB/*/lib*.so.*.debug + deploy.commands += true } # Mac specific deploy target