mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-10-01 06:21:56 -09:00
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 <bernd@kuhls.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
committed by
Thomas Petazzoni
parent
e139c36925
commit
8e2238ccce
@@ -32,11 +32,8 @@ else
|
|||||||
STELLARIUM_CONF_OPTS += -DENABLE_SCRIPTING=OFF
|
STELLARIUM_CONF_OPTS += -DENABLE_SCRIPTING=OFF
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_QT5SERIALPORT),y)
|
ifeq ($(BR2_PACKAGE_GPSD)$(BR2_PACKAGE_QT5SERIALPORT),yy)
|
||||||
STELLARIUM_DEPENDENCIES += qt5serialport
|
STELLARIUM_DEPENDENCIES += gpsd qt5serialport
|
||||||
ifeq ($(BR2_PACKAGE_GPSD),y)
|
|
||||||
STELLARIUM_DEPENDENCIES += gpsd
|
|
||||||
endif
|
|
||||||
STELLARIUM_CONF_OPTS += -DENABLE_GPS=ON
|
STELLARIUM_CONF_OPTS += -DENABLE_GPS=ON
|
||||||
else
|
else
|
||||||
STELLARIUM_CONF_OPTS += -DENABLE_GPS=OFF
|
STELLARIUM_CONF_OPTS += -DENABLE_GPS=OFF
|
||||||
|
|||||||
Reference in New Issue
Block a user