diff --git a/package.sh b/package.sh index 363abaa8d..9ac39dae7 100755 --- a/package.sh +++ b/package.sh @@ -23,32 +23,10 @@ ls /opt VER2=$(git rev-parse --short HEAD) - -if [[ "${DISTRO}" == "bullseye" ]] || [[ "${DISTRO}" == "bionic" ]] ; then - QT_VERSION=Qt5.15.4 - echo "debug" - /opt/Qt5.15.4/bin/qmake - echo "build with qmake done" - make -j$(nproc)|| exit 1 - echo "build with make done" -elif [[ "${DISTRO}" == "jammy" ]] && [[ "${BUILD_TYPE}" = "debug" ]] ; then - QT_VERSION=Qt5.15.7 - touch /etc/ld.so.conf.d/qt.conf - sudo echo "/opt/Qt5.15.7/lib/" > /etc/ld.so.conf.d/qt.conf - sudo ldconfig - export PATH="$PATH:/opt/Qt5.15.7/bin/" - sudo ln -s /opt/Qt5.15.7/bin/qmake /usr/bin/qmake - qmake - echo "build with qmake done" - make -j2 || exit 1 - echo "build with make done" -else - echo "\ndebug\ndebug\ndebug\n" qmake echo "build with qmake done" make -j$(nproc)|| exit 1 echo "build with make done" -fi #Here are the dependencies depending on the platform if [[ "${DISTRO}" == "bullseye" ]] && [[ "${OS}" == "raspbian" ]] ; then