[Slackbuilds-users] OPTIONAL field [was: qemu/spice-gtk and usbredir]

Thomas Szteliga ts at websafe.pl
Mon Nov 7 11:50:48 UTC 2016

On 11/07/2016 12:14 PM, Andrzej Telszewski wrote:
> I haven't slept too long and came up with the following idea
> (this assumes that we do *somehow* agree on some tags in README):
> The following optional, not auto-detected packages enable additional
> features (you need to install the package and set environment variable):
> [opt] libass, [env] ASS=yes|no [/opt], for ASS support,
> [opt] libbluray, [env] BLURAY=yes|no [/opt], for BLURAY support,
> [opt] libiec61883, libavc1394, [env] IEC61883=yes|no [/opt], for
> IEC61883 support,

IMVHO that's way too complicated.

My suggestion:


Slackbuilds could simply enable/disable optional deps
by checking if the defined package is available in /var/log/packages.

Thomas Szteliga

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3719 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20161107/45399b4c/attachment.p7s>

More information about the SlackBuilds-users mailing list