Bug 256434

Summary: graphics/ImageMagick7: Add option to build without video support (ffmpeg)
Product: Ports & Packages Reporter: Marián Černý <majo-bugs.freebsd.org>
Component: Individual Port(s)Assignee: Koop Mast <kwm>
Status: New ---    
Severity: Affects Only Me Flags: bugzilla: maintainer-feedback? (kwm)
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   

Description Marián Černý 2021-06-06 06:14:46 UTC
Recent update of the ImageMagick7 port to version 7.0.11.12 added multimedia/ffmpeg as a dependency. We are using ImageMagick to only process images and ffmpeg is quite a huge dependency (by default). It would be nice to add an option (maybe disabled by default) to build ImageMagick7 with or without video support (ffmpeg). Quickly looking at the output of ./configure I do not see any option to enable/disable video support, however when deinstalling ffmpeg and running ./configure manually, there is no video delegate shown in the result of ./configure:

  DELEGATES       = bzlib fontconfig freetype jbig jng jpeg lcms lqr lzma openjp2 png tiff webp x xml zip zlib zstd

With ffmpeg installed the result of ./configure shows also the video delegate:

  DELEGATES       = bzlib fontconfig freetype jbig jng jpeg lcms lqr lzma openjp2 png tiff video webp x xml zip zlib zstd