package/imagemagick: add prompt for host variant
authorYann E. MORIN <yann.morin@orange.com>
Tue, 19 Feb 2019 13:15:29 +0000 (14:15 +0100)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sun, 23 Jun 2019 15:34:49 +0000 (17:34 +0200)
Sometimes, it is required to call imagemagick from a post-build script
or the likes, so we have to allow the user to enable the host variant
for imagemagick.

Update the linux package to select the host variant now.

Signed-off-by: "Yann E. MORIN" <yann.morin@orange.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
linux/Config.in
package/Config.in.host
package/imagemagick/Config.in.host [new file with mode: 0644]

index 0bc9612551b51125f30d0a3ef3989c903a3456a1..9b8db5d4c0b133542386653c67682e87686b9eb3 100644 (file)
@@ -2,6 +2,7 @@ menu "Kernel"
 
 config BR2_LINUX_KERNEL
        bool "Linux Kernel"
+       select BR2_PACKAGE_HOST_IMAGEMAGICK if BR2_LINUX_KERNEL_CUSTOM_LOGO_PATH != ""
        help
          Enable this option if you want to build a Linux kernel for
          your embedded device
index d1c6d0d81f4f26b54699509de03dd041a4e506f9..1501889b72ccce969b7b893578aa24584366a709 100644 (file)
@@ -28,6 +28,7 @@ menu "Host utilities"
        source "package/go-bootstrap/Config.in.host"
        source "package/google-breakpad/Config.in.host"
        source "package/gptfdisk/Config.in.host"
+       source "package/imagemagick/Config.in.host"
        source "package/imx-mkimage/Config.in.host"
        source "package/imx-usb-loader/Config.in.host"
        source "package/jq/Config.in.host"
diff --git a/package/imagemagick/Config.in.host b/package/imagemagick/Config.in.host
new file mode 100644 (file)
index 0000000..56d45df
--- /dev/null
@@ -0,0 +1,13 @@
+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/