From: Alfredo Tupone Date: Mon, 8 Jan 2007 07:08:44 +0000 (+0000) Subject: New ebuild for an Othello game with strong AI. Bug #90373 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=066d34f04cbc086eda7a8d5b45de862a7b7bda66;p=gentoo.git New ebuild for an Othello game with strong AI. Bug #90373 Package-Manager: portage-2.1.1-r2 --- diff --git a/games-board/grhino/ChangeLog b/games-board/grhino/ChangeLog new file mode 100644 index 000000000000..ef435471e4df --- /dev/null +++ b/games-board/grhino/ChangeLog @@ -0,0 +1,9 @@ +# ChangeLog for games-board/grhino +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-board/grhino/ChangeLog,v 1.1 2007/01/08 07:08:44 tupone Exp $ + +*grhino-0.16.0 (08 Jan 2007) + + 08 Jan 2007; +grhino-0.16.0.ebuild: + New ebuild. Bug #90373 by Anton Romanov + diff --git a/games-board/grhino/Manifest b/games-board/grhino/Manifest new file mode 100644 index 000000000000..8d4ab4c4e73b --- /dev/null +++ b/games-board/grhino/Manifest @@ -0,0 +1,26 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +DIST grhino-0.16.0.tar.gz 1172321 RMD160 f91415e5263eec3837a2a0cb06b610f0ba64668f SHA1 ca76895fc2370995e4942aec98e4359ce5549925 SHA256 67c3263bcfeb064b859149b25ee3c1c7d33a07ff4f83955eb501e9517069b9cf +EBUILD grhino-0.16.0.ebuild 1107 RMD160 7343e50bb2f0a1bd56cf8daf9ab23552e4f47a60 SHA1 5676a1e51f5a1b1fcdf79110a0859a194b143fe1 SHA256 be3980e04c14e8c58a50af507108756301537fabd53b8ecc5cffe904f25b4bf8 +MD5 870a0e83ae7bfb7c068cb83b7d65d3d3 grhino-0.16.0.ebuild 1107 +RMD160 7343e50bb2f0a1bd56cf8daf9ab23552e4f47a60 grhino-0.16.0.ebuild 1107 +SHA256 be3980e04c14e8c58a50af507108756301537fabd53b8ecc5cffe904f25b4bf8 grhino-0.16.0.ebuild 1107 +MISC ChangeLog 340 RMD160 e81fcf7c0ea6f8706398340d320e8b303d859cfb SHA1 fd5b3b438625e22e043b42abe38015cc5aea55f1 SHA256 cc6a1d6ce740e4c753234b0b10ba4d998705c8111461b5d8a45edfa210e17897 +MD5 020ae4da60f0fc31df9c3880da7ffdad ChangeLog 340 +RMD160 e81fcf7c0ea6f8706398340d320e8b303d859cfb ChangeLog 340 +SHA256 cc6a1d6ce740e4c753234b0b10ba4d998705c8111461b5d8a45edfa210e17897 ChangeLog 340 +MISC metadata.xml 238 RMD160 8872b2ed83510b48c76de3a803f2a210700dd788 SHA1 06e93b70ce65d919134523c7a0e4eea53f24bbaf SHA256 6074371c0e97117a7c74e35f1a976752b7d0a35696304999f64ee050109da08a +MD5 53c3ea18e0d4b2ec8f23a1726fd2598f metadata.xml 238 +RMD160 8872b2ed83510b48c76de3a803f2a210700dd788 metadata.xml 238 +SHA256 6074371c0e97117a7c74e35f1a976752b7d0a35696304999f64ee050109da08a metadata.xml 238 +MD5 1645af6c8a185076c03cdaafbfba0a4e files/digest-grhino-0.16.0 244 +RMD160 b945239b8bf0fab4e496ad2832ab86250004f7e1 files/digest-grhino-0.16.0 244 +SHA256 8770b2359a20e7941d67bf5580fcb9daf99ac39f7016fdbc67debeb76a70161d files/digest-grhino-0.16.0 244 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.6 (GNU/Linux) + +iD8DBQFFoe4HbfN2jvlVAhwRAmoHAJ9NB8FrDDQl6UCSwMhpDQdOjqOzAQCffrTC +ZHlUDbzVsnbcDuZynK8iz0M= +=76ki +-----END PGP SIGNATURE----- diff --git a/games-board/grhino/files/digest-grhino-0.16.0 b/games-board/grhino/files/digest-grhino-0.16.0 new file mode 100644 index 000000000000..6238d7301c2f --- /dev/null +++ b/games-board/grhino/files/digest-grhino-0.16.0 @@ -0,0 +1,3 @@ +MD5 51d975cc1645112d12bb5fd030db1f7f grhino-0.16.0.tar.gz 1172321 +RMD160 f91415e5263eec3837a2a0cb06b610f0ba64668f grhino-0.16.0.tar.gz 1172321 +SHA256 67c3263bcfeb064b859149b25ee3c1c7d33a07ff4f83955eb501e9517069b9cf grhino-0.16.0.tar.gz 1172321 diff --git a/games-board/grhino/grhino-0.16.0.ebuild b/games-board/grhino/grhino-0.16.0.ebuild new file mode 100644 index 000000000000..b363367e385e --- /dev/null +++ b/games-board/grhino/grhino-0.16.0.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-board/grhino/grhino-0.16.0.ebuild,v 1.1 2007/01/08 07:08:44 tupone Exp $ + +inherit eutils games + +DESCRIPTION="Reversi game for GNOME, supporting the Go/Game Text Protocol" +HOMEPAGE="http://rhino.sourceforge.net/" +SRC_URI="mirror://sourceforge/rhino/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" +IUSE="gnome gtp" + +DEPEND="gnome? ( =gnome-base/libgnomeui-2* )" + +pkg_setup() { + if ! ( use gnome || use gtp ); then + die "Aborting build. You you have to specify gnome or gtp use flags" + fi + games_pkg_setup +} + +src_compile() { + egamesconf \ + $(use_enable gnome) \ + $(use_enable gtp) \ + || die "egamesconf failed" + emake || die "emake failed" +} + +src_install() { + use gnome && dogamesbin ${PN} \ + || die "installing the binary failed" + use gtp && dogamesbin gtp-rhino \ + || die "installing the binary failed" + make install DESTDIR=${D} + + dodoc ChangeLog NEWS README TODO + + doicon ${PN}.png + make_desktop_entry ${PN} "GRhino" ${PN}.png + + prepgamesdirs +} diff --git a/games-board/grhino/metadata.xml b/games-board/grhino/metadata.xml new file mode 100644 index 000000000000..3a5a095aa1f5 --- /dev/null +++ b/games-board/grhino/metadata.xml @@ -0,0 +1,9 @@ + + + +games + +An Othello game with strong AI. + + +