Lucas C. Villa Real a écrit :
> I think the best thing to do is to define "standard"
> configure_options, and let the user override that later in the command
> line (with Compile --configure-options) or by modifying the recipe,
> which might have some commented entries. The latter is already
> happening in some recipes such as Qt, IIRC.

Maybe it could be possible to have a way to add configure option if a
package is installed, for example :

configure_options_AAlib=(
  "--enable-aalib"
}

This way you can add all the dependencies you want, they would only be
configured if they are installed.

The problem if the dependencies are reduced to a minimum is that a user
may not be aware that there are optional dependencies available. Typically
for VLC, I guess that most users would like it to support as many format
as possible while few users would like to restrict the supported format to
a specific list. With optional dependencies, the dialog would be:

Mandatory dependency libpng is not installed: [i]install/[s]kip ?
Optional dependency AAlib is not installed: [i]install/[s]kip ?

And when optional dependencies are selected, the recipe takes care of
enabling it if necessary.

Laurent


_______________________________________________
gobolinux-devel mailing list
gobolinux-devel@lists.gobolinux.org
http://lists.gobolinux.org/mailman/listinfo/gobolinux-devel

Reply via email to