From 23c77d836be9ea12a1dceb315d5b02bd835b7a23 Mon Sep 17 00:00:00 2001 From: Michael Sterrett Date: Thu, 15 Jun 2006 18:05:02 +0000 Subject: [PATCH] tidy up after wolf31o2; stable for x86 Package-Manager: portage-2.1 --- games-puzzle/pouetchess/ChangeLog | 6 ++- games-puzzle/pouetchess/Manifest | 26 ++++--------- .../pouetchess/pouetchess-0.2.0.ebuild | 37 ++++++++++--------- 3 files changed, 33 insertions(+), 36 deletions(-) diff --git a/games-puzzle/pouetchess/ChangeLog b/games-puzzle/pouetchess/ChangeLog index 1ad88d1e6b16..5bf1a082b6b7 100644 --- a/games-puzzle/pouetchess/ChangeLog +++ b/games-puzzle/pouetchess/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for games-puzzle/pouetchess # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-puzzle/pouetchess/ChangeLog,v 1.1 2006/06/14 18:19:29 wolf31o2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-puzzle/pouetchess/ChangeLog,v 1.2 2006/06/15 18:05:02 mr_bones_ Exp $ + + 15 Jun 2006; Michael Sterrett + pouetchess-0.2.0.ebuild: + tidy up after wolf31o2; stable for x86 *pouetchess-0.2.0 (14 Jun 2006) diff --git a/games-puzzle/pouetchess/Manifest b/games-puzzle/pouetchess/Manifest index bfdec4c9451e..e3798e5f61c5 100644 --- a/games-puzzle/pouetchess/Manifest +++ b/games-puzzle/pouetchess/Manifest @@ -1,6 +1,3 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - AUX pouetchess-0.2.0-nvidia_glext.patch 373 RMD160 34d53944251ea3b6363ba0a4a4a5cd7a831ffe93 SHA1 f3cb0e05c6fa782193408df5250ff4c225433e5b SHA256 d0466dee4b11efab347409e7e83fffac5ea9c6b1350b660c01b20a0107564a4b MD5 65d18a3d457e64f6168ed2975cfa4b00 files/pouetchess-0.2.0-nvidia_glext.patch 373 RMD160 34d53944251ea3b6363ba0a4a4a5cd7a831ffe93 files/pouetchess-0.2.0-nvidia_glext.patch 373 @@ -10,14 +7,14 @@ MD5 e9e3e8c496dc915249531cfcdb30e870 files/pouetchess-0.2.0-sconstruct-sandbox.p RMD160 96d132fcaa5ece5e342980d0b53763e1475c5814 files/pouetchess-0.2.0-sconstruct-sandbox.patch 307 SHA256 54906095519371346b590316227ca3017473d0ca0c2f17b57c86fc1bbc880fbf files/pouetchess-0.2.0-sconstruct-sandbox.patch 307 DIST pouetchess_src_0.2.0.tar.gz 1055338 RMD160 29611b78ef75b3707ad98752055da775335c0490 SHA1 023bea8043b5dcf8a134531b920497c7efb89adb SHA256 fe966ff1b0aa2dd6d0ca2b62692f5b788e3a286050a6a374e58ca0612f68b2ef -EBUILD pouetchess-0.2.0.ebuild 2148 RMD160 865814256cf0655141f4823a312e4d56d27f87b7 SHA1 a6d4a847550918ea267b490812719e6bfbb6272a SHA256 ca701c557f82b1d2302432fe48852c39ab44a46478cdce79218e21b45582c74c -MD5 6305cfdf596c4fb051fb9fd807f87773 pouetchess-0.2.0.ebuild 2148 -RMD160 865814256cf0655141f4823a312e4d56d27f87b7 pouetchess-0.2.0.ebuild 2148 -SHA256 ca701c557f82b1d2302432fe48852c39ab44a46478cdce79218e21b45582c74c pouetchess-0.2.0.ebuild 2148 -MISC ChangeLog 701 RMD160 648340536e308cc0d6e70209c4509d58a45bbb67 SHA1 dbcf6445ccb878e204fbbbadf52064333faae149 SHA256 506aaded3d404ed752856ae9ee67d4d595994144ca21b3f0a6848df5c9e2f174 -MD5 f63c67bda4c26af42acae080c8fb85ec ChangeLog 701 -RMD160 648340536e308cc0d6e70209c4509d58a45bbb67 ChangeLog 701 -SHA256 506aaded3d404ed752856ae9ee67d4d595994144ca21b3f0a6848df5c9e2f174 ChangeLog 701 +EBUILD pouetchess-0.2.0.ebuild 2034 RMD160 5ba0938a3435f49fe66c3418c951c4800e7399e0 SHA1 aa39cf6990935a0c925d90811db9cf5800e74bb7 SHA256 2f6920fd69f6f1d317d99e5c672ed8e8b276446880c1a468ff57ed841be21d1f +MD5 616d5225982d5b833a38147df517673d pouetchess-0.2.0.ebuild 2034 +RMD160 5ba0938a3435f49fe66c3418c951c4800e7399e0 pouetchess-0.2.0.ebuild 2034 +SHA256 2f6920fd69f6f1d317d99e5c672ed8e8b276446880c1a468ff57ed841be21d1f pouetchess-0.2.0.ebuild 2034 +MISC ChangeLog 826 RMD160 bbfda26cd24839bb08a34398fc5b3cd7f1fd30d3 SHA1 e2bad6af8fffb2c901987a99d66c4e21902f8006 SHA256 25d865072641f9eb79a2a4ce90d24ed76c0c7034381a829e5345ac1bcca05751 +MD5 06da70413af18337388a339b7aa1cc97 ChangeLog 826 +RMD160 bbfda26cd24839bb08a34398fc5b3cd7f1fd30d3 ChangeLog 826 +SHA256 25d865072641f9eb79a2a4ce90d24ed76c0c7034381a829e5345ac1bcca05751 ChangeLog 826 MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea metadata.xml 158 @@ -25,10 +22,3 @@ SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 metadata MD5 7eadcc6fa4e9f41e6368827f20cef2e6 files/digest-pouetchess-0.2.0 265 RMD160 e825bbeb7f491e368fabe13571d8fe089b9834f3 files/digest-pouetchess-0.2.0 265 SHA256 702f567d5b88e40b6fa2a4769319aaad242f3eb11283dfd03c094de78d64c110 files/digest-pouetchess-0.2.0 265 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.3 (GNU/Linux) - -iD8DBQFEkTXwNJowsmZ/PzARAjT5AKC8ePuaThwRds8F7Rp9XL9g7hjDDQCgw8NO -QT5m65St82SBMHC1Av2TD8U= -=jwMo ------END PGP SIGNATURE----- diff --git a/games-puzzle/pouetchess/pouetchess-0.2.0.ebuild b/games-puzzle/pouetchess/pouetchess-0.2.0.ebuild index ab179c216ba9..f247dd7c601d 100644 --- a/games-puzzle/pouetchess/pouetchess-0.2.0.ebuild +++ b/games-puzzle/pouetchess/pouetchess-0.2.0.ebuild @@ -1,19 +1,17 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-puzzle/pouetchess/pouetchess-0.2.0.ebuild,v 1.2 2006/06/15 10:26:47 genstef Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-puzzle/pouetchess/pouetchess-0.2.0.ebuild,v 1.3 2006/06/15 18:05:02 mr_bones_ Exp $ inherit eutils games MY_PN=${PN/c/C} -S=${WORKDIR}/${PN}_src_${PV} - DESCRIPTION="3D and open source chess game" HOMEPAGE="http://pouetchess.sourceforge.net/" SRC_URI="mirror://sourceforge/pouetchess/${PN}_src_${PV}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 ~ppc ~x86" +KEYWORDS="~amd64 ~ppc x86" IUSE="debug" RDEPEND=">=media-libs/libsdl-1.2.8 @@ -31,7 +29,10 @@ RDEPEND=">=media-libs/libsdl-1.2.8 DEPEND="${RDEPEND} dev-util/scons" +S=${WORKDIR}/${PN}_src_${PV} + pkg_setup() { + games_pkg_setup einfo "If you experience problems building pouetchess with nvidia drivers," einfo "you can try:" einfo "eselect opengl set xorg-x11" @@ -44,13 +45,20 @@ src_unpack() { cd "${S}" # modify SConstruct file like seen on # http://permalink.gmane.org/gmane.comp.audio.csound.devel/6646 - epatch "${FILESDIR}"/${P}-sconstruct-sandbox.patch || die "patch failed" - # Fix up nvidia headers - epatch "${FILESDIR}"/${P}-nvidia_glext.patch + epatch \ + "${FILESDIR}"/${P}-sconstruct-sandbox.patch \ + "${FILESDIR}"/${P}-nvidia_glext.patch # Fix for LibSDL >= 1.2.10 detection - sed -i -e "s:sdlver.split('.') >= \['1','2','8'\]:sdlver.split('.') >= [1,2,8]:" pouetChess.py || die "sed failed" + sed -i \ + -e "s:sdlver.split('.') >= \['1','2','8'\]:sdlver.split('.') >= [1,2,8]:" \ + pouetChess.py \ + || die "sed failed" + sed -i \ + -e "/strip/d" \ + SConstruct \ + || die "sed failed" } src_compile() { @@ -58,24 +66,19 @@ src_compile() { use debug && myconf="${myconf} debug=1 strip=false" scons configure ${myconf} || die "scons configure failed" - scons ${MAKEOPTS} || die "scons make failed" } src_install() { - # usings scons to install will violate sandbox - #scons install DESTDIR=${D} || die "scons install failed" - - dogamesbin bin/"${MY_PN}" + dogamesbin bin/"${MY_PN}" || die "dogamesbin failed" insinto "${GAMES_DATADIR}/${PN}" - doins -r data/* || die "installing data failed" - dodoc ChangeLog README || die "installing docs failed" + dodoc ChangeLog README - doicon data/icons/${MY_PN}.png || die "installing icon failed" - make_desktop_entry ${MY_PN} "pouetChess" ${MY_PN}.png "KDE;Qt;Game;BoardGame" || die "creating desktop entry failed" + doicon data/icons/${MY_PN}.png + make_desktop_entry ${MY_PN} "pouetChess" ${MY_PN}.png "KDE;Qt;Game;BoardGame" prepgamesdirs } -- 2.26.2