diff options
author | Tristan Heaven <tristan@gentoo.org> | 2009-07-27 19:09:51 +0000 |
---|---|---|
committer | Tristan Heaven <tristan@gentoo.org> | 2009-07-27 19:09:51 +0000 |
commit | ac156dfc79fd6a7c319fb83916096d517b0b292a (patch) | |
tree | f0094f49f3614f2d99520564809947a63f24ea5a | |
parent | Fix (kind of harmless) typo in haskell-cabal eclass. $CABAL_UNKNONW -> $CABAL... (diff) | |
download | historical-ac156dfc79fd6a7c319fb83916096d517b0b292a.tar.gz historical-ac156dfc79fd6a7c319fb83916096d517b0b292a.tar.bz2 historical-ac156dfc79fd6a7c319fb83916096d517b0b292a.zip |
Version bump
Package-Manager: portage-2.2_rc33/cvs/Linux x86_64
5 files changed, 147 insertions, 5 deletions
diff --git a/games-arcade/holotz-castle/ChangeLog b/games-arcade/holotz-castle/ChangeLog index 00dda9423595..7b03190d7741 100644 --- a/games-arcade/holotz-castle/ChangeLog +++ b/games-arcade/holotz-castle/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for games-arcade/holotz-castle # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-arcade/holotz-castle/ChangeLog,v 1.10 2009/07/27 18:04:51 nyhm Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-arcade/holotz-castle/ChangeLog,v 1.11 2009/07/27 19:09:51 nyhm Exp $ + +*holotz-castle-1.3.14 (27 Jul 2009) + + 27 Jul 2009; Tristan Heaven <nyhm@gentoo.org> + +holotz-castle-1.3.14.ebuild, +files/holotz-castle-1.3.14-build.patch, + +files/holotz-castle-1.3.14-gcc44.patch: + Version bump 27 Jul 2009; Tristan Heaven <nyhm@gentoo.org> holotz-castle-1.3.10.ebuild, +files/holotz-castle-1.3.10-gcc44.patch: diff --git a/games-arcade/holotz-castle/Manifest b/games-arcade/holotz-castle/Manifest index 1a8623da00be..9b226f4f16b6 100644 --- a/games-arcade/holotz-castle/Manifest +++ b/games-arcade/holotz-castle/Manifest @@ -3,14 +3,18 @@ Hash: SHA1 AUX holotz-castle-1.3.10-build.patch 2177 RMD160 3a55c15d0dc3171b30eaa9c57e5aa2fab1b27ff9 SHA1 e391b0c410cc2ee4edc91c851284b524fbf93888 SHA256 f3dd073cf64d9cf56bdae5293aac955bc2e522e9e3764b786c84a353ecec1d80 AUX holotz-castle-1.3.10-gcc44.patch 288 RMD160 da05067f92c8eb0059211f91f21030ce9e6fe72c SHA1 68fe59d3e944e04177f021f47a80a70e65c6d5e6 SHA256 83252946e22a98cb7b494fc8aa0cd97dcdac573a1aad5af3b2fcf5f637a5875f +AUX holotz-castle-1.3.14-build.patch 2270 RMD160 3a7495f53c7d0525a7f0ce3b35bd7bc2268c6e8f SHA1 5cdf75dacb5d37a03155588fa0fa8aa092b0a4fe SHA256 7226fec8951d97648996861b6f626d5188d09265a26c290054aa44b95040048a +AUX holotz-castle-1.3.14-gcc44.patch 288 RMD160 da05067f92c8eb0059211f91f21030ce9e6fe72c SHA1 68fe59d3e944e04177f021f47a80a70e65c6d5e6 SHA256 83252946e22a98cb7b494fc8aa0cd97dcdac573a1aad5af3b2fcf5f637a5875f DIST holotz-castle-1.3.10-src.tar.gz 3666272 RMD160 450363c840ff56ac72b0c2731d352269769cd6c4 SHA1 405e69778233920c155a29d9ef490a8bdada31af SHA256 6333d7bfba2952dd17127a4564b0f680ada177a46f5aed4282a283fe3cd6fedb +DIST holotz-castle-1.3.14-src.tar.gz 3691364 RMD160 840131c5100799c7d3288a423620257bc69da408 SHA1 136d66dae342e4d2a4af8036e0b385700673ac7c SHA256 42903559a9821b39eac6eba7730be0fcba12c9ad861ba2691f372c54371039b1 EBUILD holotz-castle-1.3.10.ebuild 1080 RMD160 a58feb0cb878b624f70eea69ea10f94102365d7e SHA1 d9e333f487e27c747418a341ca5bfd2db6daa652 SHA256 eff6832a60ffe76911630a691bb3ed5dcc9953a68421f4e134f0562c90b2e39b -MISC ChangeLog 1740 RMD160 5ba93b4ae7ea62c3d4009d103d086255abbdd9bc SHA1 a35ebce1f99cba7e0908cc1ea20c205d2b197a78 SHA256 d78e7f62ce73adf898dea0487a02fa67389eb51accaf8592de5299875bbbbb3f +EBUILD holotz-castle-1.3.14.ebuild 1394 RMD160 57a5756907962e2305d4435685d163d7667998e1 SHA1 228a223e58b823afe894356b7cbaa94295de7e93 SHA256 214f32d3bd29f064882d52e9646df6e4333882a77ea3e44873467dc6a62597e7 +MISC ChangeLog 1957 RMD160 35a3bbbef6b4f83034eb541bc8b3f0083efc4d80 SHA1 09c3bc5ed1529bc132b03525c2a242db8753f7d3 SHA256 8f4184371e19df3d57c8f8998f2f39e889c0b9e49ca1a02f910ea8f7d19ca1fc MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.11 (GNU/Linux) -iEYEARECAAYFAkpt7EkACgkQdz7hIScOURH3VgCgvXHb+TjCKAokZJDHX29pFrdj -eBYAnRyXEXhjYJcJnKmPlOneuuXrl3wc -=9Kim +iEYEARECAAYFAkpt+4YACgkQdz7hIScOURE3+QCg8V0NnRUxZ6plj4+EbZdIlLFp +eEQAn3+vH7qK/Pxdo06dxEixDPFihkhP +=Ee8R -----END PGP SIGNATURE----- diff --git a/games-arcade/holotz-castle/files/holotz-castle-1.3.14-build.patch b/games-arcade/holotz-castle/files/holotz-castle-1.3.14-build.patch new file mode 100644 index 000000000000..bb834656601d --- /dev/null +++ b/games-arcade/holotz-castle/files/holotz-castle-1.3.14-build.patch @@ -0,0 +1,71 @@ +--- JLib/Makefile ++++ JLib/Makefile +@@ -19,7 +19,7 @@ + endif + + # Define -D_JLIB_DEBUG to debug JLib. Compile the app to debug also with this flag +-CFLAGS=-I. -I/usr/local/include/SDL -O3 -ffast-math -fPIC -Wall -Wshadow `$(SDL_CONFIG) --cflags` ++CXXFLAGS+=-I. -Wall -Wshadow `$(SDL_CONFIG) --cflags` + + # Sample LDFLAGS for applications + # LDFLAGS=-L. -ffast-math -lSDL_image -lSDL_ttf -lSDL_mixer `$(SDL_CONFIG) --libs` +@@ -28,15 +28,14 @@ + + # JLib + libJLib: $(JLIB_OBJS) +- g++-4.1 -shared -L/usr/lib -fPIC -o $@.so $? \ +- && ar rvus $@.a $? \ ++ $(AR) rvus $@.a $? + + $(GRAPHICS)/%.o: $(GRAPHICS)/%.cpp +- g++-4.1 $(CFLAGS) -c -o $@ $< ++ $(CXX) $(CXXFLAGS) -c -o $@ $< + $(UTIL)/%.o: $(UTIL)/%.cpp +- g++-4.1 $(CFLAGS) -c -o $@ $< ++ $(CXX) $(CXXFLAGS) -c -o $@ $< + $(MATH)/%.o: $(MATH)/%.cpp +- g++-4.1 $(CFLAGS) -c -o $@ $< ++ $(CXX) $(CXXFLAGS) -c -o $@ $< + + .PHONY: install + install: +--- src/Makefile ++++ src/Makefile +@@ -30,7 +30,7 @@ + + DEFINES = -DHC_DATA_DIR=\"$(HC_DATA)\" -DHCED_DATA_DIR=\"$(HCED_DATA)\" + +-all: JLib HC HCed ++all: HC HCed + + HC_OBJ_MAIN=HolotzCastle.o + HC_OBJS=HCUtil.o HCTimer.o HCLoadSaveSlot.o HCPlaylist.o HCPreferences.o HCTheme.o HCText.o \ +@@ -42,23 +42,23 @@ + + # Definir -D_JLIB_DEBUG para debug con JLib. Ponerlo también en el Makefile de JLib. + # Define -D_JLIB_DEBUG for JLib debug mode. Put it also in JLib's Makefile. +-CFLAGS=-fno-strict-aliasing -I. -I../JLib `$(SDL_CONFIG) --cflags` -I/usr/local/include/ -I/usr/local/include/SDL -O3 -Wall -Werror -Wshadow $(CPU_OPTS) -ffast-math -c +-LDFLAGS=-L. -ffast-math -lSDL_image -lSDL_ttf -lSDL_mixer `$(SDL_CONFIG) --libs` ++CXXFLAGS+=-fno-strict-aliasing -I. -I../JLib `$(SDL_CONFIG) --cflags` -Wall -Wshadow ++LDLIBS=-L. -lSDL_image -lSDL_ttf -lSDL_mixer `$(SDL_CONFIG) --libs` + + + JLib: + $(MAKE) -C ../JLib; + + %.o: %.cpp %.h +- g++ $(CFLAGS) $(DEFINES) $< -o $@ ++ $(CXX) -c $(CXXFLAGS) $(DEFINES) $< -o $@ + + HC: $(HC_OBJS) $(HC_OBJ_MAIN) ../JLib/libJLib.a +- g++ $(LDFLAGS) $? -o $@;\ ++ $(CXX) $(CXXFLAGS) $(LDFLAGS) -o $@ $? $(LDLIBS);\ + mv HC ../holotz-castle + + # HCed (Holotz's Castle editor). + HCed: $(HC_OBJS) $(HCED_OBJ_MAIN) ../JLib/libJLib.a +- g++ $(LDFLAGS) $? -o $@;\ ++ $(CXX) $(CXXFLAGS) $(LDFLAGS) -o $@ $? $(LDLIBS);\ + mv HCed ../holotz-castle-editor + + install: diff --git a/games-arcade/holotz-castle/files/holotz-castle-1.3.14-gcc44.patch b/games-arcade/holotz-castle/files/holotz-castle-1.3.14-gcc44.patch new file mode 100644 index 000000000000..0c3af53591bf --- /dev/null +++ b/games-arcade/holotz-castle/files/holotz-castle-1.3.14-gcc44.patch @@ -0,0 +1,11 @@ +--- JLib/JLib/Util/JFS.cpp ++++ JLib/JLib/Util/JFS.cpp +@@ -887,7 +887,7 @@ + + // Si es un directorio lo importa recursivamente + struct dirent64 **namelist; +- n = scandir64(filename, &namelist, 0, alphasort); ++ n = scandir64(filename, &namelist, 0, alphasort64); + + if (n < 0) + { diff --git a/games-arcade/holotz-castle/holotz-castle-1.3.14.ebuild b/games-arcade/holotz-castle/holotz-castle-1.3.14.ebuild new file mode 100644 index 000000000000..ee149181adaa --- /dev/null +++ b/games-arcade/holotz-castle/holotz-castle-1.3.14.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-arcade/holotz-castle/holotz-castle-1.3.14.ebuild,v 1.1 2009/07/27 19:09:51 nyhm Exp $ + +EAPI=2 +inherit eutils toolchain-funcs games + +DESCRIPTION="2D platform game" +HOMEPAGE="http://www.mainreactor.net/holotzcastle/en/index_en.html" +SRC_URI="http://www.mainreactor.net/holotzcastle/download/${P}-src.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="virtual/opengl + media-libs/sdl-mixer + media-libs/libsdl + media-libs/sdl-ttf + media-libs/sdl-image" + +S=${WORKDIR}/${P}-src + +PATCHES=( + "${FILESDIR}"/${P}-build.patch + "${FILESDIR}"/${P}-gcc44.patch +) + +src_compile() { + tc-export AR + emake -C JLib || die "emake JLib failed" + emake -C src HC_BASE="${GAMES_DATADIR}"/${PN}/ || die "emake src failed" +} + +src_install() { + dogamesbin holotz-castle holotz-castle-editor || die "dogamesbin failed" + insinto "${GAMES_DATADIR}"/${PN}/game + doins -r res/* || die "doins game failed" + insinto "${GAMES_DATADIR}"/${PN}/editor + doins -r HCedHome/res/* || die "doins editor failed" + newicon res/icon/icon.bmp ${PN}.bmp + make_desktop_entry ${PN} "Holotz's Castle" /usr/share/pixmaps/${PN}.bmp + make_desktop_entry ${PN}-editor "Holotz's Castle - Editor" \ + /usr/share/pixmaps/${PN}.bmp + dodoc doc/MANUAL*.txt + doman man/*.6 + prepgamesdirs +} |