On Tue, 12 May 2020 15:55:58 +0200
Markus Schaaf <[email protected]> wrote:

> > It's not really clear to me when to optdepend.  
> 
> Comments welcome. My idea is to use optdepends for things the user may
> want, but it's not obvious how to make them work, like a glue-library
> the application needs to use another facility, e.g. gpgme to use gpg,
> or ghostscript to produce PDF.

I always ask myself: Is the dep not required for the core functionality
of the package, as in: Are there users that could use this package
without it? If so, add it as optdepends and specify the
functionality/feature the user might need it for.

It should be the place to go when some feature doesn't work and might
need another package. 

-- 
hashworks

Web        https://hashworks.net
Public Key 0x4FE7F4FEAC8EBE67

Attachment: pgpBoN9Dniu9U.pgp
Description: OpenPGP digital signature

Reply via email to