From 4f2739a0fe282f972c316f664c127b3c2b98bc0e Mon Sep 17 00:00:00 2001 From: Paulchen-Panther <16664240+Paulchen-Panther@users.noreply.github.com> Date: Mon, 29 Jul 2024 21:37:24 +0200 Subject: [PATCH] Consideration of the new t64 packages (time_t/y2k38) --- debian/rules | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/debian/rules b/debian/rules index 3bf2467..fcb4b1c 100644 --- a/debian/rules +++ b/debian/rules @@ -9,8 +9,8 @@ TARGET := debian/tmp REQUIRED_DEPS := libusb libasound libmbedtls libturbojpeg libcec # get qt version and set qt deps depending on version -QT6_PACKAGE_VERSION := $(shell dpkg-query -W -f '$${Version}' libqt6widgets6 2>/dev/null || echo 0) -ifeq (ok,$(shell dpkg --compare-versions $(QT6_PACKAGE_VERSION) ge 6.0 && echo ok)) +QT6_PACKAGE_VERSION := $(shell dpkg-query -W -f '$${Version}' libqt6widgets6* 2>/dev/null || echo 0) +ifeq (ok,$(shell dpkg --compare-versions "$(QT6_PACKAGE_VERSION)" "ge" "6.0" && echo ok)) QT_DEPS := qt6-qpa-plugins,libqt6network6,libqt6widgets6,libqt6sql6,libqt6serialport6,libqt6sql6-sqlite, else QT_DEPS := libqt5network5,libqt5widgets5,libqt5x11extras5,libqt5sql5,libqt5serialport5,libqt5sql5-sqlite,