2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL"), version 1.0.
4 # You may only use this file in accordance with the terms of version
7 # A full copy of the text of the CDDL should have accompanied this
8 # source. A copy of the CDDL is also available via the Internet at
9 # http://www.illumos.org/license/CDDL.
13 # Copyright 2014 Alexander Pyhalov. All rights reserved.
14 # Copyright 2018 Michal Nowak
15 # Copyright 2023 Andreas Wacknitz
20 USE_DEFAULT_TEST_TRANSFORMS
= yes
21 include ..
/..
/..
/make-rules
/shared-macros.mk
23 COMPONENT_NAME
= cairomm
24 COMPONENT_VERSION
= 1.14.5
26 COMPONENT_SUMMARY
= cairomm
- C
++ Wrapper for the cairo Library
27 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
28 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.xz
29 COMPONENT_ARCHIVE_HASH
= sha256
:70136203540c884e89ce1c9edfb6369b9953937f6cd596d97c78c9758a5d48db
30 COMPONENT_ARCHIVE_URL
= https
://cairographics.org
/releases
/$(COMPONENT_ARCHIVE
)
31 COMPONENT_PROJECT_URL
= https
://cairographics.org
/cairomm
/
32 COMPONENT_FMRI
= library
/desktop
/c
++/cairomm
33 COMPONENT_CLASSIFICATION
= Desktop
(GNOME
)/Libraries
34 COMPONENT_LICENSE
= LGPLv2
35 COMPONENT_LICENSE_FILE
= COPYING
37 include $(WS_MAKE_RULES
)/common.mk
41 CXXFLAGS
+= -std
=c
++17
43 CONFIGURE_OPTIONS
+= --sysconfdir
=/etc
44 CONFIGURE_OPTIONS
+= -Dboost-shared
=true
47 REQUIRED_PACKAGES
+= developer
/build
/pkg-config
48 REQUIRED_PACKAGES
+= developer
/documentation-tool
/doxygen
49 REQUIRED_PACKAGES
+= developer
/macro
/gnu-m4
50 REQUIRED_PACKAGES
+= image
/graphviz
51 REQUIRED_PACKAGES
+= library
/desktop
/c
++/mm-common
52 REQUIRED_PACKAGES
+= library
/libxslt
53 REQUIRED_PACKAGES
+= system
/library
/boost
54 REQUIRED_PACKAGES
+= system
/library
/fontconfig
56 # Auto-generated dependencies
57 REQUIRED_PACKAGES
+= $(GCC_RUNTIME_PKG
)
58 REQUIRED_PACKAGES
+= $(GXX_RUNTIME_PKG
)
59 REQUIRED_PACKAGES
+= library
/c
++/sigcpp
60 REQUIRED_PACKAGES
+= library
/desktop
/cairo
61 REQUIRED_PACKAGES
+= system
/library