version bump - patch supplied by Robert Lundmark via bug #112621
authorMichael Sterrett <mr_bones_@gentoo.org>
Wed, 16 Nov 2005 17:43:00 +0000 (17:43 +0000)
committerMichael Sterrett <mr_bones_@gentoo.org>
Wed, 16 Nov 2005 17:43:00 +0000 (17:43 +0000)
Package-Manager: portage-2.0.51.22-r3

games-arcade/holotz-castle/ChangeLog
games-arcade/holotz-castle/Manifest
games-arcade/holotz-castle/files/digest-holotz-castle-1.3.7 [new file with mode: 0644]
games-arcade/holotz-castle/files/holotz-castle-1.3.7-build.patch [new file with mode: 0644]
games-arcade/holotz-castle/holotz-castle-1.3.7.ebuild [new file with mode: 0644]

index a71f049cc348c92121d2ce4db871a94dad93522f..c9218fa05082b8a8266ab4a545ba09b70c0ca263 100644 (file)
@@ -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 <mr_bones_@gentoo.org>
+  +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)
 
index c539a33b024fd24175ad47209e677e19f1d24a8b..23b1b0b5265237c4f01fb68f0017055273701623 100644 (file)
@@ -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 (file)
index 0000000..c3f8f51
--- /dev/null
@@ -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 (file)
index 0000000..4c5f06b
--- /dev/null
@@ -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 (file)
index 0000000..bc7bbc7
--- /dev/null
@@ -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
+}