From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Lqzzv-0001uP-KK for garchives@archives.gentoo.org; Tue, 07 Apr 2009 01:21:07 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B8B6DE03C2; Tue, 7 Apr 2009 01:21:06 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 776DDE03C2 for ; Tue, 7 Apr 2009 01:21:06 +0000 (UTC) Received: from stork.gentoo.org (stork.gentoo.org [64.127.104.133]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id 1732B65541 for ; Tue, 7 Apr 2009 01:21:06 +0000 (UTC) Received: from mr_bones_ by stork.gentoo.org with local (Exim 4.69) (envelope-from ) id 1Lqzzt-0007Xu-O3 for gentoo-commits@lists.gentoo.org; Tue, 07 Apr 2009 01:21:05 +0000 From: "Michael Sterrett (mr_bones_)" To: gentoo-commits@lists.gentoo.org Reply-To: gentoo-dev@lists.gentoo.org, mr_bones_@gentoo.org Subject: [gentoo-commits] gentoo-x86 commit in games-board/pouetchess: pouetchess-0.2.0-r1.ebuild ChangeLog X-VCS-Repository: gentoo-x86 X-VCS-Files: pouetchess-0.2.0-r1.ebuild ChangeLog X-VCS-Directories: games-board/pouetchess X-VCS-Committer: mr_bones_ X-VCS-Committer-Name: Michael Sterrett Content-Type: text/plain; charset=utf8 Message-Id: Sender: Michael Sterrett Date: Tue, 07 Apr 2009 01:21:05 +0000 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: d2f05cc1-e5fd-45f3-9b41-2fdac11094ff X-Archives-Hash: 4e60fa2ee16fea446768de14353a6ac0 mr_bones_ 09/04/07 01:21:05 Modified: pouetchess-0.2.0-r1.ebuild ChangeLog Log: EAPI=3D2; tidy (Portage version: 2.1.6.7/cvs/Linux i686) Revision Changes Path 1.7 games-board/pouetchess/pouetchess-0.2.0-r1.ebuild file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-board/pouetc= hess/pouetchess-0.2.0-r1.ebuild?rev=3D1.7&view=3Dmarkup plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-board/pouetc= hess/pouetchess-0.2.0-r1.ebuild?rev=3D1.7&content-type=3Dtext/plain diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-board/pouetc= hess/pouetchess-0.2.0-r1.ebuild?r1=3D1.6&r2=3D1.7 Index: pouetchess-0.2.0-r1.ebuild =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /var/cvsroot/gentoo-x86/games-board/pouetchess/pouetchess-0.2.0= -r1.ebuild,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- pouetchess-0.2.0-r1.ebuild 20 Jul 2008 20:49:15 -0000 1.6 +++ pouetchess-0.2.0-r1.ebuild 7 Apr 2009 01:21:05 -0000 1.7 @@ -1,8 +1,9 @@ -# Copyright 1999-2008 Gentoo Foundation +# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-board/pouetchess/pouetchess-0.2= .0-r1.ebuild,v 1.6 2008/07/20 20:49:15 loki_val Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-board/pouetchess/pouetchess-0.2= .0-r1.ebuild,v 1.7 2009/04/07 01:21:05 mr_bones_ Exp $ =20 -inherit base eutils toolchain-funcs games +EAPI=3D2 +inherit eutils games =20 MY_PN=3D${PN/c/C} DESCRIPTION=3D"3D and open source chess game" @@ -15,31 +16,20 @@ IUSE=3D"debug" =20 RDEPEND=3D"media-libs/libsdl - media-libs/sdl-image + media-libs/sdl-image[jpeg,png] virtual/glu virtual/opengl" DEPEND=3D"${RDEPEND} dev-util/scons" =20 S=3D${WORKDIR}/${PN}_src_${PV} -PATCHES=3D( "${FILESDIR}/${P}-sconstruct-sandbox.patch" - "${FILESDIR}/${P}-nvidia_glext.patch" - "${FILESDIR}/${P}-segfaults.patch" - "${FILESDIR}/${P}-gcc43.patch" ) - -pkg_setup() { - games_pkg_setup - einfo "If you experience problems building pouetchess with nvidia drive= rs," - einfo "you can try:" - einfo "eselect opengl set xorg-x11" - einfo "emerge pouetchess" - einfo "eselect opengl set nvidia" -} - -src_unpack() { - base_src_unpack +PATCHES=3D( "${FILESDIR}/${P}-sconstruct-sandbox.patch" + "${FILESDIR}/${P}-nvidia_glext.patch" + "${FILESDIR}/${P}-segfaults.patch" + "${FILESDIR}/${P}-gcc43.patch" ) =20 - cd "${S}" +src_prepare() { + epatch "${PATCHES[@]}" # Fix for LibSDL >=3D 1.2.10 detection sed -i \ -e "s:sdlver.split('.') >=3D \['1','2','8'\]:sdlver.split('.') >=3D [1= ,2,8]:" \ @@ -47,9 +37,7 @@ || die "sed failed" } =20 -src_compile() { - tc-export CC CXX - +src_configure() { # turn off the hackish optimization setting code (bug #230127) scons configure \ strip=3Dfalse \ @@ -58,7 +46,12 @@ datadir=3D"${GAMES_DATADIR}"/${PN} \ $(use debug && echo debug=3D1) \ || die "scons configure failed" - scons || die "scons failed" +} + +src_compile() { + local sconsopts=3D$(echo "${MAKEOPTS}" | sed -e "s/.*\(-j[0-9]\+\).*/\1= /") + + scons ${sconsopts} || die "scons failed" } =20 src_install() { 1.12 games-board/pouetchess/ChangeLog file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-board/pouetc= hess/ChangeLog?rev=3D1.12&view=3Dmarkup plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-board/pouetc= hess/ChangeLog?rev=3D1.12&content-type=3Dtext/plain diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-board/pouetc= hess/ChangeLog?r1=3D1.11&r2=3D1.12 Index: ChangeLog =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /var/cvsroot/gentoo-x86/games-board/pouetchess/ChangeLog,v retrieving revision 1.11 retrieving revision 1.12 diff -u -r1.11 -r1.12 --- ChangeLog 20 Jul 2008 20:49:15 -0000 1.11 +++ ChangeLog 7 Apr 2009 01:21:05 -0000 1.12 @@ -1,6 +1,10 @@ # ChangeLog for games-board/pouetchess -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-board/pouetchess/ChangeLog,v 1.= 11 2008/07/20 20:49:15 loki_val Exp $ +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-board/pouetchess/ChangeLog,v 1.= 12 2009/04/07 01:21:05 mr_bones_ Exp $ + + 07 Apr 2009; Michael Sterrett + pouetchess-0.2.0-r1.ebuild: + EAPI=3D2; tidy =20 20 Jul 2008; Peter Alfredsen +files/pouetchess-0.2.0-gcc43.patch, pouetchess-0.2.0-r1.ebuild: