package/imagemagick: host svg support needs host gcc >= 4.8
authorBernd Kuhls <bernd.kuhls@t-online.de>
Sat, 3 Aug 2019 19:14:54 +0000 (21:14 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sun, 11 Aug 2019 20:50:17 +0000 (22:50 +0200)
Due to the harfbuzz bump to version 2.5.2 host SVG support needs host
gcc >= 4.8.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/imagemagick/Config.in.host

index bbe23baa6fcb1e892821352bda0a8cfc5e8eac3c..5a87a130ee8377f54a28a71931524a86cedb19ca 100644 (file)
@@ -16,6 +16,7 @@ if BR2_PACKAGE_HOST_IMAGEMAGICK
 
 config BR2_PACKAGE_HOST_IMAGEMAGICK_SVG
        bool "SVG support"
+       depends on BR2_HOST_GCC_AT_LEAST_4_8 # host-librsvg -> host-pango -> host-harfbuzz
        help
          Say 'y' here is you need ImageMagick tools (like convert)
          to support SVG.
@@ -23,4 +24,7 @@ config BR2_PACKAGE_HOST_IMAGEMAGICK_SVG
          This is not enabled by default, as it brings quite a few
          extra dependencies, and thus extra build time.
 
+comment "SVG support needs host gcc >= 4.8"
+       depends on !BR2_HOST_GCC_AT_LEAST_4_8
+
 endif