--- boinc-6.12.26-r1.ebuild 2011-05-27 02:01:24.000000000 -0500 +++ boinc-6.12.26-r2.ebuild 2011-05-29 02:57:48.000000000 -0500 @@ -13,7 +13,7 @@ LICENSE="LGPL-2.1" SLOT="0" KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" -IUSE="X cuda" +IUSE="X cuda ps3" RDEPEND=" !sci-misc/boinc-bin @@ -36,6 +36,9 @@ >=x11-libs/libnotify-0.7 x11-libs/wxGTK:2.8[X,opengl] ) + ps3? ( + sys-libs/libspe2 + ) " DEPEND="${RDEPEND} sys-devel/gettext @@ -65,6 +68,7 @@ src_configure() { local wxconf="" + local ps3conf="" # define preferable CFLAGS (recommended by upstream) append-flags -O3 -funroll-loops -fforce-addr -ffast-math @@ -80,6 +84,13 @@ wxconf+=" --without-wxdir" fi + # Playstation 3 platform + if use ps3; then + ps3conf+=" --with-boinc-alt-platform=powerpc64-ps3-linux-gnu" + else + ps3conf+="" + fi + myeconfargs=( --disable-server --enable-client @@ -90,6 +101,7 @@ $(use_with X x) $(use_enable X manager) ${wxconf} + ${ps3conf} ) autotools-utils_src_configure } @@ -148,5 +160,9 @@ elog "To be able to use CUDA you should add boinc user to video group." elog "To do so run as root:" elog "gpasswd -a boinc video" + elog + fi + if use ps3; then + elog "You have installed with the alternative platform of 'powerpc64-ps3-linux-gnu'." fi }