# # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL)". You may # only use this file in accordance with the terms of the CDDL. # # A full copy of the text of the CDDL should have accompanied this # source. A copy of the CDDL is also available via the Internet at # http://www.illumos.org/license/CDDL. # # # Copyright 2022 Niklas Poslovski # USE_PARALLEL_BUILD = yes USE_DEFAULT_TEST_TRANSFORMS = yes include ../../../make-rules/shared-macros.mk COMPONENT_NAME= AbiWord COMPONENT_VERSION= 3.0.6 COMPONENT_SUMMARY= Fully-featured word processor COMPONENT_PROJECT_URL= https://gitlab.gnome.org/World/AbiWord COMPONENT_SRC= $(COMPONENT_NAME)-release-$(COMPONENT_VERSION) COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.bz2 COMPONENT_ARCHIVE_HASH= sha256:c560058f16caf28cf0937f993325f426ba4b082720ef42fa767118e02def1b63 COMPONENT_ARCHIVE_URL= https://gitlab.gnome.org/World/AbiWord/-/archive/release-$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE) COMPONENT_FMRI= desktop/office/abiword COMPONENT_CLASSIFICATION= Applications/Office COMPONENT_LICENSE= GPL-2.0-only COMPONENT_LICENSE_FILE= COPYING include $(WS_MAKE_RULES)/common.mk # GNU make is needed CONFIGURE_OPTIONS += MAKE=gmake # We need to run autogen.sh because: # - configure is missing in source tarball # - we patched configure.ac COMPONENT_PREP_ACTION= ( cd $(@D) && $(ENV) PATH="$(PATH)" NOCONFIGURE=1 ./autogen.sh ) ; # Testing needs an X server TEST_REQUIRED_PACKAGES += x11/server/xvfb COMPONENT_PRE_TEST_ACTION += /usr/bin/Xvfb :0 >/dev/null 2>&1 & COMPONENT_TEST_ENV += DISPLAY=:0 COMPONENT_POST_TEST_ACTION += /usr/bin/pkill -x Xvfb ; # Auto-generated dependencies REQUIRED_PACKAGES += $(GCC_RUNTIME_PKG) REQUIRED_PACKAGES += $(GXX_RUNTIME_PKG) REQUIRED_PACKAGES += $(JPEG_IMPLEM_PKG) REQUIRED_PACKAGES += gnome/accessibility/at-spi2-core REQUIRED_PACKAGES += image/library/libpng16 REQUIRED_PACKAGES += image/library/librsvg REQUIRED_PACKAGES += library/desktop/cairo REQUIRED_PACKAGES += library/desktop/clutter REQUIRED_PACKAGES += library/desktop/clutter/clutter-gtk REQUIRED_PACKAGES += library/desktop/gdk-pixbuf REQUIRED_PACKAGES += library/desktop/goffice REQUIRED_PACKAGES += library/desktop/gtk3 REQUIRED_PACKAGES += library/desktop/libchamplain REQUIRED_PACKAGES += library/desktop/libgsf REQUIRED_PACKAGES += library/desktop/pango REQUIRED_PACKAGES += library/fribidi REQUIRED_PACKAGES += library/glib2 REQUIRED_PACKAGES += library/libical REQUIRED_PACKAGES += library/libxml2 REQUIRED_PACKAGES += library/libxslt REQUIRED_PACKAGES += library/spell-checking/enchant REQUIRED_PACKAGES += library/wv REQUIRED_PACKAGES += library/zlib REQUIRED_PACKAGES += system/library REQUIRED_PACKAGES += system/library/fontconfig REQUIRED_PACKAGES += system/library/math REQUIRED_PACKAGES += system/library/security/libgcrypt REQUIRED_PACKAGES += x11/library/libx11