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 2019 Jason Martin
16 USE_DEFAULT_TEST_TRANSFORMS
= yes
17 include ..
/..
/..
/make-rules
/shared-macros.mk
19 COMPONENT_NAME
= gnumeric
20 COMPONENT_MJR_VERSION
= 1.12
21 COMPONENT_VERSION
= $(COMPONENT_MJR_VERSION
).57
22 COMPONENT_SUMMARY
= GTK Spreadsheet Application
23 COMPONENT_PROJECT_URL
= https
://www.gnome.org
24 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
25 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.xz
26 COMPONENT_ARCHIVE_HASH
= sha256
:aff50b1b62340c24fccf453d5fad3e7fb73f4bc4b34f7e34b6c3d2d9af6a1e4f
27 COMPONENT_ARCHIVE_URL
= https
://download.gnome.org
/sources
/$(COMPONENT_NAME
)/$(COMPONENT_MJR_VERSION
)/$(COMPONENT_ARCHIVE
)
28 COMPONENT_FMRI
= desktop
/$(COMPONENT_NAME
)
29 COMPONENT_CLASSIFICATION
= Applications
/Office
30 COMPONENT_LICENSE
= GPLv2
31 COMPONENT_LICENSE_FILE
= COPYING
33 include $(WS_MAKE_RULES
)/common.mk
37 COMPONENT_PRE_CONFIGURE_ACTION
= ( $(CLONEY
) $(SOURCE_DIR
) $(@D
) )
39 CONFIGURE_ENV
+= PYTHON
="$(PYTHON)"
41 CONFIGURE_OPTIONS
+= --sysconfdir
=$(ETCDIR
)
42 CONFIGURE_OPTIONS
+= --libexecdir
=$(CONFIGURE_LIBEXECDIR.
$(BITS
))
43 CONFIGURE_OPTIONS
+= --without-perl
45 COMPONENT_TEST_ARGS
+= -k
48 REQUIRED_PACKAGES
+= text
/itstool
50 # Auto-generated dependencies
51 PYTHON_REQUIRED_PACKAGES
+= runtime
/python
52 REQUIRED_PACKAGES
+= library
/desktop
/atk
53 REQUIRED_PACKAGES
+= library
/desktop
/cairo
54 REQUIRED_PACKAGES
+= library
/desktop
/gdk-pixbuf
55 REQUIRED_PACKAGES
+= library
/desktop
/goffice
56 REQUIRED_PACKAGES
+= library
/desktop
/gtk3
57 REQUIRED_PACKAGES
+= library
/desktop
/libgsf
58 REQUIRED_PACKAGES
+= library
/desktop
/pango
59 REQUIRED_PACKAGES
+= library
/glib2
60 REQUIRED_PACKAGES
+= library
/libxml2
61 REQUIRED_PACKAGES
+= library
/zlib
62 REQUIRED_PACKAGES
+= system
/library
63 REQUIRED_PACKAGES
+= system
/library
/math