summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2010-01-25 17:48:35 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2010-01-25 17:48:35 +0000
commit78ce75e9648ccb5174256294f7524f719597e0ea (patch)
treec24ee60ca6d6ae8664fa1a639c7c0ef957e149da /games-rpg
parentDon't hard-depend on gtk-doc, fixes bug 302150 (diff)
downloadhistorical-78ce75e9648ccb5174256294f7524f719597e0ea.tar.gz
historical-78ce75e9648ccb5174256294f7524f719597e0ea.tar.bz2
historical-78ce75e9648ccb5174256294f7524f719597e0ea.zip
version bump
Package-Manager: portage-2.1.6.13/cvs/Linux i686
Diffstat (limited to 'games-rpg')
-rw-r--r--games-rpg/freedroidrpg/ChangeLog10
-rw-r--r--games-rpg/freedroidrpg/Manifest5
-rw-r--r--games-rpg/freedroidrpg/files/freedroidrpg-0.13-syslibs.patch102
-rw-r--r--games-rpg/freedroidrpg/freedroidrpg-0.13.ebuild55
4 files changed, 169 insertions, 3 deletions
diff --git a/games-rpg/freedroidrpg/ChangeLog b/games-rpg/freedroidrpg/ChangeLog
index c1944b4c385b..0c3ff5753fd1 100644
--- a/games-rpg/freedroidrpg/ChangeLog
+++ b/games-rpg/freedroidrpg/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for games-rpg/freedroidrpg
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-rpg/freedroidrpg/ChangeLog,v 1.22 2009/08/29 18:10:39 nixnut Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-rpg/freedroidrpg/ChangeLog,v 1.23 2010/01/25 17:48:35 mr_bones_ Exp $
+
+*freedroidrpg-0.13 (25 Jan 2010)
+
+ 25 Jan 2010; Michael Sterrett <mr_bones_@gentoo.org>
+ +freedroidrpg-0.13.ebuild, +files/freedroidrpg-0.13-syslibs.patch:
+ version bump
29 Aug 2009; nixnut <nixnut@gentoo.org> freedroidrpg-0.12.1-r1.ebuild:
ppc stable #275893
diff --git a/games-rpg/freedroidrpg/Manifest b/games-rpg/freedroidrpg/Manifest
index 547208c8cd81..e3f91f5bf0c4 100644
--- a/games-rpg/freedroidrpg/Manifest
+++ b/games-rpg/freedroidrpg/Manifest
@@ -1,5 +1,8 @@
AUX freedroidrpg-0.12.1-syslibs.patch 2622 RMD160 ed90c39ef194dbf2f917c374d45c44da30aa9a10 SHA1 2f2d60a2b9aafa09aedbdeb142b4182ca8abf469 SHA256 382ec25b45911bb4813da1946452552dae26460829e4f5fdce8d79c69d30b17d
+AUX freedroidrpg-0.13-syslibs.patch 3479 RMD160 42553640361efa864cef3ff93bb1360361df3f89 SHA1 b4758b9b1b08f697a7de9f5b8017e2172ae689e3 SHA256 cb867535e59eca44dcc4bf5b117634092214ab3a0b246ad6494c584f573b052c
DIST freedroidrpg-0.12.1.tar.bz2 131651496 RMD160 8307c840e43059849c0abe372bee904be0c7b36a SHA1 5081b9351a62ef1506c8cb1f72d1dfc730d94669 SHA256 e06149e3c90fd815b3a7fd677ebf25e550418f935699503a1c461cadcd93a073
+DIST freedroidrpg-0.13.tar.bz2 137389662 RMD160 dfd5d60fb173ba6a9107894b2ba4a6f0d5868116 SHA1 6c58cc88c503a3050ef940158f5e338f70899533 SHA256 e4ed0ba187c0c74ec353345825bbf520bdc6d4d173a66ed6dba6e8e1683ffb8a
EBUILD freedroidrpg-0.12.1-r1.ebuild 1390 RMD160 13b516f90ddba648c0124b8fe2b30a3175195e10 SHA1 8b7d7be76daadb48236f56e8c3d85feb983be941 SHA256 1e57f9d665a3f2b77387c1b17f79ba30161a97f71876029b3e630b8505e4ca6c
-MISC ChangeLog 3035 RMD160 5f5f30b5a4fd5882a1b93bcd33037705c165fff6 SHA1 4dc90a64730590e728df18a5226b06b623acdd57 SHA256 e6b08a4c3c35282e1d7fbd0321d05404cabd9cc936f96903b25f87380ae2e29f
+EBUILD freedroidrpg-0.13.ebuild 1397 RMD160 0072dd24d46df660c3113b75e58ba1d5ab1415f1 SHA1 d7f6489e9d3897e74997358589a85faeb2199402 SHA256 bf7c573c69b790aaf7c1e55bd9a8a385129266490b4bce879484b928d7093209
+MISC ChangeLog 3212 RMD160 579cd1c70054c45d779f3bf9ba752660b685866a SHA1 7fa1ff76d76471af60f40f01de78475457f84f00 SHA256 0decb9e97dee4feb6b13be0c5cbab19e4945b4ac3399faa3040aa1122167e88b
MISC metadata.xml 2102 RMD160 b4460164b2f9e4bc4cc206fcb7a688afa6f127b7 SHA1 aaa79dbac1d09bda7e33de3cdaaf749ce2c1f0ad SHA256 d06c8ed4ae0f0763859351dfebfad1b41e3d054261fa555ba26e67be0f7b60f1
diff --git a/games-rpg/freedroidrpg/files/freedroidrpg-0.13-syslibs.patch b/games-rpg/freedroidrpg/files/freedroidrpg-0.13-syslibs.patch
new file mode 100644
index 000000000000..0e0209d78d6e
--- /dev/null
+++ b/games-rpg/freedroidrpg/files/freedroidrpg-0.13-syslibs.patch
@@ -0,0 +1,102 @@
+diff -ru freedroidrpg-0.13.orig/configure.ac freedroidrpg-0.13/configure.ac
+--- freedroidrpg-0.13.orig/configure.ac 2010-01-21 07:56:26.000000000 -0500
++++ freedroidrpg-0.13/configure.ac 2010-01-25 11:32:51.795551904 -0500
+@@ -109,6 +109,14 @@
+ AC_MSG_ERROR([SDL_image library needed for FreedroidRPG!
+ see http://www.libsdl.org/]))
+
++AC_CHECK_LIB([SDL_gfx], [rotozoomSurface],,
++ AC_MSG_ERROR([SDL_gfx library needed to run FreedroidRPG
++see http://www.ferzkopp.net/Software/SDL_gfx-2.0/]))
++
++AC_CHECK_LIB([lua], [luaL_openlibs],,
++ AC_MSG_ERROR([lua library needed to run FreedroidRPG
++see http://www.lua.org/]))
++
+ AC_MSG_NOTICE([[Checking for optional SDL libraries:]])
+ AC_CHECK_LIB([SDL_mixer], [Mix_ChannelFinished],, AC_MSG_WARN([
+ --------------------------------------------------
+diff -ru freedroidrpg-0.13.orig/src/Makefile.am freedroidrpg-0.13/src/Makefile.am
+--- freedroidrpg-0.13.orig/src/Makefile.am 2010-01-21 07:31:29.000000000 -0500
++++ freedroidrpg-0.13/src/Makefile.am 2010-01-25 11:34:48.618487853 -0500
+@@ -1,9 +1,7 @@
+ ## Process this file with automake to produce Makefile.in
+
+-freedroidRPG_LDADD = ../lua/liblua.a
+-
+ if WIN32
+-freedroidRPG_LDADD += ../win32/freedroidRPG.coff
++freedroidRPG_LDADD = ../win32/freedroidRPG.coff
+ endif
+
+ bin_PROGRAMS = freedroidRPG
+@@ -18,7 +16,7 @@
+ enemy.c input.c keyboard.c main.c hud.c view.c automap.c BFont.c \
+ defs.h map.h vars.h takeover.h global.h \
+ proto.h struct.h system.h BFont.h \
+- SDL_rotozoom.c SDL_rotozoom.h open_gl.c open_gl_atlas.c mission.c chat.c light.c \
++ open_gl.c open_gl_atlas.c mission.c chat.c light.c \
+ getopt.c getopt1.c getopt.h scandir.c scandir.h sound.h sound_effects.c \
+ lang.h lists.c lists.h gen_savestruct.py savestruct.c savestruct.h string.c pathfinder.c \
+ benchmark.c \
+@@ -45,12 +43,3 @@
+
+ savestruct.c savestruct.h: struct.h gen_savestruct.py
+ python gen_savestruct.py struct.h savestruct
+-
+-clean-local:
+- cd ../lua; make clean
+-
+-../lua/liblua.a:
+- cd ../lua; make CC=${CC} AR="${AR} rcu" liblua.a
+-if WIN32
+- i686-pc-mingw32-ranlib ../lua/liblua.a
+-endif
+diff -ru freedroidrpg-0.13.orig/src/lua.c freedroidrpg-0.13/src/lua.c
+--- freedroidrpg-0.13.orig/src/lua.c 2010-01-21 07:31:29.000000000 -0500
++++ freedroidrpg-0.13/src/lua.c 2010-01-25 11:33:27.344703642 -0500
+@@ -37,9 +37,9 @@
+ #include "lvledit/lvledit_actions.h"
+ #include "lvledit/lvledit_map.h"
+
+-#include "../lua/lua.h"
+-#include "../lua/lauxlib.h"
+-#include "../lua/lualib.h"
++#include <lua.h>
++#include <lauxlib.h>
++#include <lualib.h>
+
+ /* Our Lua state for event execution */
+ lua_State *global_lua_state;
+diff -ru freedroidrpg-0.13.orig/src/struct.h freedroidrpg-0.13/src/struct.h
+--- freedroidrpg-0.13.orig/src/struct.h 2010-01-21 07:31:29.000000000 -0500
++++ freedroidrpg-0.13/src/struct.h 2010-01-25 11:35:34.764604580 -0500
+@@ -30,16 +30,7 @@
+ #include "system.h"
+ #include "defs.h"
+
+-typedef struct tColorRGBA {
+- Uint8 r;
+- Uint8 g;
+- Uint8 b;
+- Uint8 a;
+-} tColorRGBA, myColor;
+-
+-typedef struct tColorY {
+- Uint8 y;
+-} tColorY;
++typedef tColorRGBA myColor;
+
+ /**
+ * Simple doubly linked list implementation.
+diff -ru freedroidrpg-0.13.orig/src/system.h freedroidrpg-0.13/src/system.h
+--- freedroidrpg-0.13.orig/src/system.h 2010-01-21 07:31:29.000000000 -0500
++++ freedroidrpg-0.13/src/system.h 2010-01-25 11:35:53.944486530 -0500
+@@ -111,6 +111,7 @@
+
+ #include "SDL.h"
+ #include "SDL_image.h"
++#include "SDL_rotozoom.h"
+
+ #ifdef HAVE_LIBSDL_MIXER
+ #include "SDL_mixer.h"
diff --git a/games-rpg/freedroidrpg/freedroidrpg-0.13.ebuild b/games-rpg/freedroidrpg/freedroidrpg-0.13.ebuild
new file mode 100644
index 000000000000..9b7406b94186
--- /dev/null
+++ b/games-rpg/freedroidrpg/freedroidrpg-0.13.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-rpg/freedroidrpg/freedroidrpg-0.13.ebuild,v 1.1 2010/01/25 17:48:35 mr_bones_ Exp $
+
+EAPI=2
+inherit autotools eutils games
+
+DESCRIPTION="A modification of the classical Freedroid engine into an RPG"
+HOMEPAGE="http://freedroid.sourceforge.net/"
+SRC_URI="mirror://sourceforge/freedroid/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="opengl"
+
+RDEPEND="media-libs/libsdl[video]
+ dev-lang/lua
+ media-libs/jpeg
+ media-libs/libpng
+ media-libs/sdl-image[jpeg,png]
+ media-libs/sdl-net
+ media-libs/sdl-mixer[vorbis]
+ media-libs/sdl-gfx
+ media-libs/libogg
+ media-libs/libvorbis
+ x11-libs/libX11
+ opengl? ( virtual/opengl )"
+DEPEND="${RDEPEND}
+ x11-libs/libXt
+ dev-lang/python"
+
+src_prepare() {
+ rm -rf lua src/SDL_rotozoom*
+ epatch "${FILESDIR}"/${P}-syslibs.patch
+
+ # No need for executable game resources
+ find sound graphics -type f -exec chmod -c a-x '{}' +
+ eautoreconf
+}
+
+src_configure() {
+ egamesconf \
+ --disable-dependency-tracking \
+ --disable-fastmath \
+ $(use_enable opengl)
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ rm -f "${D}/${GAMES_BINDIR}/"{croppy,pngtoico,gluem}
+ newicon win32/w32icon2_64x64.png ${PN}.png
+ make_desktop_entry freedroidRPG "Freedroid RPG"
+ prepgamesdirs
+}