Update buildroot 2020.02.01 (#622)
* Update buildroot 2020.02.01 Signed-off-by: Pascal Vizeli <pvizeli@syshack.ch> * Fix LN * Fix wpa Signed-off-by: Pascal Vizeli <pvizeli@syshack.ch> * Fix lint Signed-off-by: Pascal Vizeli <pvizeli@syshack.ch> * fix-network Signed-off-by: Pascal Vizeli <pvizeli@syshack.ch> * Fix script Signed-off-by: Pascal Vizeli <pvizeli@syshack.ch>
This commit is contained in:
26
buildroot/package/imagemagick/Config.in.host
Normal file
26
buildroot/package/imagemagick/Config.in.host
Normal file
@@ -0,0 +1,26 @@
|
||||
config BR2_PACKAGE_HOST_IMAGEMAGICK
|
||||
bool "host imagemagick"
|
||||
help
|
||||
ImageMagick(R) is a software suite to create, edit, and
|
||||
compose bitmap images. It can read, convert and write images
|
||||
in a variety of formats (about 100) including DPX, EXR, GIF,
|
||||
JPEG, JPEG-2000, PDF, PhotoCD, PNG, Postscript, SVG, and TIFF.
|
||||
Use ImageMagick to translate, flip, mirror, rotate, scale,
|
||||
shear and transform images, adjust image colors, apply various
|
||||
special effects, or draw text, lines, polygons, ellipses and
|
||||
Bézier curves.
|
||||
|
||||
http://www.imagemagick.org/
|
||||
|
||||
if BR2_PACKAGE_HOST_IMAGEMAGICK
|
||||
|
||||
config BR2_PACKAGE_HOST_IMAGEMAGICK_SVG
|
||||
bool "SVG support"
|
||||
help
|
||||
Say 'y' here is you need ImageMagick tools (like convert)
|
||||
to support SVG.
|
||||
|
||||
This is not enabled by default, as it brings quite a few
|
||||
extra dependencies, and thus extra build time.
|
||||
|
||||
endif
|
||||
@@ -18,10 +18,13 @@ ifeq ($(BR2_INSTALL_LIBSTDCPP)$(BR2_USE_WCHAR),yy)
|
||||
IMAGEMAGICK_CONFIG_SCRIPTS += Magick++-config
|
||||
endif
|
||||
|
||||
IMAGEMAGICK_CONF_ENV = ac_cv_sys_file_offset_bits=64
|
||||
IMAGEMAGICK_CONF_ENV = \
|
||||
ac_cv_sys_file_offset_bits=64 \
|
||||
ax_cv_check_cl_libcl=no
|
||||
|
||||
IMAGEMAGICK_CONF_OPTS = \
|
||||
--program-transform-name='s,,,' \
|
||||
--disable-opencl \
|
||||
--disable-openmp \
|
||||
--without-djvu \
|
||||
--without-dps \
|
||||
@@ -152,6 +155,7 @@ IMAGEMAGICK_CONF_OPTS += --without-bzlib
|
||||
endif
|
||||
|
||||
HOST_IMAGEMAGICK_CONF_OPTS = \
|
||||
--disable-opencl \
|
||||
--disable-openmp \
|
||||
--without-djvu \
|
||||
--without-dps \
|
||||
@@ -168,21 +172,18 @@ HOST_IMAGEMAGICK_CONF_OPTS = \
|
||||
--without-x \
|
||||
--without-bzlib \
|
||||
--without-fftw \
|
||||
--without-fontconfig \
|
||||
--without-freetype \
|
||||
--without-lcms \
|
||||
--without-lzma \
|
||||
--without-pango \
|
||||
--without-rsvg \
|
||||
--without-tiff \
|
||||
--without-webp \
|
||||
--without-xml \
|
||||
--with-jpeg \
|
||||
--with-png \
|
||||
--with-zlib
|
||||
|
||||
# uses clock_gettime, which was provided by librt in glibc < 2.17
|
||||
HOST_IMAGEMAGICK_CONF_ENV = LIBS="-lrt"
|
||||
HOST_IMAGEMAGICK_CONF_ENV = \
|
||||
LIBS="-lrt" \
|
||||
ax_cv_check_cl_libcl=no
|
||||
|
||||
HOST_IMAGEMAGICK_DEPENDENCIES = \
|
||||
host-libjpeg \
|
||||
@@ -190,5 +191,28 @@ HOST_IMAGEMAGICK_DEPENDENCIES = \
|
||||
host-pkgconf \
|
||||
host-zlib
|
||||
|
||||
ifeq ($(BR2_PACKAGE_HOST_IMAGEMAGICK_SVG),y)
|
||||
HOST_IMAGEMAGICK_DEPENDENCIES += \
|
||||
host-fontconfig \
|
||||
host-freetype \
|
||||
host-librsvg \
|
||||
host-libxml2 \
|
||||
host-pango
|
||||
HOST_IMAGEMAGICK_CONF_ENV += ac_cv_path_xml2_config=$(HOST_DIR)/bin/xml2-config
|
||||
HOST_IMAGEMAGICK_CONF_OPTS += \
|
||||
--with-fontconfig \
|
||||
--with-freetype \
|
||||
--with-pango \
|
||||
--with-rsvg \
|
||||
--with-xml
|
||||
else
|
||||
HOST_IMAGEMAGICK_CONF_OPTS += \
|
||||
--without-fontconfig \
|
||||
--without-freetype \
|
||||
--without-pango \
|
||||
--without-rsvg \
|
||||
--without-xml
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
||||
$(eval $(host-autotools-package))
|
||||
|
||||
Reference in New Issue
Block a user