re2c: update to 4.0
[oi-userland.git] / components / library / gtksourceview-5 / Makefile
blobf9e228736a0be20c36c57fba4f91ec8c07baa6d0
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
5 # 1.0 of the CDDL.
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 2024 Marcel Telka
16 BUILD_STYLE = meson
17 USE_DEFAULT_TEST_TRANSFORMS = yes
19 include ../../../make-rules/shared-macros.mk
21 # This is gtksourceview-5 ABI series
22 ABIVER = 5
24 COMPONENT_NAME= gtksourceview
25 HUMAN_VERSION= 5.14.2
26 COMPONENT_SUMMARY= Text editor widget for code editing
27 COMPONENT_ARCHIVE_HASH= sha256:1a6d387a68075f8aefd4e752cf487177c4a6823b14ff8a434986858aeaef6264
28 COMPONENT_FMRI= library/desktop/gtksourceview-5
29 COMPONENT_CLASSIFICATION= Desktop (GNOME)/Libraries
30 COMPONENT_LICENSE= LGPL-2.1-only
31 COMPONENT_LICENSE_FILE= COPYING
33 include $(WS_MAKE_RULES)/gnome.mk
34 include $(WS_MAKE_RULES)/common.mk
36 # GNU msgfmt is needed
37 PATH = $(PATH.gnu)
39 # Testing needs an X server
40 TEST_REQUIRED_PACKAGES += x11/server/xvfb
41 COMPONENT_PRE_TEST_ACTION += /usr/bin/Xvfb :0 >/dev/null 2>&1 &
42 COMPONENT_TEST_ENV += DISPLAY=:0
43 COMPONENT_POST_TEST_ACTION += /usr/bin/pkill -x Xvfb ;
45 # Replace ABI version number by ABIVER
46 GENERATE_EXTRA_CMD += | $(GSED) -e 's/\(gtksourceview-\)$(ABIVER)/\1$$(ABIVER)/' \
47 -e 's/\(GtkSource-\)$(ABIVER)/\1$$(ABIVER)/'
49 # ABIVER is needed for manifest processing
50 PKG_MACROS += ABIVER=$(ABIVER)
52 # Auto-generated dependencies
53 REQUIRED_PACKAGES += library/desktop/cairo
54 REQUIRED_PACKAGES += library/desktop/gdk-pixbuf
55 REQUIRED_PACKAGES += library/desktop/gtk4
56 REQUIRED_PACKAGES += library/desktop/pango
57 REQUIRED_PACKAGES += library/fribidi
58 REQUIRED_PACKAGES += library/glib2
59 REQUIRED_PACKAGES += library/libxml2
60 REQUIRED_PACKAGES += library/pcre2
61 REQUIRED_PACKAGES += system/library
62 REQUIRED_PACKAGES += system/library/fontconfig
63 REQUIRED_PACKAGES += system/library/math