commit | author | age
|
2a55af
|
1 |
# |
A |
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. |
|
5 |
# |
|
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. |
|
9 |
# |
|
10 |
|
|
11 |
# |
888883
|
12 |
# Copyright 2019 Jason Martin |
2a55af
|
13 |
# |
A |
14 |
|
72a7e2
|
15 |
BUILD_BITS=64 |
2a55af
|
16 |
include ../../../make-rules/shared-macros.mk |
A |
17 |
|
bf72e1
|
18 |
COMPONENT_NAME= gnumeric |
e10082
|
19 |
COMPONENT_VERSION= 1.12.50 |
AW |
20 |
COMPONENT_PROJECT_URL= https://www.gnome.org |
bf72e1
|
21 |
COMPONENT_SUMMARY= GTK Spreadsheet Application |
A |
22 |
COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) |
|
23 |
COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.xz |
e10082
|
24 |
COMPONENT_ARCHIVE_HASH= sha256:758819ba1bd6983829f9e7c6d71a7fa20cd75a3652a271e5bb003d5d8bcc14b8 |
b7ef23
|
25 |
COMPONENT_ARCHIVE_URL= https://download.gnome.org/sources/$(COMPONENT_NAME)/1.12/$(COMPONENT_ARCHIVE) |
bf72e1
|
26 |
COMPONENT_FMRI= desktop/$(COMPONENT_NAME) |
A |
27 |
COMPONENT_CLASSIFICATION= Applications/Office |
2a55af
|
28 |
COMPONENT_LICENSE= GPLv2 |
A |
29 |
COMPONENT_LICENSE_FILE= COPYING |
|
30 |
|
72a7e2
|
31 |
PYTHON_VERSION=3.9 |
AL |
32 |
|
|
33 |
include $(WS_MAKE_RULES)/common.mk |
2a55af
|
34 |
|
A |
35 |
PATH=$(PATH.gnu) |
|
36 |
|
888883
|
37 |
COMPONENT_PRE_CONFIGURE_ACTION = ($(CLONEY) $(SOURCE_DIR) $(@D)) |
A |
38 |
|
|
39 |
CONFIGURE_ENV += PYTHON="$(PYTHON)" |
|
40 |
|
bf72e1
|
41 |
CONFIGURE_OPTIONS+= --sysconfdir=/etc |
A |
42 |
CONFIGURE_OPTIONS+= --libexecdir=$(CONFIGURE_LIBDIR.$(BITS)) |
|
43 |
CONFIGURE_OPTIONS+= --without-perl |
2a55af
|
44 |
|
bf72e1
|
45 |
COMPONENT_TEST_ARGS += -k |
2a55af
|
46 |
|
e10082
|
47 |
COMPONENT_TEST_TRANSFORMS += \ |
AW |
48 |
'-n ' \ |
|
49 |
'-e "/TOTAL:/p" ' \ |
|
50 |
'-e "/SKIP:/p" ' \ |
|
51 |
'-e "/PASS:/p" ' \ |
|
52 |
'-e "/XPASS:/p" ' \ |
|
53 |
'-e "/FAIL:/p" ' \ |
|
54 |
'-e "/XFAIL:/p" ' \ |
|
55 |
'-e "/ERROR:/p" ' |
|
56 |
|
2a55af
|
57 |
# To prevent "libtool_install_magic: unbound variable" |
A |
58 |
unexport SHELLOPTS |
|
59 |
|
888883
|
60 |
# Build dependencies |
A |
61 |
REQUIRED_PACKAGES += text/itstool |
|
62 |
|
bf72e1
|
63 |
# Auto-generated dependencies |
2a55af
|
64 |
REQUIRED_PACKAGES += library/desktop/atk |
A |
65 |
REQUIRED_PACKAGES += library/desktop/cairo |
|
66 |
REQUIRED_PACKAGES += library/desktop/gdk-pixbuf |
|
67 |
REQUIRED_PACKAGES += library/desktop/goffice |
|
68 |
REQUIRED_PACKAGES += library/desktop/gtk3 |
|
69 |
REQUIRED_PACKAGES += library/desktop/libgsf |
|
70 |
REQUIRED_PACKAGES += library/desktop/pango |
|
71 |
REQUIRED_PACKAGES += library/glib2 |
|
72 |
REQUIRED_PACKAGES += library/libxml2 |
|
73 |
REQUIRED_PACKAGES += library/zlib |
|
74 |
REQUIRED_PACKAGES += system/library |
|
75 |
REQUIRED_PACKAGES += system/library/math |