[Bug 264798] graphics/webp: Conditionalize image converters

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 20 Jun 2022 22:02:26 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=264798

            Bug ID: 264798
           Summary: graphics/webp: Conditionalize image converters
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: sunpoet@FreeBSD.org
          Reporter: adamw@FreeBSD.org
          Assignee: sunpoet@FreeBSD.org
             Flags: maintainer-feedback?(sunpoet@FreeBSD.org)

Created attachment 234828
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=234828&action=edit
IMGCONV option

Hi Po-Chuan!

gohugo recently added a hard dep on WebP. The problem is that WebP has hard
deps on a lot of other graphics libraries that aren't a part of the actual WebP
decoder library.

WebP uses those other libraries for command-line image conversion tools. This
patch adds an IMGCONV option (enabled by default so the default package won't
change). With IMGCONV disabled, WebP becomes just a library with a few file
info tools.

The default package doesn't change, but I bumped PORTREVISION anyway just in
case. I'm not confident about it... I'll leave that to your discretion.

-- 
You are receiving this mail because:
You are the assignee for the bug.