# # 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 Aurelien Larcher # include ../../../make-rules/shared-macros.mk COMPONENT_NAME= fltk COMPONENT_VERSION= 1.3.10 COMPONENT_SUMMARY= fltk - Fast Light Toolkit COMPONENT_PROJECT_URL= https://www.fltk.org COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) COMPONENT_ARCHIVE= $(COMPONENT_SRC)-source.tar.gz COMPONENT_ARCHIVE_URL= https://fltk.org/pub/fltk/$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE) COMPONENT_ARCHIVE_HASH= sha256:c1c96d4f2ca7844f4b7945b4670aff2846f150cd5f3e23e3e4c70a61807108c7 COMPONENT_FMRI= library/fltk COMPONENT_CLASSIFICATION=System/Libraries COMPONENT_LICENSE= GPLv2 COMPONENT_LICENSE_FILE= COPYING CONFIGURE_FIX_LIBTOOL_RPATH= no include $(WS_MAKE_RULES)/common.mk # Missing files in build dir for configure without this. COMPONENT_PRE_CONFIGURE_ACTION= ( $(CLONEY) $(SOURCE_DIR) $(@D) ) CONFIGURE_OPTIONS += --enable-shared CONFIGURE_OPTIONS += --enable-static=no CONFIGURE_OPTIONS += --enable-cairo=yes # Note that the tests are no real tests but just examples. You can run them manually. COMPONENT_TEST_DIR = $(@D)/test COMPONENT_TEST_TARGETS= all # Auto-generated dependencies REQUIRED_PACKAGES += $(GXX_RUNTIME_PKG) REQUIRED_PACKAGES += $(JPEG_IMPLEM_PKG) REQUIRED_PACKAGES += image/library/libpng16 REQUIRED_PACKAGES += library/desktop/cairo REQUIRED_PACKAGES += shell/ksh93 REQUIRED_PACKAGES += system/library REQUIRED_PACKAGES += system/library/fontconfig REQUIRED_PACKAGES += system/library/math REQUIRED_PACKAGES += x11/library/libx11 REQUIRED_PACKAGES += x11/library/libxcursor REQUIRED_PACKAGES += x11/library/libxext REQUIRED_PACKAGES += x11/library/libxfixes REQUIRED_PACKAGES += x11/library/libxft REQUIRED_PACKAGES += x11/library/libxinerama REQUIRED_PACKAGES += x11/library/libxrender