mirror of
https://git.busybox.net/buildroot.git
synced 2024-12-13 15:23:27 +08:00
56497f708e
Fixes: http://autobuild.buildroot.net/results/519/5195f7a8a38a5ba3ce5a0bf2a7649d390e461ee9/ The failure is related to bundled libpng conflicting with system libpng. Which was a problem even before the libpng bump because the bundled version for the previous fltk version has several security vulnerabilities. So disable bundled libraries and use global ones. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
39 lines
1.2 KiB
Makefile
39 lines
1.2 KiB
Makefile
################################################################################
|
|
#
|
|
# fltk
|
|
#
|
|
################################################################################
|
|
|
|
FLTK_VERSION = 1.3.2
|
|
FLTK_SOURCE = fltk-$(FLTK_VERSION)-source.tar.gz
|
|
FLTK_SITE = http://fltk.org/pub/fltk/$(FLTK_VERSION)
|
|
FLTK_INSTALL_STAGING = YES
|
|
FLTK_INSTALL_STAGING_OPT = DESTDIR=$(STAGING_DIR) STRIP=$(TARGET_STRIP) install
|
|
FLTK_INSTALL_TARGET_OPT = DESTDIR=$(TARGET_DIR) STRIP=$(TARGET_STRIP) install
|
|
FLTK_CONF_OPT = --enable-threads --with-x --disable-gl \
|
|
--disable-localjpeg --disable-localpng --disable-localzlib
|
|
FLTK_DEPENDENCIES = jpeg libpng xlib_libX11 xlib_libXext xlib_libXt
|
|
FLTK_CONFIG_SCRIPTS = fltk-config
|
|
FLTK_LICENSE = LGPLv2 with exceptions
|
|
FLTK_LICENSE_FILES = COPYING
|
|
|
|
ifeq ($(BR2_PACKAGE_CAIRO),y)
|
|
FLTK_CONF_OPT += --enable-cairo
|
|
FLTK_DEPENDENCIES += cairo
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_XLIB_LIBXFT),y)
|
|
FLTK_CONF_ENV += ac_cv_path_FTCONFIG=$(STAGING_DIR)/usr/bin/freetype-config
|
|
FLTK_DEPENDENCIES += xlib_libXft
|
|
else
|
|
FLTK_CONF_OPT += --disable-xft
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_XLIB_LIBXINERAMA),y)
|
|
FLTK_DEPENDENCIES += xlib_libXinerama
|
|
else
|
|
FLTK_CONF_OPT += --disable-xinerama
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|