summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2006-10-04 18:54:14 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2006-10-04 18:54:14 +0000
commit6a0512bd2ee07c27750814baee2b82ca74d021b7 (patch)
tree64b1389625e916dcde9b9fefbfa907db4a4d1176 /games-board
parentStable on ppc wrt bug 150049 (diff)
downloadgentoo-2-6a0512bd2ee07c27750814baee2b82ca74d021b7.tar.gz
gentoo-2-6a0512bd2ee07c27750814baee2b82ca74d021b7.tar.bz2
gentoo-2-6a0512bd2ee07c27750814baee2b82ca74d021b7.zip
version bump
(Portage version: 2.1.2_pre2-r2)
Diffstat (limited to 'games-board')
-rw-r--r--games-board/glchess/ChangeLog8
-rw-r--r--games-board/glchess/files/digest-glchess-0.9.113
-rw-r--r--games-board/glchess/glchess-0.9.11.ebuild41
3 files changed, 51 insertions, 1 deletions
diff --git a/games-board/glchess/ChangeLog b/games-board/glchess/ChangeLog
index 77148e5a7683..af5f62c8f5cb 100644
--- a/games-board/glchess/ChangeLog
+++ b/games-board/glchess/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for games-board/glchess
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-board/glchess/ChangeLog,v 1.5 2006/10/04 07:37:47 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-board/glchess/ChangeLog,v 1.6 2006/10/04 18:54:14 mr_bones_ Exp $
+
+*glchess-0.9.11 (04 Oct 2006)
+
+ 04 Oct 2006; Michael Sterrett <mr_bones_@gentoo.org>
+ +glchess-0.9.11.ebuild:
+ version bump
*glchess-0.9.10 (04 Oct 2006)
diff --git a/games-board/glchess/files/digest-glchess-0.9.11 b/games-board/glchess/files/digest-glchess-0.9.11
new file mode 100644
index 000000000000..f87a1fb3347d
--- /dev/null
+++ b/games-board/glchess/files/digest-glchess-0.9.11
@@ -0,0 +1,3 @@
+MD5 9f359d482b6a16cd04078487a227f7b8 glchess-0.9.11.tar.gz 169006
+RMD160 6756476e997a8364df45824e062e5ed0d4c4b3d3 glchess-0.9.11.tar.gz 169006
+SHA256 91d919f1de568f281fceb2938f71caa3bcd735e5fcf91ed14ea474e7e4f998b0 glchess-0.9.11.tar.gz 169006
diff --git a/games-board/glchess/glchess-0.9.11.ebuild b/games-board/glchess/glchess-0.9.11.ebuild
new file mode 100644
index 000000000000..db9a588dc5b3
--- /dev/null
+++ b/games-board/glchess/glchess-0.9.11.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-board/glchess/glchess-0.9.11.ebuild,v 1.1 2006/10/04 18:54:14 mr_bones_ Exp $
+
+inherit distutils games
+
+DESCRIPTION="A 3D OpenGL based chess game"
+HOMEPAGE="http://glchess.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 x86"
+IUSE="nls"
+
+DEPEND="dev-python/pygtkglext
+ dev-python/imaging"
+
+DOCS="BUGS"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ sed -i \
+ -e "/_DIR/s:/usr/share/games:${GAMES_DATADIR}:" \
+ lib/glchess/gtkui/{dialogs,gtkui}.py \
+ lib/glchess/scene/opengl/{builtin_models,new_models,opengl}.py \
+ || die "sed failed"
+}
+
+src_install() {
+ distutils_src_install
+ if use nls ; then
+ emake DESTDIR="${D}" install || die "emake install failed"
+ fi
+ dogamesbin "build/scripts-2.4/glchess" || die "installing the binary failed"
+ rm -rf ${D}usr/bin
+ rm -rf "${D}"usr/bin "${D}"usr/share/doc/${PF}/{MANIFEST.in,PKG-INFO}.gz
+ mv "${D}"usr/share/games/${PN} "${D}${GAMES_DATADIR}"
+ prepgamesdirs
+}