vim: update to 9.1.0984
[oi-userland.git] / components / library / lib2geom / Makefile
blob855c8c6cc1467e08ffccce94e03f8cf245139c1b
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 2023 Andreas Wacknitz
15 BUILD_STYLE= cmake
16 USE_DEFAULT_TEST_TRANSFORMS= yes
17 include ../../../make-rules/shared-macros.mk
19 COMPONENT_NAME= lib2geom
20 COMPONENT_VERSION= 1.4
21 HUMAN_VERSION= 1.4.0
22 COMPONENT_SUMMARY= easy 2D graphics library
23 COMPONENT_PROJECT_URL= https://gitlab.com/inkscape/lib2geom
24 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
25 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.bz2
26 COMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)/-/archive/$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)
27 COMPONENT_ARCHIVE_HASH= sha256:717a87ce7f2192271a789c1273ae7b432856c522647b9fe33bb4dd662942b3ea
28 COMPONENT_FMRI= library/$(COMPONENT_NAME)
29 COMPONENT_CLASSIFICATION=System/Libraries
30 COMPONENT_LICENSE= LGPLv2.1, MPL-1.1
32 include $(WS_MAKE_RULES)/common.mk
34 CMAKE_OPTIONS += -DCMAKE_BUILD_TYPE=Release
35 CMAKE_OPTIONS += -D2GEOM_BUILD_SHARED:BOOL=ON
36 #CMAKE_OPTIONS += -D2GEOM_TESTING=OFF
38 # We have two failing test:
39 # 1. nl-vector-test: fatal: relocation error: file /usr/lib/64/libgsl.so.27: symbol cblas_dcopy: referenced symbol not found
40 # This probably happens because cblas_dcopy is in libgslcblas
41 # 2. LineTest.CoincidingIntersect
42 COMPONENT_TEST_TRANSFORMS += ' -e "/Subprocess killed/p" '
44 # Manually added build dependencies
45 TEST_REQUIRED_PACKAGES += developer/googletest
47 # Auto-generated dependencies
48 REQUIRED_PACKAGES += $(GCC_RUNTIME_PKG)
49 REQUIRED_PACKAGES += $(GXX_RUNTIME_PKG)
50 REQUIRED_PACKAGES += developer/gsl
51 REQUIRED_PACKAGES += library/desktop/cairo
52 REQUIRED_PACKAGES += library/double-conversion
53 REQUIRED_PACKAGES += library/glib2
54 REQUIRED_PACKAGES += system/library
55 REQUIRED_PACKAGES += system/library/math