-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jeroen Roovers wrote:
> On Thu, 1 Nov 2007 23:32:34 +0200
> Samuli Suominen <[EMAIL PROTECTED]> wrote:
> 
>> I'd like to add USE modplug to use.desc. I'll do it tomorrow,
>> unless someone objects.
> 
> Remember that tomorrow is always too soon in projects like Gentoo. :)
> 
> $ euses -s mod fmod modplug
> media-video/vlc:mod - Enables Mod demux support.
> games-strategy/dark-oberon:fmod - Add sound support (fmod)
> media-libs/panda3d:fmod - Enables support for using mod files for audio
> support gnustep-apps/cynthiune:modplug - Build with modplug support
> media-libs/xine-lib:modplug - Build with modplug support
> media-plugins/audacious-plugins:modplug - Build with modplug support
> media-sound/audacious:modplug - Build with modplug support
> media-sound/bmpx:modplug - Build with modplug support
> media-sound/cmus:modplug - Build with modplug support
> media-sound/herrie:modplug - Build with modplug support
> media-sound/moc:modplug - Add support for modplug
> 
> That's three USE flags describing the same support for (playing) mod
> files, but ebuilds depend on either media-libs/{fmod,libmodplug} and
> the former has its own USE flag.
> 
> media-video/vlc has a libmodplug dependency and should probably be
> changed to use IUSE=modplug instead of IUSE=mod, if USE=modplug goes
> global.

Another prime example for use flags with more than two values:

mod=off
mod=fmod
mod=libmodplug

the first for disabling mod support, the second for enabling it and preferring
fmod implementation, the third for enabling it and preferring libmodplug
implementation.

Marijn

- --
Marijn Schouten (hkBst), Gentoo Lisp project
<http://www.gentoo.org/proj/en/lisp/>, #gentoo-lisp on FreeNode
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHKxrHp/VmCx0OL2wRApqiAJ9gDyyqH4JdJu4p8MzmcWOGuBVzHwCfXR1/
WHIaIUtpJqfM0SW+GMdEl9A=
=fQgi
-----END PGP SIGNATURE-----
-- 
[EMAIL PROTECTED] mailing list

Reply via email to