diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2009-09-21 17:01:34 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2009-09-21 17:01:34 +0000 |
commit | a238477dbb3ceb370bbadc2ce88ac4c3ca685fb2 (patch) | |
tree | 69997bb8b2c4de130ea5449f2783c381ad36a5ce /dev-games/cegui | |
parent | version bump (diff) | |
download | gentoo-2-a238477dbb3ceb370bbadc2ce88ac4c3ca685fb2.tar.gz gentoo-2-a238477dbb3ceb370bbadc2ce88ac4c3ca685fb2.tar.bz2 gentoo-2-a238477dbb3ceb370bbadc2ce88ac4c3ca685fb2.zip |
old
(Portage version: 2.1.6.13/cvs/Linux i686)
Diffstat (limited to 'dev-games/cegui')
-rw-r--r-- | dev-games/cegui/Manifest | 13 | ||||
-rw-r--r-- | dev-games/cegui/cegui-0.5.0b-r3.ebuild | 86 | ||||
-rw-r--r-- | dev-games/cegui/files/cegui-0.5.0b-lua.patch | 93 |
3 files changed, 0 insertions, 192 deletions
diff --git a/dev-games/cegui/Manifest b/dev-games/cegui/Manifest index a4cb849cd0bb..8b91596ac198 100644 --- a/dev-games/cegui/Manifest +++ b/dev-games/cegui/Manifest @@ -1,19 +1,6 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - -AUX cegui-0.5.0b-lua.patch 3093 RMD160 0052aa9daeefe0f8b5319ca1fa999555f42cb110 SHA1 2cf7b736b14a31482310ff81074952ff16d60e2d SHA256 892aed2527e4c0b890ea9659dfac218794d8cc1e64231d190ec55aaca50f503d AUX cegui-0.6.2b-gcc43.patch 241 RMD160 d0b104b161a655da3ffb9aff0e53cc355beccd8e SHA1 521978347c5ad85c64a6c0727ddcef441fc349d9 SHA256 b2a2e715d4a0a6cdb2f0975c9474ce82edd97a34cdb3fe4d5c3ddbde0440db66 -DIST CEGUI-0.5.0b.tar.gz 2240192 RMD160 a60f5ee74315dc83db860cfa91f93449ed7b01f9 SHA1 29c3888b1ba9a4ee246a8534244a00280c01bd60 SHA256 50c1036f3adc741478966bf29a1e3104b983af8bfd82e201ed35ad2039e166ff DIST CEGUI-0.6.2-DOCS.tar.gz 18396638 RMD160 f3b010ce170973c126be27495636de4e808d3e65 SHA1 33e1ebfa0ab4e7fe2a91c0bb0affb6dccb49a94c SHA256 f1ea46bd583c486a6c588118573ebde55b06e90b190083e95525820e950ce2c8 DIST CEGUI-0.6.2b.tar.gz 2628081 RMD160 890a8af12eb1ed4b7de0765c1f1a521ad5b1d213 SHA1 ac373b0779ab4b6289cf1e6aa2e6717d8a348747 SHA256 eb77741cd9fcc927a876e8116b98691212e973d2264e2071406423f6ca3e305f -EBUILD cegui-0.5.0b-r3.ebuild 2137 RMD160 ed626e637f2a849a11df2815a211288fc832df67 SHA1 7abb8c427cb5c548c05dad11417dd54401fc93c3 SHA256 420bc804580495e256ec709fd96dfdfe12e46e7e2d668a9b2cd6c3f280dc73a6 EBUILD cegui-0.6.2b.ebuild 2489 RMD160 7799f4ce7ad2755218c2b000596f97622d4f10ae SHA1 701c99cb6493da8b15d9845c08a2890f086f7141 SHA256 ba455321691f5c71becc71a2b5f2ca88cb63a55904f7a7c5e92bb6cba65d61fb MISC ChangeLog 3462 RMD160 f147328209bb4b5cb9331faed4f63184dcb89add SHA1 1dfc161213929e3c8c31c9eaba645f7ceac5306e SHA256 79402925d29233e3cfea74c3be1f563992ffc9769551ecda2fb278ac36afa2bc MISC metadata.xml 442 RMD160 b936ed4d0c82b15829e989a2b1c0f4a199b9f4db SHA1 421606bb7dfe694202d70b573fa474c840d6b90b SHA256 5a01ffaef046a402fe07fe49726a48ccb2a1432fa7cfbcf3fb81c4be6f4c09fd ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.11 (GNU/Linux) - -iEYEARECAAYFAkpL0sgACgkQkKaRLQcq0GJqNACgsf0lhbYWqzbsxLZqdryWm7kp -TEAAnjGuk2OMpOGdAFmzJS/TyUUYf4Mw -=HgKL ------END PGP SIGNATURE----- diff --git a/dev-games/cegui/cegui-0.5.0b-r3.ebuild b/dev-games/cegui/cegui-0.5.0b-r3.ebuild deleted file mode 100644 index 21df7e8a2d91..000000000000 --- a/dev-games/cegui/cegui-0.5.0b-r3.ebuild +++ /dev/null @@ -1,86 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-games/cegui/cegui-0.5.0b-r3.ebuild,v 1.5 2009/02/11 08:46:18 mr_bones_ Exp $ - -inherit autotools eutils - -MY_P=CEGUI-${PV} -DESCRIPTION="Crazy Eddie's GUI System" -HOMEPAGE="http://www.cegui.org.uk/" -SRC_URI="mirror://sourceforge/crayzedsgui/${MY_P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 ppc x86" -IUSE="devil doc examples expat lua opengl xerces-c xml" - -RDEPEND="dev-libs/libpcre - =media-libs/freetype-2* - devil? ( media-libs/devil ) - expat? ( dev-libs/expat ) - lua? ( dev-lang/lua ) - opengl? ( virtual/opengl - virtual/glu - virtual/glut ) - xerces-c? ( dev-libs/xerces-c ) - xml? ( dev-libs/libxml2 )" -DEPEND="${RDEPEND} - dev-util/pkgconfig - doc? ( app-doc/doxygen )" - -S=${WORKDIR}/${MY_P/b} - -src_unpack() { - unpack ${A} - cd "${S}" - sed -i \ - -e 's/ILvoid/void/g' \ - ImageCodecModules/DevILImageCodec/CEGUIDevILImageCodec.cpp \ - || die "sed failed" - if use examples ; then - cp -r Samples Samples.clean - rm -f $(find Samples.clean -name 'Makefile*') - rm -rf Samples.clean/bin - fi - epatch "${FILESDIR}"/${P}-lua.patch - eautoreconf -} - -src_compile() { - econf \ - $(use_enable devil) \ - $(use_enable examples samples) \ - $(use_enable expat) \ - $(use_enable lua lua-module) \ - $(use_enable lua toluacegui) \ - $(use_enable opengl opengl-renderer) \ - $(use_enable xerces-c) \ - $(use_enable xml libxml) \ - --enable-static \ - --enable-tga \ - --enable-tinyxml \ - --disable-corona \ - --disable-dependency-tracking \ - --disable-freeimage \ - --disable-irrlicht-renderer \ - --disable-samples \ - --disable-silly \ - --without-gtk2 \ - --without-ogre-renderer \ - || die - emake || die "emake failed" - if use doc ; then - mkdir -p documentation/api_reference - doxygen || die "doxygen failed" - fi -} - -src_install() { - emake DESTDIR="${D}" install || die "emake install failed" - dodoc AUTHORS ChangeLog README TODO - use doc && dohtml -r documentation/api_reference - if use examples ; then - insinto /usr/share/doc/${PF}/Samples - doins -r Samples.clean/* || die "doins failed" - fi -} diff --git a/dev-games/cegui/files/cegui-0.5.0b-lua.patch b/dev-games/cegui/files/cegui-0.5.0b-lua.patch deleted file mode 100644 index f94a50335d29..000000000000 --- a/dev-games/cegui/files/cegui-0.5.0b-lua.patch +++ /dev/null @@ -1,93 +0,0 @@ ---- acinclude.m4 -+++ acinclude.m4 -@@ -539,6 +539,17 @@ - AC_DEFUN([CEGUI_CHECK_LUA],[ - PKG_CHECK_MODULES(Lua, lua >= 5.0 lua < 5.1, [cegui_found_lua=yes], [cegui_found_lua=no]) - -+ LUA_VERSION_FLAGS=""; -+ if test x$cegui_found_lua = xno; then -+ PKG_CHECK_MODULES(Lua, lua >= 5.1, [cegui_found_lua=yes], [cegui_found_lua=no]) -+ -+ if test x$cegui_found_lua = xyes; then -+ LUA_VERSION_FLAGS="$LUA_VERSION_FLAGS -DLUA51" -+ AC_MSG_NOTICE([Lua version >=5.1]) -+ fi -+ fi -+ AC_SUBST(LUA_VERSION_FLAGS) -+ - AC_ARG_ENABLE([lua-module], AC_HELP_STRING([--disable-lua-module], [Disables building of the Lua scripting module.]), - [cegui_with_lua=$enableval], [cegui_with_lua=yes]) - AC_ARG_ENABLE([toluacegui], AC_HELP_STRING([--enable-toluacegui], [Enables building of our custom tolua++ based binding generator tool, tolua++cegui.]), ---- ScriptingModules/CEGUILua/LuaScriptModule/src/CEGUILua.cpp -+++ ScriptingModules/CEGUILua/LuaScriptModule/src/CEGUILua.cpp -@@ -35,12 +35,10 @@ - - // include Lua libs and tolua++ - extern "C" { --#include "lua.h" -+#include "tolua++.h" - #include "lualib.h" --#include "lauxlib.h" - } - --#include "tolua++.h" - - // prototype for bindings initialisation function - int tolua_CEGUI_open(lua_State* tolua_S); -@@ -55,11 +53,36 @@ - *************************************************************************/ - LuaScriptModule::LuaScriptModule() - { -+#ifdef LUA51 -+ static const luaL_Reg lualibs[] = { -+ {"", luaopen_base}, -+ {LUA_LOADLIBNAME, luaopen_package}, -+ {LUA_TABLIBNAME, luaopen_table}, -+ {LUA_IOLIBNAME, luaopen_io}, -+ {LUA_OSLIBNAME, luaopen_os}, -+ {LUA_STRLIBNAME, luaopen_string}, -+ {LUA_MATHLIBNAME, luaopen_math}, -+#if defined(DEBUG) || defined (_DEBUG) -+ {LUA_DBLIBNAME, luaopen_debug}, -+#endif -+ {NULL, NULL} -+ }; -+#endif /* LUA51 */ -+ - // create a lua state - d_ownsState = true; - d_state = lua_open(); - - // init all standard libraries -+#ifdef LUA51 -+ const luaL_Reg *lib = lualibs; -+ for (; lib->func; lib++) -+ { -+ lua_pushcfunction(d_state, lib->func); -+ lua_pushstring(d_state, lib->name); -+ lua_call(d_state, 1, 0); -+ } -+#else /* LUA51 */ - luaopen_base(d_state); - luaopen_io(d_state); - luaopen_string(d_state); -@@ -68,7 +91,7 @@ - #if defined(DEBUG) || defined (_DEBUG) - luaopen_debug(d_state); - #endif -- -+#endif /* LUA51 */ - setModuleIdentifierString(); - } - ---- ScriptingModules/CEGUILua/LuaScriptModule/src/Makefile.am -+++ ScriptingModules/CEGUILua/LuaScriptModule/src/Makefile.am -@@ -1,6 +1,7 @@ - INCLUDES = -I$(top_srcdir)/include \ - -I$(top_srcdir)/ScriptingModules/CEGUILua/tolua++ \ -- -I$(top_srcdir)/ScriptingModules/CEGUILua/LuaScriptModule/include -+ -I$(top_srcdir)/ScriptingModules/CEGUILua/LuaScriptModule/include \ -+ ${LUA_VERSION_FLAGS} - lib_LTLIBRARIES = libCEGUILuaScriptModule.la - - libCEGUILuaScriptModule_la_LDFLAGS = -version-info @CEGUI_VERSION_INFO@ |