a8969cf2ff
As part of this bump, we backport two upstream patches that fix the license text to really reflect the license of the project. The second patch was prompted by a bug report made by Arnout Vandecappelle (https://github.com/mono/libgdiplus/issues/375), following a discussion on the Buildroot mailing list. The first patch is needed as a dependency of this first patch. Since both patches are upstream, they can be dropped during the next version bump. So now, the license text is the one of the MIT license, which matches the header comments in all source files, making the comment about the <pkg>_LICENSE variable in libgdiplus.mk irrelevant. The hash of the license file is updated as well. Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> [Thomas: update licensing aspects.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
56 lines
1.4 KiB
Makefile
56 lines
1.4 KiB
Makefile
################################################################################
|
|
#
|
|
# libgdiplus
|
|
#
|
|
################################################################################
|
|
|
|
LIBGDIPLUS_VERSION = 5.6
|
|
LIBGDIPLUS_SITE = $(call github,mono,libgdiplus,$(LIBGDIPLUS_VERSION))
|
|
|
|
LIBGDIPLUS_LICENSE = MIT
|
|
LIBGDIPLUS_LICENSE_FILES = LICENSE
|
|
|
|
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))
|