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

Message ID 1527628939-7389-2-git-send-email-angelo@amarulasolutions.com
State New
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(+)

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))