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 2016 Marcel Telka <marcel@telka.sk>
14 # Copyright 2014 Alexander Pyhalov. All rights reserved.
15 # Copyright 2019 Michal Nowak
18 # IMPORTANT if the umask of the builder isn't set to 0022
19 # the resulting: /usr/lib/sparcv9/gobject-introspection/giscanner/__pycache__
20 # directory ends up with 700 - in the final installation and therefore
21 # can't be used by end-users !!!
24 include ..
/..
/..
/make-rules
/shared-macros.mk
26 COMPONENT_NAME
= gobject-introspection
27 HUMAN_VERSION
= 1.82.0
28 COMPONENT_SUMMARY
= Introspection for GObject libraries
29 COMPONENT_ARCHIVE_HASH
= sha256
:0f5a4c1908424bf26bc41e9361168c363685080fbdb87a196c891c8401ca2f09
30 COMPONENT_FMRI
= library
/desktop
/gobject
/gobject-introspection
31 COMPONENT_CLASSIFICATION
= Development
/GNOME and GTK
+
32 COMPONENT_LICENSE
= GPL-2.0
-or-later AND LGPL-2.0
-or-later AND MIT
34 include $(WS_MAKE_RULES
)/gnome.mk
35 include $(WS_MAKE_RULES
)/common.mk
38 update-license-file
: patch
40 $(CAT
) $(SOURCE_DIR
)/COPYING
; \
41 printf
'\n--- COPYING.GPL -----------------------------------------------------------\n\n' ; \
42 $(CAT
) $(SOURCE_DIR
)/COPYING.GPL
; \
43 printf
'\n--- COPYING.LGPL ----------------------------------------------------------\n\n' ; \
44 $(CAT
) $(SOURCE_DIR
)/COPYING.LGPL \
45 ) > $(COMPONENT_DIR
)/$(COMPONENT_LICENSE_FILE
)
47 CONFIGURE_ENV
+= PYTHON
=$(PYTHON
)
49 COMPONENT_TEST_TRANSFORMS
+= \
52 '-e "/^Expected/p" ' \
54 '-e "/^Unexpected/p" ' \
58 PYTHON_SCRIPTS
+= usr
/bin
/g-ir-annotation-tool
59 PYTHON_SCRIPTS
+= usr
/bin
/g-ir-doc-tool
60 PYTHON_SCRIPTS
+= usr
/bin
/g-ir-scanner
63 # Both mako and markdown are needed for doctool (see meson.build)
64 PYTHON_REQUIRED_PACKAGES
+= library
/python
/mako
65 PYTHON_REQUIRED_PACKAGES
+= library
/python
/markdown
67 # Auto-generated dependencies
68 PYTHON_REQUIRED_PACKAGES
+= runtime
/python
69 REQUIRED_PACKAGES
+= library
/glib2
70 REQUIRED_PACKAGES
+= library
/libffi
71 REQUIRED_PACKAGES
+= system
/library
72 REQUIRED_PACKAGES
+= system
/library
/math