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 2017 Alexander Pyhalov
17 include ..
/..
/..
/make-rules
/shared-macros.mk
20 COMPONENT_MJR_VERSION
= 3.40
21 COMPONENT_VERSION
= $(COMPONENT_MJR_VERSION
).0
23 COMPONENT_SUMMARY
= GLADE User Interface Builder for GNOME
24 COMPONENT_PROJECT_URL
= https
://wiki.gnome.org
/Apps
/Glade
25 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
26 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.xz
27 COMPONENT_ARCHIVE_HASH
= sha256
:31c9adaea849972ab9517b564e19ac19977ca97758b109edc3167008f53e3d9c
28 COMPONENT_ARCHIVE_URL
= https
://download.gnome.org
/sources
/$(COMPONENT_NAME
)/$(COMPONENT_MJR_VERSION
)/$(COMPONENT_ARCHIVE
)
29 COMPONENT_FMRI
= developer
/ui-designer
/glade
30 COMPONENT_CLASSIFICATION
= Development
/GNOME and GTK
+
31 COMPONENT_LICENSE
= GPLv3
32 COMPONENT_LICENSE_FILE
= COPYING
34 TEST_TARGET
= $(NO_TESTS
)
35 include $(WS_MAKE_RULES
)/common.mk
39 CONFIGURE_OPTIONS
+= --sysconfdir
=/etc
41 # Python checks don't use -m64 and so header check fails
42 CPPFLAGS
+= $(CC_BITS
)
44 CONFIGURE_ENV
+= PYTHON
=$(PYTHON
)
45 CONFIGURE_ENV
+= CPPFLAGS
="$(CPPFLAGS)"
47 # gobject-introspection
48 COMPONENT_BUILD_ENV
+= CC
="$(CC)"
49 COMPONENT_BUILD_ENV
+= CFLAGS
="$(CFLAGS)"
52 PYTHON_REQUIRED_PACKAGES
+= library
/python
/pygobject-3
53 REQUIRED_PACKAGES
+= library
/desktop
/gobject
/gobject-introspection
55 # Auto-generated dependencies
56 PYTHON_REQUIRED_PACKAGES
+= runtime
/python
57 REQUIRED_PACKAGES
+= library
/desktop
/cairo
58 REQUIRED_PACKAGES
+= library
/desktop
/gdk-pixbuf
59 REQUIRED_PACKAGES
+= library
/desktop
/gtk3
60 REQUIRED_PACKAGES
+= library
/desktop
/pango
61 REQUIRED_PACKAGES
+= library
/desktop
/webkitgtk2
62 REQUIRED_PACKAGES
+= library
/glib2
63 REQUIRED_PACKAGES
+= library
/libxml2
64 REQUIRED_PACKAGES
+= system
/library
65 REQUIRED_PACKAGES
+= system
/library
/math