kumquat-buildroot/package/stellarium/stellarium.mk
Bernd Kuhls 2616272339 package/stellarium: disable ShowMySky atmosphere model
Buildroot commit 319c56dfe3 bumped
stellarium which included these commits
b3f02beaec
5d5edd0e5f

It downloads external packages during the build:

$ find output/build/stellarium-23.2/ -iname *.tar.*
output/build/stellarium-23.2/_deps/eigen3-subbuild/eigen3-populate-prefix/src/eigen-3.4.0.tar.bz2
output/build/stellarium-23.2/_deps/showmysky-qt5-subbuild/showmysky-qt5-populate-prefix/src/v0.3.1.tar.gz

which breaks offline builds.

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2023-08-06 13:46:48 +02:00

46 lines
1.2 KiB
Makefile

################################################################################
#
# stellarium
#
################################################################################
STELLARIUM_VERSION = 23.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_SHOWMYSKY=OFF \
-DENABLE_QTWEBENGINE=OFF \
-DENABLE_QT6=OFF \
-DENABLE_XLSX=OFF \
-DUSE_PLUGIN_TELESCOPECONTROL=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
else
STELLARIUM_CONF_OPTS += -DENABLE_GPS=OFF
endif
$(eval $(cmake-package))