config BR2_PACKAGE_STELLARIUM
	bool "stellarium"
	depends on BR2_PACKAGE_QT5 || BR2_PACKAGE_QT6
	depends on BR2_PACKAGE_QT5_GL_AVAILABLE || BR2_PACKAGE_QT6_GL_SUPPORTS
	depends on BR2_PACKAGE_HAS_LIBGL # does not support OpenGL ES
	select BR2_PACKAGE_QT5BASE_CONCURRENT if BR2_PACKAGE_QT5
	select BR2_PACKAGE_QT5BASE_GUI if BR2_PACKAGE_QT5
	select BR2_PACKAGE_QT5BASE_NETWORK if BR2_PACKAGE_QT5
	select BR2_PACKAGE_QT5BASE_OPENGL if BR2_PACKAGE_QT5
	select BR2_PACKAGE_QT5BASE_PRINTSUPPORT if BR2_PACKAGE_QT5
	select BR2_PACKAGE_QT5BASE_WIDGETS if BR2_PACKAGE_QT5
	select BR2_PACKAGE_QT5CHARTS if BR2_PACKAGE_QT5
	select BR2_PACKAGE_QT5LOCATION if BR2_PACKAGE_QT5
	select BR2_PACKAGE_QT5MULTIMEDIA if BR2_PACKAGE_QT5
	select BR2_PACKAGE_QT5SVG if BR2_PACKAGE_QT5
	select BR2_PACKAGE_QT6BASE_CONCURRENT if BR2_PACKAGE_QT6
	select BR2_PACKAGE_QT6BASE_GUI if BR2_PACKAGE_QT6
	select BR2_PACKAGE_QT6BASE_NETWORK if BR2_PACKAGE_QT6
	select BR2_PACKAGE_QT6BASE_OPENGL if BR2_PACKAGE_QT6
	select BR2_PACKAGE_QT6BASE_PRINTSUPPORT if BR2_PACKAGE_QT6
	select BR2_PACKAGE_QT6BASE_WIDGETS if BR2_PACKAGE_QT6
	select BR2_PACKAGE_QT6CHARTS if BR2_PACKAGE_QT6
	select BR2_PACKAGE_QT6MULTIMEDIA if BR2_PACKAGE_QT6
	select BR2_PACKAGE_QT6POSITIONING if BR2_PACKAGE_QT6
	select BR2_PACKAGE_QT6SVG if BR2_PACKAGE_QT6
	select BR2_PACKAGE_ZLIB
	help
	  Stellarium is a free open source planetarium for your
	  computer. It shows a realistic sky in 3D, just like what
	  you see with the naked eye, binoculars or a telescope.

	  https://stellarium.org

comment "stellarium needs Qt5/6 and an OpenGL provider"
	depends on (!BR2_PACKAGE_QT5 && !BR2_PACKAGE_QT6) || !BR2_PACKAGE_HAS_LIBGL
