Skip to content

Commit

Permalink
Update package.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
raphaelscholle committed Sep 27, 2023
1 parent adda38c commit d95287c
Showing 1 changed file with 0 additions and 22 deletions.
22 changes: 0 additions & 22 deletions package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d95287c

Please sign in to comment.