[Buildroot] [git commit] package/stellarium: fix build without qt5serialport
Thomas Petazzoni
thomas.petazzoni at bootlin.com
Thu Aug 15 21:17:41 UTC 2019
commit: https://git.buildroot.net/buildroot/commit/?id=d6189db665d4e005df375031e9be7f62ba4f1456
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Set USE_PLUGIN_TELESCOPECONTROL depending on qt5serialport availability
Fixes:
- http://autobuild.buildroot.org/results/01452113e984de0ddf177a513d20287c96ebe0a3
Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
---
package/stellarium/stellarium.mk | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/package/stellarium/stellarium.mk b/package/stellarium/stellarium.mk
index 779355520c..33fb65c18d 100644
--- a/package/stellarium/stellarium.mk
+++ b/package/stellarium/stellarium.mk
@@ -30,9 +30,13 @@ STELLARIUM_DEPENDENCIES += qt5serialport
ifeq ($(BR2_PACKAGE_GPSD),y)
STELLARIUM_DEPENDENCIES += gpsd
endif
-STELLARIUM_CONF_OPTS += -DENABLE_GPS=ON
+STELLARIUM_CONF_OPTS += \
+ -DENABLE_GPS=ON \
+ -DUSE_PLUGIN_TELESCOPECONTROL=ON
else
-STELLARIUM_CONF_OPTS += -DENABLE_GPS=OFF
+STELLARIUM_CONF_OPTS += \
+ -DENABLE_GPS=OFF \
+ -DUSE_PLUGIN_TELESCOPECONTROL=OFF
endif
$(eval $(cmake-package))
More information about the buildroot
mailing list