package/imagemagick: add optional support for webp
PATCH 1/1 package/imagemagick: add optional support for webp
When webp was compiled before, imagemagick will use it as optional dependency:
$ output/host/usr/bin/x86_64-linux-readelf -a output/target/usr/bin/stream | grep NEEDED 0x0000000000000001 (NEEDED) Shared library: [libMagickCore-6.Q16.so.2] 0x0000000000000001 (NEEDED) Shared library: [libMagickWand-6.Q16.so.2] 0x0000000000000001 (NEEDED) Shared library: [libjpeg.so.8] 0x0000000000000001 (NEEDED) Shared library: [libwebp.so.5] [...]
Signed-off-by Bernd Kuhls <[email protected]>
--- package/imagemagick/imagemagick.mk | 7 +++++++ 1 file changed, 7 insertions(+)
package/imagemagick/imagemagick.mk +7 -0
@@ -105,6 +105,13 @@ else IMAGEMAGICK_CONF_OPTS += --without-fftw endif +ifeq ($(BR2_PACKAGE_WEBP),y) +IMAGEMAGICK_CONF_OPTS += --with-webp +IMAGEMAGICK_DEPENDENCIES += webp +else +IMAGEMAGICK_CONF_OPTS += --without-webp +endif + ifeq ($(BR2_PACKAGE_ZLIB),y) IMAGEMAGICK_CONF_OPTS += --with-zlib IMAGEMAGICK_DEPENDENCIES += zlib
Signature · 1 line
2.7.0
Thomas Petazzoni
AppliedPATCH 1/1 package/imagemagick: add optional support for webp
Dear Bernd Kuhls,
Quoted 10 lines · Bernd Kuhls
When webp was compiled before, imagemagick will use it as optional dependency:
$ output/host/usr/bin/x86_64-linux-readelf -a output/target/usr/bin/stream | grep NEEDED 0x0000000000000001 (NEEDED) Shared library: [libMagickCore-6.Q16.so.2] 0x0000000000000001 (NEEDED) Shared library: [libMagickWand-6.Q16.so.2] 0x0000000000000001 (NEEDED) Shared library: [libjpeg.so.8] 0x0000000000000001 (NEEDED) Shared library: [libwebp.so.5] [...]
Quoted 4 lines
Signed-off-by Bernd Kuhls <[email protected]>--- package/imagemagick/imagemagick.mk | 7 +++++++ 1 file changed, 7 insertions(+)
Applied to master, thanks.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com