Marcel Telka
2022-01-31 b7ef23180b8258d99f0990e953e0eddbaaab32a5
commit | author | age
418b40 1 #
AP 2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL"), version 1.0.
4 # You may only use this file in accordance with the terms of version
5 # 1.0 of the CDDL.
6 #
7 # A full copy of the text of the CDDL should have accompanied this
8 # source.  A copy of the CDDL is also available via the Internet at
9 # http://www.illumos.org/license/CDDL.
10 #
11
12 #
13 # Copyright 2015 Alexander Pyhalov
14 #
15
0b083d 16 include ../../../../make-rules/shared-macros.mk
418b40 17
AP 18 COMPONENT_NAME= libgnomecanvas
19 COMPONENT_VERSION= 2.30.3
7274f5 20 COMPONENT_REVISION= 2
418b40 21 COMPONENT_SUMMARY= GNOME canvas library
AP 22 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
23 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.bz2
24 COMPONENT_ARCHIVE_HASH= \
25   sha256:859b78e08489fce4d5c15c676fec1cd79782f115f516e8ad8bed6abcb8dedd40
26 COMPONENT_ARCHIVE_URL= \
b7ef23 27   https://download.gnome.org/sources/$(COMPONENT_NAME)/2.30/$(COMPONENT_ARCHIVE)
418b40 28 COMPONENT_PROJECT_URL = http://www.gnome.org
AP 29 COMPONENT_FMRI= library/desktop/libgnomecanvas
30 COMPONENT_CLASSIFICATION= Desktop (GNOME)/Libraries
31 COMPONENT_LICENSE = LGPLv2
32 COMPONENT_LICENSE_FILE = COPYING.LIB
33
0b083d 34 include $(WS_MAKE_RULES)/prep.mk
AL 35 include $(WS_MAKE_RULES)/configure.mk
36 include $(WS_MAKE_RULES)/ips.mk
418b40 37
0b083d 38 PATH=$(PATH.gnu)
418b40 39
AP 40 # Missing files in build dir without this.
41 COMPONENT_PRE_CONFIGURE_ACTION =    ($(CLONEY) $(SOURCE_DIR) $(@D))
42
43 CONFIGURE_OPTIONS += --sysconfdir=/etc
44
45 # 64-bit build requires libart, but it's 32-bit only for now
46 build: $(BUILD_32)
47
48 install: $(INSTALL_32)
49
50 test: $(NO_TESTS)
0b083d 51
AL 52 # Auto-generated dependencies
53 REQUIRED_PACKAGES += image/library/libart
54 REQUIRED_PACKAGES += library/desktop/atk
55 REQUIRED_PACKAGES += library/desktop/gdk-pixbuf
56 REQUIRED_PACKAGES += library/desktop/gtk2
57 REQUIRED_PACKAGES += library/desktop/pango
58 REQUIRED_PACKAGES += library/glib2
59 REQUIRED_PACKAGES += system/library
60 REQUIRED_PACKAGES += system/library/math
7274f5 61 REQUIRED_PACKAGES += developer/documentation-tool/gtk-doc