2019-08-06 07:04:45 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# stellarium
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2020-01-04 21:48:36 +01:00
|
|
|
STELLARIUM_VERSION = 0.19.3
|
2019-08-06 07:04:45 +02:00
|
|
|
STELLARIUM_SITE = https://github.com/Stellarium/stellarium/releases/download/v$(STELLARIUM_VERSION)
|
|
|
|
STELLARIUM_LICENSE = GPL-2.0+
|
|
|
|
STELLARIUM_LICENSE_FILES = COPYING
|
|
|
|
STELLARIUM_DEPENDENCIES = \
|
|
|
|
qt5base \
|
|
|
|
qt5location \
|
|
|
|
qt5multimedia \
|
|
|
|
zlib
|
|
|
|
STELLARIUM_CONF_OPTS = \
|
|
|
|
-DENABLE_MEDIA=ON \
|
|
|
|
-DENABLE_NLS=OFF \
|
|
|
|
-DUSE_SYSTEM_ZLIB=ON
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_QT5SCRIPT),y)
|
|
|
|
STELLARIUM_DEPENDENCIES += qt5script
|
|
|
|
STELLARIUM_CONF_OPTS += -DENABLE_SCRIPTING=ON
|
|
|
|
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
|
2019-08-15 23:11:39 +02:00
|
|
|
STELLARIUM_CONF_OPTS += \
|
|
|
|
-DENABLE_GPS=ON \
|
|
|
|
-DUSE_PLUGIN_TELESCOPECONTROL=ON
|
2019-08-06 07:04:45 +02:00
|
|
|
else
|
2019-08-15 23:11:39 +02:00
|
|
|
STELLARIUM_CONF_OPTS += \
|
|
|
|
-DENABLE_GPS=OFF \
|
|
|
|
-DUSE_PLUGIN_TELESCOPECONTROL=OFF
|
2019-08-06 07:04:45 +02:00
|
|
|
endif
|
|
|
|
|
|
|
|
$(eval $(cmake-package))
|