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
19 include ..
/..
/..
/make-rules
/shared-macros.mk
21 COMPONENT_NAME
= pangomm
22 COMPONENT_MAJOR_VERSION
= 2.46
23 COMPONENT_VERSION
= $(COMPONENT_MAJOR_VERSION
).4
24 COMPONENT_SUMMARY
= pangomm
- C
++ Wrapper for the pango Library
25 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
26 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.xz
27 COMPONENT_ARCHIVE_HASH
= sha256
:b92016661526424de4b9377f1512f59781f41fb16c9c0267d6133ba1cd68db22
28 COMPONENT_ARCHIVE_URL
= https
://download.gnome.org
/sources
/pangomm
/$(COMPONENT_MAJOR_VERSION
)/$(COMPONENT_ARCHIVE
)
29 COMPONENT_PROJECT_URL
= https
://www.gtkmm.org
/
30 COMPONENT_FMRI
= library
/desktop
/c
++/pangomm
31 COMPONENT_CLASSIFICATION
= Desktop
(GNOME
)/Libraries
32 COMPONENT_LICENSE
= LGPLv2.1
33 COMPONENT_LICENSE_FILE
= COPYING
35 # There are no tests available.
36 TEST_TARGET
= $(NO_TESTS
)
37 include $(WS_MAKE_RULES
)/common.mk
41 CXXFLAGS
+= -std
=c
++17
43 # I haven't found the reason yet why generating the documentation differs from my systems to the build server.
44 # So we won't build documentation for now as it increases the package size significantely.
45 CONFIGURE_OPTIONS
+= -Dbuild-documentation
=false
48 REQUIRED_PACKAGES
+= developer
/build
/pkg-config
49 REQUIRED_PACKAGES
+= developer
/documentation-tool
/doxygen
50 REQUIRED_PACKAGES
+= developer
/macro
/gnu-m4
51 REQUIRED_PACKAGES
+= image
/graphviz
52 REQUIRED_PACKAGES
+= library
/desktop
/c
++/mm-common
53 REQUIRED_PACKAGES
+= library
/libxslt
55 # Auto-generated dependencies
56 REQUIRED_PACKAGES
+= $(GCC_RUNTIME_PKG
)
57 REQUIRED_PACKAGES
+= $(GXX_RUNTIME_PKG
)
58 REQUIRED_PACKAGES
+= library
/c
++/glibmm
59 REQUIRED_PACKAGES
+= library
/c
++/sigcpp
60 REQUIRED_PACKAGES
+= library
/desktop
/c
++/cairomm
61 REQUIRED_PACKAGES
+= library
/desktop
/pango
62 REQUIRED_PACKAGES
+= library
/glib2
63 REQUIRED_PACKAGES
+= system
/library