mirror of
https://github.com/MiyooCFW/buildroot.git
synced 2025-09-27 22:24:19 +03:00
Merge from bittboy/buildroot@db180c0
This commit is contained in:
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
19
package/libgdiplus/Config.in
Normal file
19
package/libgdiplus/Config.in
Normal file
@@ -0,0 +1,19 @@
|
||||
config BR2_PACKAGE_LIBGDIPLUS
|
||||
bool "libgdiplus"
|
||||
depends on BR2_PACKAGE_XORG7
|
||||
depends on BR2_USE_WCHAR # libglib2 -> gettext
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2
|
||||
depends on BR2_USE_MMU # libglib2
|
||||
select BR2_PACKAGE_XLIB_LIBXFT
|
||||
select BR2_PACKAGE_LIBGLIB2
|
||||
select BR2_PACKAGE_CAIRO
|
||||
select BR2_PACKAGE_LIBPNG
|
||||
help
|
||||
An Open Source implementation of the GDI+ API.
|
||||
|
||||
https://github.com/mono/libgdiplus
|
||||
|
||||
comment "libgdiplus needs a toolchain w/ wchar, threads"
|
||||
depends on BR2_USE_MMU
|
||||
depends on BR2_PACKAGE_XORG7
|
||||
depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
|
||||
3
package/libgdiplus/libgdiplus.hash
Normal file
3
package/libgdiplus/libgdiplus.hash
Normal file
@@ -0,0 +1,3 @@
|
||||
# Locally computed:
|
||||
sha256 6a75e4a476695cd6a1475fd6b989423ecf73978fd757673669771d8a6e13f756 libgdiplus-5.6.tar.gz
|
||||
sha256 81317bf837e02a116dc20b032fa1d0cbf9ec357621f141ff2c2daf26c17cbb5d LICENSE
|
||||
55
package/libgdiplus/libgdiplus.mk
Normal file
55
package/libgdiplus/libgdiplus.mk
Normal file
@@ -0,0 +1,55 @@
|
||||
################################################################################
|
||||
#
|
||||
# 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))
|
||||
Reference in New Issue
Block a user