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 Daniel Chan
16 include ..
/..
/..
/make-rules
/shared-macros.mk
18 COMPONENT_NAME
= extra-cmake-modules
19 COMPONENT_VERSION
= 5.116.0
20 COMPONENT_SUMMARY
= KDE extra modules and scripts for CMake
21 COMPONENT_PROJECT_URL
= https
://kde.org
/
22 COMPONENT_SRC
= $(COMPONENT_NAME
)-v
$(COMPONENT_VERSION
)
23 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.gz
24 COMPONENT_ARCHIVE_URL
= https
://invent.kde.org
/frameworks
/$(COMPONENT_NAME
)/-/archive
/v
$(COMPONENT_VERSION
)/$(COMPONENT_ARCHIVE
)
25 COMPONENT_ARCHIVE_HASH
= sha256
:310f40f5a264b536c8d8ab53803b2f4ae05b5eeba9456ca267b9e7e0ee7d4dd1
26 COMPONENT_FMRI
= developer
/kde
/$(COMPONENT_NAME
)
27 COMPONENT_CLASSIFICATION
= Development
/Other Languages
28 COMPONENT_LICENSE
= BSD
2-Clause
, BSD
3-Clause
, CC0v1
, MIT
30 TEST_TARGET
= $(NO_TESTS
)
31 include $(WS_MAKE_RULES
)/common.mk
33 PATH
= $(PATH.illumos
):$(QT5_BINDIR
)
35 CMAKE_OPTIONS
+= -DCMAKE_BUILD_TYPE
=Release
36 CMAKE_OPTIONS
+= -DCMAKE_INSTALL_PREFIX
=$(USRDIR
)
37 CMAKE_OPTIONS
+= -DBUILD_TESTING
=OFF
38 CMAKE_OPTIONS
+= -DBUILD_QTHELP_DOCS
=ON
39 CMAKE_OPTIONS
+= -DCMAKE_INSTALL_RPATH
=$(QT5_LIBDIR
)
40 CMAKE_OPTIONS
+= -DCMAKE_LIBRARY_PATH
=$(QT5_LIBDIR
)
42 # Manually added build dependencies
43 PYTHON_REQUIRED_PACKAGES
+= library
/python
/sphinx
44 REQUIRED_PACKAGES
+= library
/qt5
46 # Auto-generated dependencies