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-2017, Aurelien Larcher. All rights reserved.
14 # Copyright 2019, Michal Nowak
19 USE_COMMON_TEST_MASTER
= no
20 include ..
/..
/..
/make-rules
/shared-macros.mk
22 COMPONENT_NAME
= graphite2
23 COMPONENT_VERSION
= 1.3.14
25 COMPONENT_FMRI
= library
/c
++/graphite2
26 COMPONENT_CLASSIFICATION
=System
/Libraries
27 COMPONENT_SUMMARY
= Graphite2
- Library for rendering non-roman scripts
28 COMPONENT_PROJECT_URL
= http
://graphite.sil.org
29 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
30 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).tgz
31 COMPONENT_ARCHIVE_HASH
= sha256
:f99d1c13aa5fa296898a181dff9b82fb25f6cc0933dbaa7a475d8109bd54209d
32 COMPONENT_ARCHIVE_URL
= https
://github.com
/silnrsi
/graphite
/releases
/download
/$(COMPONENT_VERSION
)/$(COMPONENT_ARCHIVE
)
33 COMPONENT_LICENSE
= LGPLv2.1
35 include $(WS_MAKE_RULES
)/common.mk
39 # need this to use abs(float)
42 CMAKE_OPTIONS
+= -DCMAKE_BUILD_TYPE
=Release
43 CMAKE_OPTIONS
+= -DGRAPHITE2_ASAN
=OFF
44 CMAKE_OPTIONS
+= -DGRAPHITE2_COMPARE_RENDERER
=OFF
45 CMAKE_OPTIONS
+= -DGRAPHITE2_DOXYGEN_CONFIG
=public
46 CMAKE_OPTIONS
+= -DGRAPHITE2_NFILEFACE
=OFF
47 CMAKE_OPTIONS
+= -DGRAPHITE2_NSEGCACHE
=OFF
48 CMAKE_OPTIONS
+= -DGRAPHITE2_NTRACING
=ON
49 CMAKE_OPTIONS
+= -DGRAPHITE2_TELEMETRY
=OFF
50 CMAKE_OPTIONS
+= -DGRAPHITE2_VM_TYPE
=auto
51 #CMAKE_OPTIONS+= -DLATEX=/usr/bin/latex
53 COMPONENT_TEST_CMD
= ctest
54 COMPONENT_TEST_TARGETS
=
55 COMPONENT_TEST_TRANSFORMS
+= '-e "s/[0-9]*\.[0-9]* sec//" '
57 # Manually added build dependencies
58 # For some reason, the SPARC build is needing this, but x86 does not.
59 REQUIRED_PACKAGES
+= $(GCC_RUNTIME_PKG
)
61 # Auto-generated dependencies
62 REQUIRED_PACKAGES
+= $(GXX_RUNTIME_PKG
)
63 REQUIRED_PACKAGES
+= system
/library
64 REQUIRED_PACKAGES
+= system
/library
/math