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 2022 Niklas Poslovski
15 USE_PARALLEL_BUILD
= yes
16 USE_DEFAULT_TEST_TRANSFORMS
= yes
18 include ..
/..
/..
/make-rules
/shared-macros.mk
20 COMPONENT_NAME
= AbiWord
21 COMPONENT_VERSION
= 3.0.6
22 COMPONENT_SUMMARY
= Fully-featured
word processor
23 COMPONENT_PROJECT_URL
= https
://gitlab.gnome.org
/World
/AbiWord
24 COMPONENT_SRC
= $(COMPONENT_NAME
)-release-
$(COMPONENT_VERSION
)
25 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.bz2
26 COMPONENT_ARCHIVE_HASH
= sha256
:c560058f16caf28cf0937f993325f426ba4b082720ef42fa767118e02def1b63
27 COMPONENT_ARCHIVE_URL
= https
://gitlab.gnome.org
/World
/AbiWord
/-/archive
/release-
$(COMPONENT_VERSION
)/$(COMPONENT_ARCHIVE
)
28 COMPONENT_FMRI
= desktop
/office
/abiword
29 COMPONENT_CLASSIFICATION
= Applications
/Office
30 COMPONENT_LICENSE
= GPL-2.0
-only
31 COMPONENT_LICENSE_FILE
= COPYING
33 include $(WS_MAKE_RULES
)/common.mk
36 CONFIGURE_OPTIONS
+= MAKE
=gmake
38 # We need to run autogen.sh because:
39 # - configure is missing in source tarball
40 # - we patched configure.ac
41 COMPONENT_PREP_ACTION
= ( cd
$(@D
) && $(ENV
) PATH
="$(PATH)" NOCONFIGURE
=1 .
/autogen.sh
) ;
43 # Testing needs an X server
44 TEST_REQUIRED_PACKAGES
+= x11
/server
/xvfb
45 COMPONENT_PRE_TEST_ACTION
+= /usr
/bin
/Xvfb
:0 >/dev
/null
2>&1 &
46 COMPONENT_TEST_ENV
+= DISPLAY
=:0
47 COMPONENT_POST_TEST_ACTION
+= /usr
/bin
/pkill
-x Xvfb
;
49 # Auto-generated dependencies
50 REQUIRED_PACKAGES
+= $(GCC_RUNTIME_PKG
)
51 REQUIRED_PACKAGES
+= $(GXX_RUNTIME_PKG
)
52 REQUIRED_PACKAGES
+= $(JPEG_IMPLEM_PKG
)
53 REQUIRED_PACKAGES
+= gnome
/accessibility
/at-spi2-core
54 REQUIRED_PACKAGES
+= image
/library
/libpng16
55 REQUIRED_PACKAGES
+= image
/library
/librsvg
56 REQUIRED_PACKAGES
+= library
/desktop
/cairo
57 REQUIRED_PACKAGES
+= library
/desktop
/clutter
58 REQUIRED_PACKAGES
+= library
/desktop
/clutter
/clutter-gtk
59 REQUIRED_PACKAGES
+= library
/desktop
/gdk-pixbuf
60 REQUIRED_PACKAGES
+= library
/desktop
/goffice
61 REQUIRED_PACKAGES
+= library
/desktop
/gtk3
62 REQUIRED_PACKAGES
+= library
/desktop
/libchamplain
63 REQUIRED_PACKAGES
+= library
/desktop
/libgsf
64 REQUIRED_PACKAGES
+= library
/desktop
/pango
65 REQUIRED_PACKAGES
+= library
/fribidi
66 REQUIRED_PACKAGES
+= library
/glib2
67 REQUIRED_PACKAGES
+= library
/libical
68 REQUIRED_PACKAGES
+= library
/libxml2
69 REQUIRED_PACKAGES
+= library
/libxslt
70 REQUIRED_PACKAGES
+= library
/spell-checking
/enchant
71 REQUIRED_PACKAGES
+= library
/wv
72 REQUIRED_PACKAGES
+= library
/zlib
73 REQUIRED_PACKAGES
+= system
/library
74 REQUIRED_PACKAGES
+= system
/library
/fontconfig
75 REQUIRED_PACKAGES
+= system
/library
/math
76 REQUIRED_PACKAGES
+= system
/library
/security
/libgcrypt
77 REQUIRED_PACKAGES
+= x11
/library
/libx11