Gentoo Archives: gentoo-dev

From: AGottinger@t-online.de (Achim Gottinger)
To: gentoo-dev@××××××××××.org
Subject: Re: [gentoo-dev] sawfish-0.38.ebuild
Date: Sun, 08 Jul 2001 14:19:03
Message-Id: 3B48ADBF.7AC77EE7@gentoo.org
In Reply to: Re: [gentoo-dev] sawfish-0.38.ebuild by Terje Kvernes
1 Terje Kvernes wrote:
2 >
3 > AGottinger@××××××××.de (Achim Gottinger) writes:
4 >
5 > > Mikael Hallendal wrote:
6 > >
7 > > > Since I'm moving gdk-pixbuf to media-libs perhaps this should be
8 > > > rethinked? Are there other packages where you can choose between
9 > > > imlib and gdk-pixbuf?
10 > >
11 > > Hmm, yes with our new use variables we can define it like
12 > >
13 > > gnome(libs,core) media(imlib,gdkpixbuf)
14 >
15 > will this preserve order? as in, if I say "imlib,gdkpixbuf" will it
16 > use imlib over gdkpixbuf where it can, and gdkpixbuf elsewhere?
17 >
18
19 you must define the order in the ebuild.
20 example:
21
22 if [ "`use media/gdkpix`" ] ; then
23 myconf="--with-gdkpixbuf"
24 else
25 myconf="--without-gdkpixbuf"
26 if [ "`use gdkpixbuf`" ] ; then
27 myconf="--with-imlib"
28 fi
29 fi
30
31 try ./configure .... $myconf
32
33 bye achim~
34
35 > --
36 > Terje
37 >
38 > _______________________________________________
39 > gentoo-dev mailing list
40 > gentoo-dev@××××××××××.org
41 > http://cvs.gentoo.org/mailman/listinfo/gentoo-dev

Replies

Subject Author
Re: [gentoo-dev] sawfish-0.38.ebuild Daniel Robbins <drobbins@g.o>