# # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"). You may # only use this file in accordance with the terms of the CDDL. # # A full copy of the text of the CDDL should have accompanied this # source. A copy of the CDDL is also available via the Internet at # http://www.illumos.org/license/CDDL. # # # Copyright 2017 Alexander Pyhalov # BUILD_BITS= 64 BUILD_STYLE= meson include ../../../make-rules/shared-macros.mk COMPONENT_NAME= glade COMPONENT_MJR_VERSION= 3.40 COMPONENT_VERSION= $(COMPONENT_MJR_VERSION).0 COMPONENT_REVISION= 1 COMPONENT_SUMMARY= GLADE User Interface Builder for GNOME COMPONENT_PROJECT_URL= https://wiki.gnome.org/Apps/Glade COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.xz COMPONENT_ARCHIVE_HASH= sha256:31c9adaea849972ab9517b564e19ac19977ca97758b109edc3167008f53e3d9c COMPONENT_ARCHIVE_URL= https://download.gnome.org/sources/$(COMPONENT_NAME)/$(COMPONENT_MJR_VERSION)/$(COMPONENT_ARCHIVE) COMPONENT_FMRI= developer/ui-designer/glade COMPONENT_CLASSIFICATION= Development/GNOME and GTK+ COMPONENT_LICENSE= GPLv3 COMPONENT_LICENSE_FILE= COPYING TEST_TARGET= $(NO_TESTS) include $(WS_MAKE_RULES)/common.mk PATH= $(PATH.gnu) CONFIGURE_OPTIONS += --sysconfdir=/etc # Python checks don't use -m64 and so header check fails CPPFLAGS += $(CC_BITS) CONFIGURE_ENV += PYTHON=$(PYTHON) CONFIGURE_ENV += CPPFLAGS="$(CPPFLAGS)" # gobject-introspection COMPONENT_BUILD_ENV += CC="$(CC)" COMPONENT_BUILD_ENV += CFLAGS="$(CFLAGS)" # Build dependencies PYTHON_REQUIRED_PACKAGES += library/python/pygobject-3 REQUIRED_PACKAGES += library/desktop/gobject/gobject-introspection # Auto-generated dependencies PYTHON_REQUIRED_PACKAGES += runtime/python REQUIRED_PACKAGES += library/desktop/cairo REQUIRED_PACKAGES += library/desktop/gdk-pixbuf REQUIRED_PACKAGES += library/desktop/gtk3 REQUIRED_PACKAGES += library/desktop/pango REQUIRED_PACKAGES += library/desktop/webkitgtk2 REQUIRED_PACKAGES += library/glib2 REQUIRED_PACKAGES += library/libxml2 REQUIRED_PACKAGES += system/library REQUIRED_PACKAGES += system/library/math