|
Lines 13-19
Link Here
|
| 13 |
LICENSE="LGPL-2.1" |
13 |
LICENSE="LGPL-2.1" |
| 14 |
SLOT="0" |
14 |
SLOT="0" |
| 15 |
KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" |
15 |
KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" |
| 16 |
IUSE="X cuda" |
16 |
IUSE="X cuda ps3" |
| 17 |
|
17 |
|
| 18 |
RDEPEND=" |
18 |
RDEPEND=" |
| 19 |
!sci-misc/boinc-bin |
19 |
!sci-misc/boinc-bin |
|
Lines 36-41
Link Here
|
| 36 |
>=x11-libs/libnotify-0.7 |
36 |
>=x11-libs/libnotify-0.7 |
| 37 |
x11-libs/wxGTK:2.8[X,opengl] |
37 |
x11-libs/wxGTK:2.8[X,opengl] |
| 38 |
) |
38 |
) |
|
|
39 |
ps3? ( |
| 40 |
sys-libs/libspe2 |
| 41 |
) |
| 39 |
" |
42 |
" |
| 40 |
DEPEND="${RDEPEND} |
43 |
DEPEND="${RDEPEND} |
| 41 |
sys-devel/gettext |
44 |
sys-devel/gettext |
|
Lines 65-70
Link Here
|
| 65 |
|
68 |
|
| 66 |
src_configure() { |
69 |
src_configure() { |
| 67 |
local wxconf="" |
70 |
local wxconf="" |
|
|
71 |
local ps3conf="" |
| 68 |
|
72 |
|
| 69 |
# define preferable CFLAGS (recommended by upstream) |
73 |
# define preferable CFLAGS (recommended by upstream) |
| 70 |
append-flags -O3 -funroll-loops -fforce-addr -ffast-math |
74 |
append-flags -O3 -funroll-loops -fforce-addr -ffast-math |
|
Lines 80-85
Link Here
|
| 80 |
wxconf+=" --without-wxdir" |
84 |
wxconf+=" --without-wxdir" |
| 81 |
fi |
85 |
fi |
| 82 |
|
86 |
|
|
|
87 |
# Playstation 3 platform |
| 88 |
if use ps3; then |
| 89 |
ps3conf+=" --with-boinc-alt-platform=powerpc64-ps3-linux-gnu" |
| 90 |
else |
| 91 |
ps3conf+="" |
| 92 |
fi |
| 93 |
|
| 83 |
myeconfargs=( |
94 |
myeconfargs=( |
| 84 |
--disable-server |
95 |
--disable-server |
| 85 |
--enable-client |
96 |
--enable-client |
|
Lines 90-95
Link Here
|
| 90 |
$(use_with X x) |
101 |
$(use_with X x) |
| 91 |
$(use_enable X manager) |
102 |
$(use_enable X manager) |
| 92 |
${wxconf} |
103 |
${wxconf} |
|
|
104 |
${ps3conf} |
| 93 |
) |
105 |
) |
| 94 |
autotools-utils_src_configure |
106 |
autotools-utils_src_configure |
| 95 |
} |
107 |
} |
|
Lines 148-152
Link Here
|
| 148 |
elog "To be able to use CUDA you should add boinc user to video group." |
160 |
elog "To be able to use CUDA you should add boinc user to video group." |
| 149 |
elog "To do so run as root:" |
161 |
elog "To do so run as root:" |
| 150 |
elog "gpasswd -a boinc video" |
162 |
elog "gpasswd -a boinc video" |
|
|
163 |
elog |
| 164 |
fi |
| 165 |
if use ps3; then |
| 166 |
elog "You have installed with the alternative platform of 'powerpc64-ps3-linux-gnu'." |
| 151 |
fi |
167 |
fi |
| 152 |
} |
168 |
} |