summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Schweizer <genstef@gentoo.org>2006-06-08 00:38:53 +0000
committerStefan Schweizer <genstef@gentoo.org>2006-06-08 00:38:53 +0000
commit6d16d10213c82fe408f790361f7e72aefa73ef45 (patch)
tree0724441da59fa298727f04a20f623278dccf1eda /games-sports/xmoto
parentborked testing ebuild. OLD (diff)
downloadsunrise-6d16d10213c82fe408f790361f7e72aefa73ef45.tar.gz
sunrise-6d16d10213c82fe408f790361f7e72aefa73ef45.tar.bz2
sunrise-6d16d10213c82fe408f790361f7e72aefa73ef45.zip
Add the games-sports/xmoto ebuild from bug 107968 and the games-board/knights ebuild from my overlay
svn path=/; revision=3
Diffstat (limited to 'games-sports/xmoto')
-rw-r--r--games-sports/xmoto/Manifest12
-rw-r--r--games-sports/xmoto/files/digest-xmoto-0.1.143
-rw-r--r--games-sports/xmoto/files/xmoto-as-needed.patch11
-rw-r--r--games-sports/xmoto/xmoto-0.1.14.ebuild41
4 files changed, 67 insertions, 0 deletions
diff --git a/games-sports/xmoto/Manifest b/games-sports/xmoto/Manifest
new file mode 100644
index 000000000..c2b02d383
--- /dev/null
+++ b/games-sports/xmoto/Manifest
@@ -0,0 +1,12 @@
+AUX xmoto-as-needed.patch 514 RMD160 4578b5637cfa4738dc448f30eb6bcb9358c51ed2 SHA1 b2ab19f7c83c4a7d3a8d4b1bf184ce5ecd335e99 SHA256 b2b1c8db87c5f2141a1a3d40e9e415a36e11dc17a6299978ae5da798a3cd35d3
+MD5 d44458cb32c9b52c46518ccc74ec83e2 files/xmoto-as-needed.patch 514
+RMD160 4578b5637cfa4738dc448f30eb6bcb9358c51ed2 files/xmoto-as-needed.patch 514
+SHA256 b2b1c8db87c5f2141a1a3d40e9e415a36e11dc17a6299978ae5da798a3cd35d3 files/xmoto-as-needed.patch 514
+DIST xmoto-0.1.14-src.tar.gz 2920614 RMD160 34cf8de94aafe54ad3942b80b4d1ca4d4cf87fd5 SHA1 a999e06d8c378cfe5afae5f4e8d6f7f293a36371 SHA256 cf796c32a8e22546798c00575201d552b59c7b4050275794fff2f5860db9008c
+EBUILD xmoto-0.1.14.ebuild 812 RMD160 93e309c25ffcb640f022805935855a5a3a8d01b7 SHA1 ad6aff172538709d85897cac2529cb2ef69ec3ff SHA256 137633a86ce7d2f49e3953e7e364282f35b4617f95fbef630e3aa7301bee0d83
+MD5 b23ad1ae647399548b80341d55e6ca7b xmoto-0.1.14.ebuild 812
+RMD160 93e309c25ffcb640f022805935855a5a3a8d01b7 xmoto-0.1.14.ebuild 812
+SHA256 137633a86ce7d2f49e3953e7e364282f35b4617f95fbef630e3aa7301bee0d83 xmoto-0.1.14.ebuild 812
+MD5 9d9712da83b3add7051ffb5ccb9913b6 files/digest-xmoto-0.1.14 253
+RMD160 f5ffbfb425b4245ac7f90ad4737e768da090f904 files/digest-xmoto-0.1.14 253
+SHA256 cad295c7ee1705a6b0c4be70c7db972ef6c1a7718f02a5b182c3c87c2d840109 files/digest-xmoto-0.1.14 253
diff --git a/games-sports/xmoto/files/digest-xmoto-0.1.14 b/games-sports/xmoto/files/digest-xmoto-0.1.14
new file mode 100644
index 000000000..bcc2243f7
--- /dev/null
+++ b/games-sports/xmoto/files/digest-xmoto-0.1.14
@@ -0,0 +1,3 @@
+MD5 f2826bd3cc19daba25a6bdf92b1d6461 xmoto-0.1.14-src.tar.gz 2920614
+RMD160 34cf8de94aafe54ad3942b80b4d1ca4d4cf87fd5 xmoto-0.1.14-src.tar.gz 2920614
+SHA256 cf796c32a8e22546798c00575201d552b59c7b4050275794fff2f5860db9008c xmoto-0.1.14-src.tar.gz 2920614
diff --git a/games-sports/xmoto/files/xmoto-as-needed.patch b/games-sports/xmoto/files/xmoto-as-needed.patch
new file mode 100644
index 000000000..e9c4b85c0
--- /dev/null
+++ b/games-sports/xmoto/files/xmoto-as-needed.patch
@@ -0,0 +1,11 @@
+--- xmoto-0.1.14/Makefile.am.orig 2006-05-22 17:29:02.000000000 +0200
++++ xmoto-0.1.14/Makefile.am 2006-05-22 17:28:10.000000000 +0200
+@@ -34,7 +34,7 @@
+ src/EditorData.cpp src/EditorLog.cpp src/Editor.h src/EditorData.h \
+ src/EditorLog.h src/Packager.cpp src/Packager.h
+
+-xmoto_edit_LDADD = $(common_LDADD)
++xmoto_edit_LDADD = $(common_LDADD) $(SDL_LIBS)
+
+ xmoto_SOURCES = $(common_SOURCES) src/BSP.cpp src/Game.cpp src/GameMain.cpp \
+ src/GameMenus.cpp src/GUIBestTimes.cpp src/GUIButton.cpp src/GUI.cpp \
diff --git a/games-sports/xmoto/xmoto-0.1.14.ebuild b/games-sports/xmoto/xmoto-0.1.14.ebuild
new file mode 100644
index 000000000..6b315d776
--- /dev/null
+++ b/games-sports/xmoto/xmoto-0.1.14.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit games eutils
+
+HOMEPAGE="http://xmoto.sourceforge.net"
+SRC_URI="mirror://sourceforge/xmoto/${P}-src.tar.gz"
+DESCRIPTION="X-Moto is a challenging 2D motocross platform game"
+KEYWORDS="~x86 ~amd64"
+SLOT="0"
+IUSE=""
+LICENSE="GPL-2"
+
+RDEPEND="media-libs/jpeg
+ media-libs/libpng
+ sys-libs/zlib
+ media-libs/libsdl
+ media-libs/sdl-mixer
+ net-misc/curl
+ dev-lang/lua
+ dev-games/ode
+ virtual/opengl"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}/xmoto-as-needed.patch"
+}
+
+src_compile() {
+ egamesconf || die "egamesconf failed"
+ emake || die "emake failed"
+}
+
+src_install() {
+ make DESTDIR=${D} install || die "make install failed"
+
+ dodoc ChangeLog README TODO
+ prepgamesdirs
+}