New ebuild by Anton Romanov. Bug #90582
authorAlfredo Tupone <tupone@gentoo.org>
Fri, 12 Jan 2007 03:40:02 +0000 (03:40 +0000)
committerAlfredo Tupone <tupone@gentoo.org>
Fri, 12 Jan 2007 03:40:02 +0000 (03:40 +0000)
Package-Manager: portage-2.1.1-r2

games-puzzle/xlogical/ChangeLog [new file with mode: 0644]
games-puzzle/xlogical/Manifest [new file with mode: 0644]
games-puzzle/xlogical/files/digest-xlogical-1.0.7 [new file with mode: 0644]
games-puzzle/xlogical/files/xlogical-1.0.7-gcc41.patch [new file with mode: 0644]
games-puzzle/xlogical/metadata.xml [new file with mode: 0644]
games-puzzle/xlogical/xlogical-1.0.7.ebuild [new file with mode: 0644]

diff --git a/games-puzzle/xlogical/ChangeLog b/games-puzzle/xlogical/ChangeLog
new file mode 100644 (file)
index 0000000..691a764
--- /dev/null
@@ -0,0 +1,10 @@
+# ChangeLog for games-puzzle/xlogical
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-puzzle/xlogical/ChangeLog,v 1.1 2007/01/12 03:40:02 tupone Exp $
+
+*xlogical-1.0.7 (12 Jan 2007)
+
+  12 Jan 2007; <tupone@gentoo.org> +files/xlogical-1.0.7-gcc41.patch,
+  +metadata.xml, +xlogical-1.0.7.ebuild:
+  New ebuild by Anton Romanov. Bug #90582
+
diff --git a/games-puzzle/xlogical/Manifest b/games-puzzle/xlogical/Manifest
new file mode 100644 (file)
index 0000000..c02aeec
--- /dev/null
@@ -0,0 +1,30 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+AUX xlogical-1.0.7-gcc41.patch 1121 RMD160 1922b92b0ac2513760d76031d7236134bf083664 SHA1 e2f164d792b5ab02b5711eeb8048e2131c70b712 SHA256 d70f35be5bbf65e7511d239d2449e332c71f93a5af632169c95a3262448fcc4a
+MD5 1e2736dfd76c5c53caa2a7cfa8df2c0a files/xlogical-1.0.7-gcc41.patch 1121
+RMD160 1922b92b0ac2513760d76031d7236134bf083664 files/xlogical-1.0.7-gcc41.patch 1121
+SHA256 d70f35be5bbf65e7511d239d2449e332c71f93a5af632169c95a3262448fcc4a files/xlogical-1.0.7-gcc41.patch 1121
+DIST xlogical-1.0-7.tar.bz2 1853575 RMD160 f290e0e41c607a2a3e567f093ddb59d015f12a77 SHA1 197ea5bcdd25babc6af427b11de9f4a67ae4d570 SHA256 166d227770dcb7d94138f844a8a81380eff3fac7f564274bb2c66ae974e8e7ca
+EBUILD xlogical-1.0.7.ebuild 1227 RMD160 8de9cea2c909cffd4f6149df58696bf09216dbf0 SHA1 d53427f164afe915ba064515ec9f1c51f2ac6fb3 SHA256 906431d55e3552c846dc4e8ad1d0f2621b27c2870264212452d7a6c185f05e3b
+MD5 dceb43144454c8928f08d751a8073d26 xlogical-1.0.7.ebuild 1227
+RMD160 8de9cea2c909cffd4f6149df58696bf09216dbf0 xlogical-1.0.7.ebuild 1227
+SHA256 906431d55e3552c846dc4e8ad1d0f2621b27c2870264212452d7a6c185f05e3b xlogical-1.0.7.ebuild 1227
+MISC ChangeLog 400 RMD160 a338cf7fa6c76e6f3201e78e66f7ee14ccd687f1 SHA1 8f1a305c33f58f96559f72c65d608903c5ec3eb9 SHA256 1aa7f1cdeece2ed096ddb4f1abaa6dc05fbed73aacdecbe0f5b91367ac4e708f
+MD5 d4017a3618dc3bc09b00245fbb61d570 ChangeLog 400
+RMD160 a338cf7fa6c76e6f3201e78e66f7ee14ccd687f1 ChangeLog 400
+SHA256 1aa7f1cdeece2ed096ddb4f1abaa6dc05fbed73aacdecbe0f5b91367ac4e708f ChangeLog 400
+MISC metadata.xml 336 RMD160 fef2462eb3b75537c7d0e11de691c31612bf7efb SHA1 c8367ee566bf5b39f52a104575e603eb5087c543 SHA256 2ca74dcd27b11352491f9d35689976309ba158b80d8ec457c14561536104b1bb
+MD5 7339fe80b994f2b17a6a1ee13d09c23b metadata.xml 336
+RMD160 fef2462eb3b75537c7d0e11de691c31612bf7efb metadata.xml 336
+SHA256 2ca74dcd27b11352491f9d35689976309ba158b80d8ec457c14561536104b1bb metadata.xml 336
+MD5 482bfb4c1b236e8f551e3c143802212b files/digest-xlogical-1.0.7 250
+RMD160 e78aa2491c98f8414e4ee7c5a21d5015f9cb6b25 files/digest-xlogical-1.0.7 250
+SHA256 83d8243e0f9c2cecd8b97a50a7a35944a5dae07b2f36375c2bbbebc6b71b3eec files/digest-xlogical-1.0.7 250
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.6 (GNU/Linux)
+
+iD8DBQFFpwMdbfN2jvlVAhwRAii2AJoCFDbIpQv6zTw/UTr5gsKHPTG7UwCeN4wd
+pIwEDVP5MhgO4f47zlTnWIU=
+=6sPq
+-----END PGP SIGNATURE-----
diff --git a/games-puzzle/xlogical/files/digest-xlogical-1.0.7 b/games-puzzle/xlogical/files/digest-xlogical-1.0.7
new file mode 100644 (file)
index 0000000..14c822e
--- /dev/null
@@ -0,0 +1,3 @@
+MD5 e3a75519bae4d9dea1d8cd98d3586c88 xlogical-1.0-7.tar.bz2 1853575
+RMD160 f290e0e41c607a2a3e567f093ddb59d015f12a77 xlogical-1.0-7.tar.bz2 1853575
+SHA256 166d227770dcb7d94138f844a8a81380eff3fac7f564274bb2c66ae974e8e7ca xlogical-1.0-7.tar.bz2 1853575
diff --git a/games-puzzle/xlogical/files/xlogical-1.0.7-gcc41.patch b/games-puzzle/xlogical/files/xlogical-1.0.7-gcc41.patch
new file mode 100644 (file)
index 0000000..19cd188
--- /dev/null
@@ -0,0 +1,49 @@
+--- properties.h.old   2007-01-11 17:33:45.000000000 +0100
++++ properties.h       2007-01-11 17:34:32.000000000 +0100
+@@ -33,9 +33,7 @@
+ #include <map>
+ #include <string>
+-#ifdef WIN32
+ using namespace std;
+-#endif
+ #include "defs.h"
+--- anim.h.old 2007-01-11 17:36:20.000000000 +0100
++++ anim.h     2007-01-11 17:36:37.000000000 +0100
+@@ -27,9 +27,7 @@
+ // Language Includes
+ #include <list>
+-#ifdef WIN32
+ using namespace std;
+-#endif
+ // Application Includes
+ #include "graph.h"
+--- exception.h.old    2007-01-11 17:37:37.000000000 +0100
++++ exception.h        2007-01-11 17:38:21.000000000 +0100
+@@ -27,10 +27,9 @@
+ // Language Includes
+ #include <string>
++#include <iostream>
+-#ifdef WIN32
+ using namespace std;
+-#endif
+ #define CatchEx(aEx)          catch( CXLException aEx )
+ #define ThrowEx(aError)               throw CXLException(aError,__FILE__,__LINE__)
+--- gamelogic.cpp.old  2007-01-11 17:38:52.000000000 +0100
++++ gamelogic.cpp      2007-01-11 17:39:12.000000000 +0100
+@@ -154,7 +154,7 @@
+               levelFile = NULL;
+       }
+-      currentMap = NULL;
++      currentMap = gameLevels.begin();
+       playerName = new char[32+1];
+       strcpy( playerName, "nobody" );
diff --git a/games-puzzle/xlogical/metadata.xml b/games-puzzle/xlogical/metadata.xml
new file mode 100644 (file)
index 0000000..8be643a
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>games</herd>
+<longdescription lang="en">
+XLogical is a puzzle game based on the Logical! game that was originally
+released by Rainbow Arts on the Commodore Amiga computer.
+</longdescription>
+</pkgmetadata>
diff --git a/games-puzzle/xlogical/xlogical-1.0.7.ebuild b/games-puzzle/xlogical/xlogical-1.0.7.ebuild
new file mode 100644 (file)
index 0000000..683c0d1
--- /dev/null
@@ -0,0 +1,48 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-puzzle/xlogical/xlogical-1.0.7.ebuild,v 1.1 2007/01/12 03:40:02 tupone Exp $
+
+inherit versionator eutils games
+
+MY_PV=$(replace_version_separator 2 '-' )
+MY_P=${PN}-${MY_PV}
+
+DESCRIPTION="SDL logical clone"
+HOMEPAGE="http://changeling.ixionstudios.com/xlogical/"
+SRC_URI="http://changeling.ixionstudios.com/xlogical/downloads/${MY_P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+
+DEPEND="media-libs/libsdl
+       media-libs/sdl-image
+       media-libs/sdl-mixer"
+
+S="${WORKDIR}/${PN}-$(get_version_component_range 1-2)"
+
+src_unpack() {
+       unpack ${A}
+       cd "${S}"
+       edos2unix properties.h anim.h exception.h
+       epatch "${FILESDIR}/${P}"-gcc41.patch \
+                || die "epatch failed"
+}
+
+src_install() {
+       dogamesbin ${PN} || die "installing the binary failed"
+
+       insinto ${GAMES_DATADIR}/${PN}
+       doins -r ${PN}.{properties,levels} music sound images \
+                || die "installing game data failed"
+
+       insinto ${GAMES_STATEDIR}/${PN}
+       insopts -m0660
+       doins ${PN}.scores || die "installing hi-score failed"
+
+       dodoc AUTHORS ChangeLog NEWS README TODO \
+               || die "Installing doc failed"
+
+       prepgamesdirs
+}