1 |
On Wednesday 07 April 2004 21:06, Corvus Corax wrote: |
2 |
> Am Wed, 7 Apr 2004 17:24:53 +0200 |
3 |
> |
4 |
> schrieb Corvus Corax <corvus-ml@×××××××××××.com>: |
5 |
> > i plan writing an ebuild for my little software project, motiontrack, |
6 |
> > (motiontrack.sf.net) which needs an image I/O library, either libGD or |
7 |
> > ImageMagick to compile. |
8 |
> |
9 |
> thank you all for your comments :-) |
10 |
> |
11 |
> I have submitted the ebuild to bugs.gentoo.org, hope the approach is |
12 |
apropriate: |
13 |
> > DEPEND="libgd? ( media-libs/libgd ) |
14 |
> > imagemagick? ( media-gfx/imagemagick ) : ( media-libs/libgd )" |
15 |
> |
16 |
|
17 |
Unfortunately it is not. It will depend on both libraries if both useflags are |
18 |
present. The best approach probably is: |
19 |
DEPEND="imagemagick? ( libgd? ( media-libs/libgd ) : media-gfx/imagemagick ) : |
20 |
( media-libgs/libgd? )" |
21 |
|
22 |
Paul |
23 |
|
24 |
-- |
25 |
Paul de Vrieze |
26 |
Gentoo Developer |
27 |
Mail: pauldv@g.o |
28 |
Homepage: http://www.devrieze.net |