Lines 10-37
Link Here
|
10 |
|
10 |
|
11 |
DEPEND="virtual/x11 |
11 |
DEPEND="virtual/x11 |
12 |
>=x11-libs/gtk+-1.2.10-r4 |
12 |
>=x11-libs/gtk+-1.2.10-r4 |
13 |
gnome? ( >=media-libs/gdk-pixbuf-0.11.0-r1 )" |
13 |
gnome? ( >=media-libs/gdk-pixbuf-0.11.0-r1 ) |
|
|
14 |
nls? ( sys-devel/gettext )" |
14 |
|
15 |
|
15 |
if [ -z "`use gnome`" ] |
16 |
use gnome || DEPEND="${DEPEND} >=media-libs/imlib-1.9.10-r1" |
16 |
then |
|
|
17 |
DEPEND="${DEPEND} >=media-libs/imlib-1.9.10-r1" |
18 |
fi |
19 |
|
17 |
|
20 |
src_compile() { |
18 |
src_compile() { |
21 |
local myconf |
19 |
local myconf |
22 |
|
20 |
|
23 |
if [ "`use gnome`" ] |
21 |
if [ "`use gnome`" ] |
24 |
then |
22 |
then |
25 |
myconf="--enable-imlib=no --enable-gdk-pixbuf=/usr" |
23 |
myconf="--enable-imlib=no --enable-gdk-pixbuf=/usr" |
|
|
24 |
myconf="${myconf} --enable-gdm" |
26 |
fi |
25 |
fi |
|
|
26 |
|
27 |
use nls || myconf="${myconf} --disable-nls" |
27 |
|
28 |
|
28 |
./configure --host=${CHOST} \ |
29 |
./configure --host=${CHOST} \ |
29 |
--prefix=/usr \ |
30 |
--prefix=/usr \ |
30 |
--mandir=/usr/share/man \ |
31 |
--mandir=/usr/share/man \ |
31 |
--with-data-dir=/usr/share/xfce \ |
32 |
--with-data-dir=/usr/share/xfce \ |
32 |
--with-conf-dir=/etc/xfce \ |
33 |
--with-conf-dir=/etc/xfce \ |
33 |
--with-locale-dir=/usr/share/locale ${myconf} |
34 |
--enable-xft \ |
34 |
try make |
35 |
--with-locale-dir=/usr/share/locale ${myconf} || die |
|
|
36 |
emake || die |
35 |
} |
37 |
} |
36 |
|
38 |
|
37 |
src_install () { |
39 |
src_install () { |