af457e6da3
Release notes:
http://stellarium.org/release/2022/03/27/stellarium-0.22.0.html
Added upstream patch to fix build error.
Added dependency to qt5charts following upstream commit:
5b8fece8d0 (diff-1e7de1ae2d059d21e1dd75d5812d5a34b0222cef273b7c3a2af62eb747f9d20aR487)
Added configure option to disable qt5webengine support, the package is
broken: https://bugs.busybox.net/show_bug.cgi?id=14681
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
45 lines
1.1 KiB
Makefile
45 lines
1.1 KiB
Makefile
################################################################################
|
|
#
|
|
# stellarium
|
|
#
|
|
################################################################################
|
|
|
|
STELLARIUM_VERSION = 0.22.0
|
|
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 \
|
|
-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))
|