[aur-general] When to use optdepends (was: AUR package q -- newbie)
mail at hashworks.net
Tue May 12 14:08:33 UTC 2020
On Tue, 12 May 2020 15:55:58 +0200
Markus Schaaf <mschaaf at elaboris.de> 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.
Public Key 0x4FE7F4FEAC8EBE67
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 833 bytes
Desc: OpenPGP digital signature
More information about the aur-general