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 2024 Marcel Telka
17 USE_DEFAULT_TEST_TRANSFORMS
= yes
19 include ..
/..
/..
/make-rules
/shared-macros.mk
21 COMPONENT_NAME
= gspell
23 COMPONENT_SUMMARY
= Flexible API to add spell-checking to a GTK application
24 COMPONENT_ARCHIVE_HASH
= sha256
:64ea1d8e9edc1c25b45a920e80daf67559d1866ffcd7f8432fecfea6d0fe8897
25 COMPONENT_FMRI
= library
/desktop
/gspell-3
26 COMPONENT_CLASSIFICATION
= Applications
/Accessories
27 COMPONENT_LICENSE
= LGPL-2.1
-or-later
28 COMPONENT_LICENSE_FILE
= LICENSES
/LGPL-2.1
-or-later.txt
30 include $(WS_MAKE_RULES
)/gnome.mk
31 include $(WS_MAKE_RULES
)/common.mk
33 # GNU msgfmt is needed
36 # We do not need installed tests (yet)
37 CONFIGURE_OPTIONS
+= -Dinstall_tests
=false
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
+= $(ICU_LIBRARY_PKG
)
54 REQUIRED_PACKAGES
+= library
/desktop
/gtk3
55 REQUIRED_PACKAGES
+= library
/desktop
/pango
56 REQUIRED_PACKAGES
+= library
/glib2
57 REQUIRED_PACKAGES
+= library
/spell-checking
/enchant
58 REQUIRED_PACKAGES
+= system
/library