From 8e2238ccce83623c575446f11a84cc2712cdd225 Mon Sep 17 00:00:00 2001 From: Bernd Kuhls Date: Sat, 30 May 2026 17:57:14 +0200 Subject: [PATCH] package/stellarium: fix qt5serialport dependency qt5serialport is only needed when GPS support is enabled: https://github.com/Stellarium/stellarium/blob/v25.4/CMakeLists.txt#L623, so having qt5serialport without gpsd doesn't bring anything. Please note that we disable telescope support by default so only gpsd enables the usage of qt5serialport. Signed-off-by: Bernd Kuhls Signed-off-by: Thomas Petazzoni --- package/stellarium/stellarium.mk | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/package/stellarium/stellarium.mk b/package/stellarium/stellarium.mk index 660d518860..48dadfec61 100644 --- a/package/stellarium/stellarium.mk +++ b/package/stellarium/stellarium.mk @@ -32,11 +32,8 @@ else STELLARIUM_CONF_OPTS += -DENABLE_SCRIPTING=OFF endif -ifeq ($(BR2_PACKAGE_QT5SERIALPORT),y) -STELLARIUM_DEPENDENCIES += qt5serialport -ifeq ($(BR2_PACKAGE_GPSD),y) -STELLARIUM_DEPENDENCIES += gpsd -endif +ifeq ($(BR2_PACKAGE_GPSD)$(BR2_PACKAGE_QT5SERIALPORT),yy) +STELLARIUM_DEPENDENCIES += gpsd qt5serialport STELLARIUM_CONF_OPTS += -DENABLE_GPS=ON else STELLARIUM_CONF_OPTS += -DENABLE_GPS=OFF