From 882a8986103f5e45d29d314739696c8643fdea74 Mon Sep 17 00:00:00 2001 From: Michael Sterrett Date: Wed, 16 Nov 2005 17:43:00 +0000 Subject: version bump - patch supplied by Robert Lundmark via bug #112621 Package-Manager: portage-2.0.51.22-r3 --- games-arcade/holotz-castle/ChangeLog | 8 +++- games-arcade/holotz-castle/Manifest | 4 +- .../holotz-castle/files/digest-holotz-castle-1.3.7 | 1 + .../files/holotz-castle-1.3.7-build.patch | 54 ++++++++++++++++++++++ .../holotz-castle/holotz-castle-1.3.7.ebuild | 42 +++++++++++++++++ 5 files changed, 107 insertions(+), 2 deletions(-) create mode 100644 games-arcade/holotz-castle/files/digest-holotz-castle-1.3.7 create mode 100644 games-arcade/holotz-castle/files/holotz-castle-1.3.7-build.patch create mode 100644 games-arcade/holotz-castle/holotz-castle-1.3.7.ebuild (limited to 'games-arcade/holotz-castle') diff --git a/games-arcade/holotz-castle/ChangeLog b/games-arcade/holotz-castle/ChangeLog index a71f049cc348..c9218fa05082 100644 --- a/games-arcade/holotz-castle/ChangeLog +++ b/games-arcade/holotz-castle/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for games-arcade/holotz-castle # Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-arcade/holotz-castle/ChangeLog,v 1.1 2005/05/06 23:27:54 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-arcade/holotz-castle/ChangeLog,v 1.2 2005/11/16 17:43:00 mr_bones_ Exp $ + +*holotz-castle-1.3.7 (16 Nov 2005) + + 16 Nov 2005; Michael Sterrett + +files/holotz-castle-1.3.7-build.patch, +holotz-castle-1.3.7.ebuild: + version bump - patch supplied by Robert Lundmark via bug #112621 *holotz-castle-1.3.6 (06 May 2005) diff --git a/games-arcade/holotz-castle/Manifest b/games-arcade/holotz-castle/Manifest index c539a33b024f..23b1b0b52652 100644 --- a/games-arcade/holotz-castle/Manifest +++ b/games-arcade/holotz-castle/Manifest @@ -1,5 +1,7 @@ -MD5 4461de1a51a09a60b3dc0a37b9542890 holotz-castle-1.3.6.ebuild 1032 MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158 +MD5 4461de1a51a09a60b3dc0a37b9542890 holotz-castle-1.3.7.ebuild 1032 +MD5 4461de1a51a09a60b3dc0a37b9542890 holotz-castle-1.3.6.ebuild 1032 MD5 189603b01e5ead035bc24b61c4189fdc ChangeLog 377 MD5 ad80666870059c513ed0762261efb323 files/digest-holotz-castle-1.3.6 76 +MD5 15572c09b111983e7b568c673d21e407 files/digest-holotz-castle-1.3.7 76 MD5 d46e2e185d71faec086b2d443c0e13b3 files/holotz-castle-1.3.6-build.patch 1243 diff --git a/games-arcade/holotz-castle/files/digest-holotz-castle-1.3.7 b/games-arcade/holotz-castle/files/digest-holotz-castle-1.3.7 new file mode 100644 index 000000000000..c3f8f516cbe1 --- /dev/null +++ b/games-arcade/holotz-castle/files/digest-holotz-castle-1.3.7 @@ -0,0 +1 @@ +MD5 571be7f4dadf81f0eb5df7bee65d215b holotz-castle-1.3.7-src.tar.gz 3612543 diff --git a/games-arcade/holotz-castle/files/holotz-castle-1.3.7-build.patch b/games-arcade/holotz-castle/files/holotz-castle-1.3.7-build.patch new file mode 100644 index 000000000000..4c5f06b0cc30 --- /dev/null +++ b/games-arcade/holotz-castle/files/holotz-castle-1.3.7-build.patch @@ -0,0 +1,54 @@ +--- JLib/Makefile ++++ JLib/Makefile +@@ -15,22 +15,21 @@ + $(UTIL)/JApp.o $(UTIL)/JFS.o $(UTIL)/JThread.o $(UTIL)/JRW.o $(MATH)/J2DPolygon.o + + # Definir -D_JLIB_DEBUG para hacer debug de JLib. Compilar el programa a debugear también con este flag +-CFLAGS=-I. -O3 -ffast-math -fPIC -Wall -Wshadow -Winline +-LDFLAGS=-L. -ffast-math -lSDL -lSDL_image -lSDL_ttf -lSDL_mixer ++ CXXFLAGS=-I. $(CPU_OPTS) ++ LDFLAGS=-L. -lSDL -lSDL_image -lSDL_ttf -lSDL_mixer + + all: libJLib + + # JLib + libJLib: $(JLIB_OBJS) +- g++ -shared -fPIC -o $@.so $? \ +- && ar rvus $@.a $? \ ++ ar rvus $@.a $? + + $(GRAPHICS)/%.o: $(GRAPHICS)/%.cpp +- g++ $(CFLAGS) -c -o $@ $< ++ $(CXX) $(CXXFLAGS) -c -o $@ $< + $(UTIL)/%.o: $(UTIL)/%.cpp +- g++ $(CFLAGS) -c -o $@ $< ++ $(CXX) $(CXXFLAGS) -c -o $@ $< + $(MATH)/%.o: $(MATH)/%.cpp +- g++ $(CFLAGS) -c -o $@ $< ++ $(CXX) $(CXXFLAGS) -c -o $@ $< + + .PHONY: install + install: + +--- src/Makefile ++++ src/Makefile +@@ -26,7 +26,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 \ +@@ -38,8 +38,8 @@ + + # 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=-I. -I../JLib -O3 -Wall -Werror -Wshadow $(CPU_OPTS) -ffast-math -c $(shell sdl-config --cflags) +-LDFLAGS=-L/usr/X11R6/lib -ffast-math -lSDL -lSDL_image -lSDL_mixer -lSDL_ttf ++CFLAGS=-Wshadow $(CPU_OPTS) -c -I. -I../JLib $(shell sdl-config --cflags) ++LDFLAGS=-lSDL -lSDL_image -lSDL_mixer -lSDL_ttf -lGL -lGLU + + JLib: + make -C ../JLib; diff --git a/games-arcade/holotz-castle/holotz-castle-1.3.7.ebuild b/games-arcade/holotz-castle/holotz-castle-1.3.7.ebuild new file mode 100644 index 000000000000..bc7bbc7d1fc4 --- /dev/null +++ b/games-arcade/holotz-castle/holotz-castle-1.3.7.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2005 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.7.ebuild,v 1.1 2005/11/16 17:43:00 mr_bones_ Exp $ + +inherit eutils games + +DESCRIPTION="2d platform jump'n'run 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 + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${P}-build.patch +} + +src_compile() { + emake -C JLib CPU_OPTS="${CXXFLAGS}" || die "emake failed" + emake -C src CPU_OPTS="${CXXFLAGS}" || die "emake failed" +} + +src_install() { + dogamesbin holotz-castle holotz-castle-editor || die "dobin" + insinto "${GAMES_DATADIR}"/${PN}/game + doins -r HCedHome/* res/* || die "doins" + dodoc MANUAL*.txt + doman doc/*.6 + prepgamesdirs +} -- cgit v1.2.3-65-gdbad