From 8e0d1dab29d4e5b8c45fb73990cd60016e195fa0 Mon Sep 17 00:00:00 2001 From: Marcel Unbehaun Date: Mon, 12 Oct 2009 17:09:42 +0200 Subject: (dev-libs/box2d) initial box2d-2.0.1.ebuild (dev-libs/box2d) new Manifest (dev-libs/box2d) new files/box2d-2.0.1-gcc4.patch (dev-libs/box2d) new metadata.xml (games-arcade/jamp) new Manifest (games-arcade/jamp) new files/jamp-1.0.2-ownbox2d.patch (games-arcade/jamp) initial jamp-1.0.2.ebuild (games-arcade/jamp) new metadata.xml --- games-arcade/jamp/Manifest | 4 +++ games-arcade/jamp/files/jamp-1.0.2-ownbox2d.patch | 35 ++++++++++++++++++ games-arcade/jamp/jamp-1.0.2.ebuild | 43 +++++++++++++++++++++++ games-arcade/jamp/metadata.xml | 9 +++++ 4 files changed, 91 insertions(+) create mode 100644 games-arcade/jamp/Manifest create mode 100644 games-arcade/jamp/files/jamp-1.0.2-ownbox2d.patch create mode 100644 games-arcade/jamp/jamp-1.0.2.ebuild create mode 100644 games-arcade/jamp/metadata.xml (limited to 'games-arcade/jamp') diff --git a/games-arcade/jamp/Manifest b/games-arcade/jamp/Manifest new file mode 100644 index 0000000..7e5902d --- /dev/null +++ b/games-arcade/jamp/Manifest @@ -0,0 +1,4 @@ +AUX jamp-1.0.2-ownbox2d.patch 1005 RMD160 42b7f5132b6868a2c7cb655674d2ee7585c7332b SHA1 4d2926c066b95bd1d3dcb2456aeb9440096d117a SHA256 69617e445313ac2168834d9cb6a70c760e4f26b79db0e4279ddc74c0161081a7 +DIST jamp-1.0.2.tar.gz 4436414 RMD160 64f6c50e5b04044223bb95f77f041e21dbb54bdd SHA1 da622561e0d12d8e5028e6e7d98c08bd1de2e515 SHA256 6756cdb881e31fad2a18a072dbe1dfa4393bd56995527f37a3950fd3fd7b928d +EBUILD jamp-1.0.2.ebuild 895 RMD160 0885ab39decd515c966371251728bbc267234dfe SHA1 4c432954779750727f192101b3169bed947de55f SHA256 120f6d30df0ad661f108a2a1b2058061ae4441e4183dd80ad57a2b810034bdef +MISC metadata.xml 249 RMD160 220cde0fc1a8d7d355705f0f6772bd8d77cdc17a SHA1 34b33eb8d24cd8bfef2ddfb8e80334fd77cc9488 SHA256 3875fd5008d7f5bfe7f3cf7bf330c209a5034f5988d37c1699fb3be35a7be906 diff --git a/games-arcade/jamp/files/jamp-1.0.2-ownbox2d.patch b/games-arcade/jamp/files/jamp-1.0.2-ownbox2d.patch new file mode 100644 index 0000000..5c689b1 --- /dev/null +++ b/games-arcade/jamp/files/jamp-1.0.2-ownbox2d.patch @@ -0,0 +1,35 @@ +diff -Naur jamp-1.0.2/cLevel.cpp jamp-1.0.2-p/cLevel.cpp +--- jamp-1.0.2/cLevel.cpp 2009-01-15 23:36:24.000000000 +0100 ++++ jamp-1.0.2-p/cLevel.cpp 2009-10-12 17:01:02.000000000 +0200 +@@ -496,7 +496,7 @@ + m_world->SetContinuousPhysics(true); + m_pointCount = 0; + +- m_world->Step(timeStep, 10, 8); ++ m_world->Step(timeStep, (10, 8)); + Singleton::Ptr()->UpdateAllFromPhysics(); + if (!m_debugPressed) + { +diff -Naur jamp-1.0.2/Makefile jamp-1.0.2-p/Makefile +--- jamp-1.0.2/Makefile 2009-10-12 16:50:07.000000000 +0200 ++++ jamp-1.0.2-p/Makefile 2009-10-12 17:01:35.000000000 +0200 +@@ -2,8 +2,8 @@ + SHAREDIR = /usr/share + DATADIR = /usr/share/games + +-PROJECT= ./box2d +-CXXFLAGS= -g -O2 -I$(PROJECT)/Include ++PROJECT= Box2D ++CXXFLAGS= -g -O2 -I/usr/include/$(PROJECT) + SOURCES=\ + cActorManager.cpp \ + cCamera.cpp \ +@@ -21,7 +21,7 @@ + cTextureManager.cpp \ + Level1.cpp + all: +- (cd box2d/Source; $(MAKE)) ++# (cd box2d/Source; $(MAKE)) + ($(MAKE) jamp) + + clean: diff --git a/games-arcade/jamp/jamp-1.0.2.ebuild b/games-arcade/jamp/jamp-1.0.2.ebuild new file mode 100644 index 0000000..8deda7f --- /dev/null +++ b/games-arcade/jamp/jamp-1.0.2.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=2 +inherit eutils games + +DESCRIPTION="Squirrel Physics (codename JAMP)" +HOMEPAGE="http://perre.noud.ch/jamp/" +SRC_URI="http://perre.noud.ch/jamp/${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~x86" +IUSE="" + +RDEPEND="media-libs/libsdl + media-libs/mesa + media-libs/sdl-image + dev-libs/box2d + media-libs/sdl-mixer" +DEPEND="${RDEPEND}" + +src_prepare(){ + epatch ${FILESDIR}/"${P}-ownbox2d.patch" + sed -e "s:/usr/games:${GAMES_BINDIR}:g" -i Makefile || die "sed failed" +} + +src_install() { + dogamesbin ${PN} + local datadir="${GAMES_DATADIR}"/"${PN}" + dodir ${datadir} + insinto "${GAMES_DATADIR}"/"${PN}" + doins -r images shapes sounds || die + newicon images/"${PN}.png" "${PN}.png" + make_desktop_entry "${PN}" "${PN}" + + prepgamesdirs +} + +pkg_postinst() { + games_pkg_postinst +} diff --git a/games-arcade/jamp/metadata.xml b/games-arcade/jamp/metadata.xml new file mode 100644 index 0000000..4e4714e --- /dev/null +++ b/games-arcade/jamp/metadata.xml @@ -0,0 +1,9 @@ + + + + + frostworks@gmx.de + Marcel Unbehaun + +games + -- cgit v1.2.3-18-g5258