[v3,1/4] package/imagemagick: add host package

Message ID 1527628939-7389-2-git-send-email-angelo@amarulasolutions.com
State Changes Requested
Headers show
Series
  • Linux custom logo
Related show

Commit Message

Angelo Compagnucci May 29, 2018, 9:22 p.m.
From: Angelo Compagnucci <angelo.compagnucci@gmail.com>

This patch add the host package for imagemagick.
It comes with a minimal selection of configure options to
compile fast, it's indeed only used to convert
the image file for the custom linux logo.

Signed-off-by: Angelo Compagnucci <angelo@amarulasolutions.com>
---
 package/imagemagick/imagemagick.mk | 11 +++++++++++
 1 file changed, 11 insertions(+)

Comments

Yann E. MORIN June 30, 2018, 8:45 p.m. | #1
Angelo, All,

On 2018-05-29 23:22 +0200, Angelo Compagnucci spake thusly:
> From: Angelo Compagnucci <angelo.compagnucci@gmail.com>
> 
> This patch add the host package for imagemagick.
> It comes with a minimal selection of configure options to
> compile fast, it's indeed only used to convert
> the image file for the custom linux logo.
> 
> Signed-off-by: Angelo Compagnucci <angelo@amarulasolutions.com>

Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

Regards,
Yann E. MORIN.

> ---
>  package/imagemagick/imagemagick.mk | 11 +++++++++++
>  1 file changed, 11 insertions(+)
> 
> diff --git a/package/imagemagick/imagemagick.mk b/package/imagemagick/imagemagick.mk
> index 1165438..c319589 100644
> --- a/package/imagemagick/imagemagick.mk
> +++ b/package/imagemagick/imagemagick.mk
> @@ -143,4 +143,15 @@ else
>  IMAGEMAGICK_CONF_OPTS += --without-bzlib
>  endif
>  
> +HOST_IMAGEMAGICK_CONF_OPTS = \
> +	--with-jpeg \
> +	--with-png \
> +	--with-zlib
> +
> +HOST_IMAGEMAGICK_DEPENDENCIES = \
> +	host-libjpeg \
> +	host-libpng \
> +	host-zlib
> +
>  $(eval $(autotools-package))
> +$(eval $(host-autotools-package))
> -- 
> 2.7.4
> 
> _______________________________________________
> buildroot mailing list
> buildroot@busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot

Patch

diff --git a/package/imagemagick/imagemagick.mk b/package/imagemagick/imagemagick.mk
index 1165438..c319589 100644
--- a/package/imagemagick/imagemagick.mk
+++ b/package/imagemagick/imagemagick.mk
@@ -143,4 +143,15 @@  else
 IMAGEMAGICK_CONF_OPTS += --without-bzlib
 endif
 
+HOST_IMAGEMAGICK_CONF_OPTS = \
+	--with-jpeg \
+	--with-png \
+	--with-zlib
+
+HOST_IMAGEMAGICK_DEPENDENCIES = \
+	host-libjpeg \
+	host-libpng \
+	host-zlib
+
 $(eval $(autotools-package))
+$(eval $(host-autotools-package))