5b6dd17b86
- bump to version 6.1 - updated makefile to download source from https://download.mono-project.com/sources/libgdiplus/ instead of github to avoid submodule build error from ./update_submodules.sh Signed-off-by: Kalpesh Panchal <kalpesh.panchal2@collins.com> Signed-off-by: Brandon Maier <brandon.maier@collins.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
57 lines
1.4 KiB
Makefile
57 lines
1.4 KiB
Makefile
################################################################################
|
|
#
|
|
# libgdiplus
|
|
#
|
|
################################################################################
|
|
|
|
LIBGDIPLUS_VERSION = 6.1
|
|
LIBGDIPLUS_SITE = https://download.mono-project.com/sources/libgdiplus
|
|
|
|
LIBGDIPLUS_LICENSE = MIT
|
|
LIBGDIPLUS_LICENSE_FILES = LICENSE
|
|
LIBGDIPLUS_CPE_ID_VENDOR = mono-project
|
|
|
|
LIBGDIPLUS_INSTALL_STAGING = YES
|
|
|
|
# github tarball doesn't have configure
|
|
LIBGDIPLUS_AUTORECONF = YES
|
|
|
|
LIBGDIPLUS_DEPENDENCIES = xlib_libXft libglib2 cairo libpng host-pkgconf
|
|
|
|
ifeq ($(BR2_PACKAGE_GIFLIB),y)
|
|
LIBGDIPLUS_CONF_OPTS += --with-libgif
|
|
LIBGDIPLUS_DEPENDENCIES += giflib
|
|
else
|
|
LIBGDIPLUS_CONF_OPTS += --without-libgif
|
|
endif
|
|
|
|
# there is a bug in the configure script that enables pango support
|
|
# when passing --without-pango, so let's just not use it
|
|
ifeq ($(BR2_PACKAGE_PANGO),y)
|
|
LIBGDIPLUS_CONF_OPTS += --with-pango
|
|
LIBGDIPLUS_DEPENDENCIES += pango
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBEXIF),y)
|
|
LIBGDIPLUS_CONF_OPTS += --with-libexif
|
|
LIBGDIPLUS_DEPENDENCIES += libexif
|
|
else
|
|
LIBGDIPLUS_CONF_OPTS += --without-libexif
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_JPEG),y)
|
|
LIBGDIPLUS_CONF_OPTS += --with-libjpeg=$(STAGING_DIR)/usr
|
|
LIBGDIPLUS_DEPENDENCIES += jpeg
|
|
else
|
|
LIBGDIPLUS_CONF_OPTS += --without-libjpeg
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_TIFF),y)
|
|
LIBGDIPLUS_CONF_OPTS += --with-libtiff=$(STAGING_DIR)/usr
|
|
LIBGDIPLUS_DEPENDENCIES += tiff
|
|
else
|
|
LIBGDIPLUS_CONF_OPTS += --without-libtiff
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|