Lines 12-20
Link Here
|
12 |
IUSE="gnome joystick odbc opengl sdl X" |
12 |
IUSE="gnome joystick odbc opengl sdl X" |
13 |
RDEPEND="${RDEPEND} |
13 |
RDEPEND="${RDEPEND} |
14 |
opengl? ( virtual/opengl ) |
14 |
opengl? ( virtual/opengl ) |
15 |
>=x11-libs/gtk+-2.0 |
15 |
X? ( >=x11-libs/gtk+-2.0 |
16 |
>=dev-libs/glib-2.0 |
16 |
>=dev-libs/glib-2.0 |
17 |
media-libs/tiff |
17 |
media-libs/tiff ) |
18 |
odbc? ( dev-db/unixODBC ) |
18 |
odbc? ( dev-db/unixODBC ) |
19 |
!mips? ( !arm? ( !hppa? ( !ia64? ( !ppc64? ( !alpha? ( !sparc? ( sdl? ( media-libs/sdl-sound ) ) ) ) ) ) ) )" |
19 |
!mips? ( !arm? ( !hppa? ( !ia64? ( !ppc64? ( !alpha? ( !sparc? ( sdl? ( media-libs/sdl-sound ) ) ) ) ) ) ) )" |
20 |
|
20 |
|
Lines 30-46
Link Here
|
30 |
src_compile() { |
30 |
src_compile() { |
31 |
gnuconfig_update |
31 |
gnuconfig_update |
32 |
myconf="${myconf} |
32 |
myconf="${myconf} |
33 |
--with-png |
33 |
$(use_with sdl)" |
34 |
--with-jpeg |
34 |
if use X; then |
35 |
--with-tiff |
35 |
myconf="${myconf} |
36 |
$(use_enable opengl) |
36 |
--with-png |
37 |
$(use_with opengl) |
37 |
--with-jpeg |
38 |
$(use_with gnome gnomeprint) |
38 |
--with-tiff |
39 |
$(use_with sdl) |
39 |
$(use_enable opengl) |
40 |
$(use_enable joystick)" |
40 |
$(use_with opengl) |
|
|
41 |
$(use_with gnome gnomeprint) |
42 |
$(use_enable joystick)" |
43 |
fi |
41 |
|
44 |
|
42 |
use X && configure_build gtk2 unicode "${myconf} --with-gtk=2" |
45 |
use X && configure_build gtk2 unicode "${myconf} --with-gtk=2" |
43 |
use X || configure_build base unicode "--disable-gui" |
46 |
use X || configure_build base unicode "${myconf} --disable-gui" |
44 |
} |
47 |
} |
45 |
|
48 |
|
46 |
src_install() { |
49 |
src_install() { |