|
Lines 28-37
Link Here
|
| 28 |
nls? ( virtual/libintl ) |
28 |
nls? ( virtual/libintl ) |
| 29 |
gtk? ( >=x11-libs/gtk+-2 ) |
29 |
gtk? ( >=x11-libs/gtk+-2 ) |
| 30 |
!gtk? ( |
30 |
!gtk? ( |
| 31 |
Xaw3d? ( x11-libs/Xaw3d ) |
31 |
sdl? ( |
| 32 |
!Xaw3d? ( x11-libs/libXaw ) |
32 |
media-libs/libsdl |
| 33 |
x11-libs/libXmu |
33 |
media-libs/sdl-image |
| 34 |
x11-libs/libXpm |
34 |
) |
|
|
35 |
!sdl? ( |
| 36 |
Xaw3d? ( x11-libs/Xaw3d ) |
| 37 |
!Xaw3d? ( x11-libs/libXaw ) |
| 38 |
x11-libs/libXmu |
| 39 |
x11-libs/libXpm |
| 40 |
) |
| 35 |
) |
41 |
) |
| 36 |
alsa? ( |
42 |
alsa? ( |
| 37 |
media-libs/alsa-lib |
43 |
media-libs/alsa-lib |
|
Lines 56-61
Link Here
|
| 56 |
elog "The Freeciv Client will be built with the GTK+-2 toolkit" |
62 |
elog "The Freeciv Client will be built with the GTK+-2 toolkit" |
| 57 |
elif use Xaw3d ; then |
63 |
elif use Xaw3d ; then |
| 58 |
elog "The Freeciv Client will be built with the Xaw3d toolkit" |
64 |
elog "The Freeciv Client will be built with the Xaw3d toolkit" |
|
|
65 |
elif use sdl ; then |
| 66 |
elog "The Freeciv Client will be built with the SDL toolkit" |
| 59 |
else |
67 |
else |
| 60 |
elog "The Freeciv Client will be built with the Xaw toolkit" |
68 |
elog "The Freeciv Client will be built with the Xaw toolkit" |
| 61 |
fi |
69 |
fi |
|
Lines 112-117
Link Here
|
| 112 |
myclient="no" |
120 |
myclient="no" |
| 113 |
else |
121 |
else |
| 114 |
myclient="xaw" |
122 |
myclient="xaw" |
|
|
123 |
use sdl && myclient="sdl" |
| 115 |
use Xaw3d && myclient="xaw3d" |
124 |
use Xaw3d && myclient="xaw3d" |
| 116 |
if use gtk ; then |
125 |
if use gtk ; then |
| 117 |
myclient="gtk-2.0" |
126 |
myclient="gtk-2.0" |
|
Lines 141-147
Link Here
|
| 141 |
|
150 |
|
| 142 |
if ! use dedicated ; then |
151 |
if ! use dedicated ; then |
| 143 |
# Install the app-defaults if Xaw/Xaw3d toolkit |
152 |
# Install the app-defaults if Xaw/Xaw3d toolkit |
| 144 |
if ! use gtk ; then |
153 |
if ! use gtk && ! use sdl ; then |
| 145 |
insinto /etc/X11/app-defaults |
154 |
insinto /etc/X11/app-defaults |
| 146 |
doins data/Freeciv || die "doins failed" |
155 |
doins data/Freeciv || die "doins failed" |
| 147 |
fi |
156 |
fi |