Andreas Wacknitz
2024-04-04 8590298b09ebad29af56370cd23105cd0931b389
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
#
# 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