c0574a401c
The openjpeg version we have in Buildroot is v1, not v2. Fixes: http://autobuild.buildroot.net/results/e17/e17193604956cc61d47a9913632144601ef72656/ http://autobuild.buildroot.net/results/6b9/6b9d4ce15f54683670af3132ab21a053d9853e6c/ Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
80 lines
1.8 KiB
Makefile
80 lines
1.8 KiB
Makefile
################################################################################
|
|
#
|
|
# poppler
|
|
#
|
|
################################################################################
|
|
|
|
POPPLER_VERSION = 0.32.0
|
|
POPPLER_SOURCE = poppler-$(POPPLER_VERSION).tar.xz
|
|
POPPLER_SITE = http://poppler.freedesktop.org
|
|
POPPLER_DEPENDENCIES = fontconfig
|
|
POPPLER_LICENSE = GPLv2+
|
|
POPPLER_LICENSE_FILES = COPYING
|
|
POPPLER_INSTALL_STAGING = YES
|
|
POPPLER_CONF_OPTS = --with-font-configuration=fontconfig
|
|
|
|
ifeq ($(BR2_PACKAGE_LCMS2),y)
|
|
POPPLER_CONF_OPTS += --enable-cms=lcms2
|
|
POPPLER_DEPENDENCIES += lcms2
|
|
else
|
|
POPPLER_CONF_OPTS += --enable-cms=none
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_TIFF),y)
|
|
POPPLER_CONF_OPTS += --enable-libtiff
|
|
POPPLER_DEPENDENCIES += tiff
|
|
else
|
|
POPPLER_CONF_OPTS += --disable-libtiff
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_JPEG),y)
|
|
POPPLER_CONF_OPTS += --enable-libjpeg
|
|
POPPLER_DEPENDENCIES += jpeg
|
|
else
|
|
POPPLER_CONF_OPTS += --disable-libjpeg
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBPNG),y)
|
|
POPPLER_CONF_OPTS += --enable-libpng
|
|
POPPLER_DEPENDENCIES += libpng
|
|
else
|
|
POPPLER_CONF_OPTS += --disable-libpng
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_ZLIB),y)
|
|
POPPLER_CONF_OPTS += --enable-zlib
|
|
POPPLER_DEPENDENCIES += zlib
|
|
else
|
|
POPPLER_CONF_OPTS += --disable-zlib
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_POPPLER_LIBCURL),y)
|
|
POPPLER_CONF_OPTS += --enable-libcurl
|
|
POPPLER_DEPENDENCIES += libcurl
|
|
else
|
|
POPPLER_CONF_OPTS += --disable-libcurl
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_XORG7),y)
|
|
POPPLER_CONF_OPTS += --with-x
|
|
POPPLER_DEPENDENCIES += xlib_libX11 xlib_libXext
|
|
else
|
|
POPPLER_CONF_OPTS += --without-x
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_POPPLER_QT),y)
|
|
POPPLER_DEPENDENCIES += qt
|
|
POPPLER_CONF_OPTS += --enable-poppler-qt4
|
|
else
|
|
POPPLER_CONF_OPTS += --disable-poppler-qt4
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_OPENJPEG),y)
|
|
POPPLER_DEPENDENCIES += openjpeg
|
|
POPPLER_CONF_OPTS += -enable-libopenjpeg=openjpeg1
|
|
else
|
|
POPPLER_CONF_OPTS += -enable-libopenjpeg=none
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|