319c56dfe3
Add patch to fix build error. Removed sha1 hash. Add configure option to disable searching for qt6 as of now due to incomplete implementation of qt6 modules, like gui, in buildroot. Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
47 lines
1.1 KiB
Makefile
47 lines
1.1 KiB
Makefile
################################################################################
|
|
#
|
|
# stellarium
|
|
#
|
|
################################################################################
|
|
|
|
STELLARIUM_VERSION = 1.2
|
|
STELLARIUM_SOURCE = stellarium-$(STELLARIUM_VERSION).tar.xz
|
|
STELLARIUM_SITE = https://github.com/Stellarium/stellarium/releases/download/v$(STELLARIUM_VERSION)
|
|
STELLARIUM_LICENSE = GPL-2.0+
|
|
STELLARIUM_LICENSE_FILES = COPYING
|
|
STELLARIUM_DEPENDENCIES = \
|
|
qt5base \
|
|
qt5charts \
|
|
qt5location \
|
|
qt5multimedia \
|
|
zlib
|
|
STELLARIUM_CONF_OPTS = \
|
|
-DENABLE_MEDIA=ON \
|
|
-DENABLE_NLS=OFF \
|
|
-DENABLE_QTWEBENGINE=OFF \
|
|
-DENABLE_QT6=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
|
|
STELLARIUM_CONF_OPTS += \
|
|
-DENABLE_GPS=ON \
|
|
-DUSE_PLUGIN_TELESCOPECONTROL=ON
|
|
else
|
|
STELLARIUM_CONF_OPTS += \
|
|
-DENABLE_GPS=OFF \
|
|
-DUSE_PLUGIN_TELESCOPECONTROL=OFF
|
|
endif
|
|
|
|
$(eval $(cmake-package))
|