From d95287cdf112d36fe1087ac8a35a1d194069dd4e Mon Sep 17 00:00:00 2001 From: Raphael <68374617+raphaelscholle@users.noreply.github.com> Date: Wed, 27 Sep 2023 21:56:33 +0200 Subject: [PATCH] Update package.sh --- package.sh | 22 ---------------------- 1 file changed, 22 deletions(-) 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