2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL"). You may
4 # only use this file in accordance with the terms of the CDDL.
6 # A full copy of the text of the CDDL should have accompanied this
7 # source. A copy of the CDDL is also available via the Internet at
8 # http://www.illumos.org/license/CDDL.
12 # Copyright 2022 Jake Goerzen
13 # Copyright 2023 Andreas Wacknitz
17 USE_PARALLEL_BUILD
= yes
18 include ..
/..
/..
/make-rules
/shared-macros.mk
20 COMPONENT_NAME
= stellarium
21 COMPONENT_VERSION
= 24.3
23 COMPONENT_SUMMARY
= Planetarium with realistic
3D sky just like seeing with naked eye
, binoculars or telescope.
24 COMPONENT_PROJECT_URL
= https
://stellarium.org
25 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
26 COMPONENT_ARCHIVE
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
).
tar.xz
27 COMPONENT_ARCHIVE_HASH
= sha256
:03dad30f4031bdc2d200146e7c587249ea75dbdb88c8ae13632829aac5540b08
28 COMPONENT_ARCHIVE_URL
= https
://github.com
/Stellarium
/stellarium
/releases
/download
/v
$(COMPONENT_VERSION
)/$(COMPONENT_ARCHIVE
)
29 COMPONENT_FMRI
= image
/stellarium
30 COMPONENT_CLASSIFICATION
= Applications
/Graphics and Imaging
31 COMPONENT_LICENSE
= GPLv2.0
32 COMPONENT_LICENSE_FILE
= COPYING
34 TEST_TARGET
= $(NO_TESTS
)
35 include $(WS_MAKE_RULES
)/common.mk
39 LDFLAGS
+= -lsocket
-lnsl
40 LD_OPTIONS
+= -L
$(QT5_LIBDIR
) -R
$(QT5_LIBDIR
)
42 CMAKE_OPTIONS
+= -DENABLE_GPS
=ON
43 CMAKE_OPTIONS
+= -DENABLE_SHOWMYSKY
=ON
44 CMAKE_OPTIONS
+= -DENABLE_SCRIPTS
=ON
45 CMAKE_OPTIONS
+= -DENABLE_MULTIMEDIA
=ON
46 CMAKE_OPTIONS
+= -DENABLE_TELESCOPE
=ON
47 CMAKE_OPTIONS
+= -DQt5_DIR
=$(QT5_LIBDIR
)/cmake
/Qt5
/
48 CMAKE_OPTIONS
+= -DQt5Charts_DIR
=$(QT5_LIBDIR
)/cmake
/Qt5Charts
49 CMAKE_OPTIONS
+= -DQt5Concurrent_DIR
=$(QT5_LIBDIR
)/cmake
/Qt5Concurrent
50 CMAKE_OPTIONS
+= -DQt5Core_DIR
=$(QT5_LIBDIR
)/cmake
/Qt5Core
51 CMAKE_OPTIONS
+= -DQt5Gui_DIR
=$(QT5_LIBDIR
)/cmake
/Qt5Gui
52 CMAKE_OPTIONS
+= -DQt5LinguistTools_DIR
=$(QT5_LIBDIR
)/cmake
/Qt5LinguistTools
53 CMAKE_OPTIONS
+= -DQt5MultimediaWidgets_DIR
=$(QT5_LIBDIR
)/cmake
/Qt5MultimediaWidgets
54 CMAKE_OPTIONS
+= -DQt5Multimedia_DIR
=$(QT5_LIBDIR
)/cmake
/Qt5Multimedia
55 CMAKE_OPTIONS
+= -DQt5Network_DIR
=$(QT5_LIBDIR
)/cmake
/Qt5Network
56 CMAKE_OPTIONS
+= -DQt5OpenGL_DIR
=$(QT5_LIBDIR
)/cmake
/Qt5OpenGL
57 CMAKE_OPTIONS
+= -DQt5Positioning_DIR
=$(QT5_LIBDIR
)/cmake
/Qt5Positioning
58 CMAKE_OPTIONS
+= -DQt5PrintSupport_DIR
=$(QT5_LIBDIR
)/cmake
/Qt5PrintSupport
59 CMAKE_OPTIONS
+= -DQt5Script_DIR
=$(QT5_LIBDIR
)/cmake
/Qt5Script
60 CMAKE_OPTIONS
+= -DQt5SerialPort_DIR
=$(QT5_LIBDIR
)/cmake
/Qt5SerialPort
61 CMAKE_OPTIONS
+= -DQt5Widgets_DIR
=$(QT5_LIBDIR
)/cmake
/Qt5Widgets
62 CMAKE_OPTIONS
+= -DUSE_PLUGIN_CALENDARS
=OFF
63 CMAKE_OPTIONS
+= -DGETTEXT_MSGMERGE_EXECUTABLE
=/usr
/bin
/gmsgmerge
64 CMAKE_OPTIONS
+= -DGETTEXT_MSGFMT_EXECUTABLE
=/usr
/bin
/gmsgfmt
66 # Manually added dependencies
67 REQUIRED_PACKAGES
+= image
/calcmysky
69 # Auto-generated dependencies
70 REQUIRED_PACKAGES
+= $(GCC_RUNTIME_PKG
)
71 REQUIRED_PACKAGES
+= $(GXX_RUNTIME_PKG
)
72 REQUIRED_PACKAGES
+= image
/library
/exiv2
73 REQUIRED_PACKAGES
+= library
/qt5
74 REQUIRED_PACKAGES
+= library
/zlib
75 REQUIRED_PACKAGES
+= system
/library
76 REQUIRED_PACKAGES
+= system
/library
/math