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 (c) 2014 Alexander Pyhalov
13 # Copyright 2019 Jason Martin
16 USE_DEFAULT_TEST_TRANSFORMS
= yes
17 include ..
/..
/..
/make-rules
/shared-macros.mk
19 COMPONENT_NAME
= goffice
20 COMPONENT_VERSION
= 0.10.57
21 COMPONENT_SUMMARY
= goffice
- Document centric set of APIs
22 COMPONENT_PROJECT_URL
= https
://www.gnome.org
23 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
24 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.xz
25 COMPONENT_ARCHIVE_HASH
= sha256
:66bfd7e31d2f6756d5a62c3670383cbba02b3cb4c1042950192a801b72a3c9ab
26 COMPONENT_ARCHIVE_URL
= https
://download.gnome.org
/sources
/$(COMPONENT_NAME
)/0.10/$(COMPONENT_ARCHIVE
)
27 COMPONENT_FMRI
= library
/desktop
/$(COMPONENT_NAME
)
28 COMPONENT_CLASSIFICATION
= Development
/System
29 COMPONENT_LICENSE
= GPLv2
30 COMPONENT_LICENSE_FILE
= COPYING
32 include $(WS_MAKE_RULES
)/common.mk
36 COMPONENT_PREP_ACTION
= ( cd
$(@D
) && \
37 libtoolize
--copy
--force &&\
42 CFLAGS
+= $(XPG6MODE
) -std
=c99
44 CONFIGURE_OPTIONS
+= --sysconfdir
=$(ETCDIR
)
46 CONFIGURE_ENV
+= PYTHON
=$(PYTHON
)
48 COMPONENT_INSTALL_ENV
+= GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
=1
50 COMPONENT_TEST_ENV
+= CC
=$(CC
)
52 # Auto-generated dependencies
53 REQUIRED_PACKAGES
+= image
/library
/librsvg
54 REQUIRED_PACKAGES
+= library
/desktop
/atk
55 REQUIRED_PACKAGES
+= library
/desktop
/cairo
56 REQUIRED_PACKAGES
+= library
/desktop
/gdk-pixbuf
57 REQUIRED_PACKAGES
+= library
/desktop
/gtk3
58 REQUIRED_PACKAGES
+= library
/desktop
/libgsf
59 REQUIRED_PACKAGES
+= library
/desktop
/pango
60 REQUIRED_PACKAGES
+= library
/glib2
61 REQUIRED_PACKAGES
+= library
/libspectre
62 REQUIRED_PACKAGES
+= library
/libxml2
63 REQUIRED_PACKAGES
+= library
/libxslt
64 REQUIRED_PACKAGES
+= system
/library
65 REQUIRED_PACKAGES
+= system
/library
/math