#
|
# This file and its contents are supplied under the terms of the
|
# Common Development and Distribution License ("CDDL)". You may
|
# only use this file in accordance with the terms of the CDDL.
|
#
|
# A full copy of the text of the CDDL should have accompanied this
|
# source. A copy of the CDDL is also available via the Internet at
|
# http://www.illumos.org/license/CDDL.
|
#
|
|
#
|
# Copyright 2022 Daniel Chan
|
#
|
|
BUILD_BITS= 64
|
BUILD_STYLE= cmake
|
include ../../../make-rules/shared-macros.mk
|
|
COMPONENT_NAME= extra-cmake-modules
|
COMPONENT_VERSION= 5.115.0
|
COMPONENT_SUMMARY= KDE extra modules and scripts for CMake
|
COMPONENT_PROJECT_URL= https://kde.org/
|
COMPONENT_SRC= $(COMPONENT_NAME)-v$(COMPONENT_VERSION)
|
COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
|
COMPONENT_ARCHIVE_URL= https://invent.kde.org/frameworks/$(COMPONENT_NAME)/-/archive/v$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)
|
COMPONENT_ARCHIVE_HASH= sha256:ea7ce1e75e6d4533b0cc5f2236dea9b1ade4fe18096409003a9bfc406b2d5434
|
COMPONENT_FMRI= developer/kde/$(COMPONENT_NAME)
|
COMPONENT_CLASSIFICATION= Development/Other Languages
|
COMPONENT_LICENSE= BSD 2-Clause, BSD 3-Clause, CC0v1, MIT
|
|
TEST_TARGET= $(NO_TESTS)
|
include $(WS_MAKE_RULES)/common.mk
|
|
PATH = $(PATH.illumos):$(QT5_BINDIR)
|
|
CMAKE_OPTIONS += -DCMAKE_BUILD_TYPE=Release
|
CMAKE_OPTIONS += -DCMAKE_INSTALL_PREFIX=$(USRDIR)
|
CMAKE_OPTIONS += -DBUILD_TESTING=OFF
|
CMAKE_OPTIONS += -DBUILD_QTHELP_DOCS=ON
|
CMAKE_OPTIONS += -DCMAKE_INSTALL_RPATH=$(QT5_LIBDIR)
|
CMAKE_OPTIONS += -DCMAKE_LIBRARY_PATH=$(QT5_LIBDIR)
|
|
# Manually added build dependencies
|
PYTHON_REQUIRED_PACKAGES += library/python/sphinx
|
REQUIRED_PACKAGES += library/qt5
|
|
# Auto-generated dependencies
|