# # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. # You may only use this file in accordance with the terms of version # 1.0 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 # Copyright 2019 Michal Nowak # Copyright 2020 Marco van Wieringen # BUILD_STYLE= meson USE_DEFAULT_TEST_TRANSFORMS= yes include ../../../make-rules/shared-macros.mk COMPONENT_NAME= gtk+ HUMAN_VERSION= 3.24.43 COMPONENT_REVISION= 1 COMPONENT_SUMMARY= GTK+ - GIMP Toolkit Library for creation of graphical user interfaces COMPONENT_ARCHIVE_HASH= sha256:7e04f0648515034b806b74ae5d774d87cffb1a2a96c468cb5be476d51bf2f3c7 COMPONENT_PROJECT_URL= https://www.gtk.org/ COMPONENT_CLASSIFICATION=Desktop (GNOME)/Libraries COMPONENT_FMRI= library/desktop/gtk3 COMPONENT_LICENSE= LGPL-2.0-only COMPONENT_LICENSE_FILE= COPYING include $(WS_MAKE_RULES)/gnome.mk include $(WS_MAKE_RULES)/common.mk PATH= $(PATH.gnu) CFLAGS += -I/usr/X11/include CONFIGURE_OPTIONS += --sysconfdir=$(ETCDIR) CONFIGURE_OPTIONS += -Dwayland_backend=false CONFIGURE_OPTIONS += -Dprint_backends=cups,file CONFIGURE_OPTIONS += -Dman=true CONFIGURE_OPTIONS += -Dgtk_doc=true # CFLAGS are not passed to compiler when g-ir-scanner is used COMPONENT_BUILD_ENV += CFLAGS="$(CFLAGS)" COMPONENT_BUILD_ENV += CC="$(CC)" # Testing needs an X server TEST_REQUIRED_PACKAGES += x11/server/xvfb COMPONENT_PRE_TEST_ACTION += /usr/bin/Xvfb :0 >/dev/null 2>&1 & COMPONENT_TEST_ENV += DISPLAY=:0 COMPONENT_POST_TEST_ACTION += /usr/bin/pkill -x Xvfb ; # Test dependencies TEST_REQUIRED_PACKAGES += gnome/theme/hicolor-icon-theme # Build dependencies REQUIRED_PACKAGES += developer/documentation-tool/gtk-doc # Auto-generated dependencies REQUIRED_PACKAGES += gnome/accessibility/at-spi2-core REQUIRED_PACKAGES += library/c++/harfbuzz REQUIRED_PACKAGES += library/desktop/cairo REQUIRED_PACKAGES += library/desktop/gdk-pixbuf REQUIRED_PACKAGES += library/desktop/pango REQUIRED_PACKAGES += library/fribidi REQUIRED_PACKAGES += library/glib2 REQUIRED_PACKAGES += library/print/cups-libs REQUIRED_PACKAGES += system/library REQUIRED_PACKAGES += system/library/fontconfig REQUIRED_PACKAGES += system/library/math REQUIRED_PACKAGES += x11/library/libepoxy REQUIRED_PACKAGES += x11/library/libx11 REQUIRED_PACKAGES += x11/library/libxcomposite REQUIRED_PACKAGES += x11/library/libxcursor REQUIRED_PACKAGES += x11/library/libxdamage REQUIRED_PACKAGES += x11/library/libxext REQUIRED_PACKAGES += x11/library/libxfixes REQUIRED_PACKAGES += x11/library/libxi REQUIRED_PACKAGES += x11/library/libxinerama REQUIRED_PACKAGES += x11/library/libxrandr