summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Schweizer <genstef@gentoo.org>2006-08-13 20:50:46 +0000
committerStefan Schweizer <genstef@gentoo.org>2006-08-13 20:50:46 +0000
commit3b0dd75b91363111ea739f9d856d84e5b7a0e38d (patch)
treea702b75c7bafa11de386d4019a72ce020dee1ff8 /games-sports
parentAdd 'polling' and 'mjpeg' for oxine (diff)
downloadgentoo-2-3b0dd75b91363111ea739f9d856d84e5b7a0e38d.tar.gz
gentoo-2-3b0dd75b91363111ea739f9d856d84e5b7a0e38d.tar.bz2
gentoo-2-3b0dd75b91363111ea739f9d856d84e5b7a0e38d.zip
New ebuild thanks to many contributors in bug 107968
(Portage version: 2.1.1_pre5)
Diffstat (limited to 'games-sports')
-rw-r--r--games-sports/xmoto/ChangeLog10
-rw-r--r--games-sports/xmoto/Manifest20
-rw-r--r--games-sports/xmoto/files/digest-xmoto-0.2.03
-rw-r--r--games-sports/xmoto/files/xmoto-as-needed.patch24
-rw-r--r--games-sports/xmoto/metadata.xml5
-rw-r--r--games-sports/xmoto/xmoto-0.2.0.ebuild40
6 files changed, 102 insertions, 0 deletions
diff --git a/games-sports/xmoto/ChangeLog b/games-sports/xmoto/ChangeLog
new file mode 100644
index 000000000000..0450eebed715
--- /dev/null
+++ b/games-sports/xmoto/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for games-sports/xmoto
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-sports/xmoto/ChangeLog,v 1.1 2006/08/13 20:50:46 genstef Exp $
+
+*xmoto-0.2.0 (13 Aug 2006)
+
+ 13 Aug 2006; Stefan Schweizer <genstef@gentoo.org>
+ +files/xmoto-as-needed.patch, +metadata.xml, +xmoto-0.2.0.ebuild:
+ New ebuild thanks to many contributors in bug 107968
+
diff --git a/games-sports/xmoto/Manifest b/games-sports/xmoto/Manifest
new file mode 100644
index 000000000000..1c169a4056c4
--- /dev/null
+++ b/games-sports/xmoto/Manifest
@@ -0,0 +1,20 @@
+AUX xmoto-as-needed.patch 1222 RMD160 a13f3fd2ad07307eed649122b9a7bd0cd0b20ba7 SHA1 eabb5a6921a42c81d093d0fb14a52cb76de16636 SHA256 ec076ff6e958de76325d153437e0bbfba601d279b8a690cf90fb0ca4923af2a6
+MD5 993995342255d5ce7ae43766013d210a files/xmoto-as-needed.patch 1222
+RMD160 a13f3fd2ad07307eed649122b9a7bd0cd0b20ba7 files/xmoto-as-needed.patch 1222
+SHA256 ec076ff6e958de76325d153437e0bbfba601d279b8a690cf90fb0ca4923af2a6 files/xmoto-as-needed.patch 1222
+DIST xmoto-0.2.0-src.tar.gz 5607598 RMD160 b96a0bebe37fd2d9c653a1c34a964aa9f9dbc339 SHA1 cb305dae66eee4ccdd00673859b4dc8e016175a0 SHA256 ee742446d0e37ca59d8157f857874b97b59fe23115001223fa56e7ee529754f9
+EBUILD xmoto-0.2.0.ebuild 786 RMD160 820e4deac04c25997c081b7be3d2680f559bd624 SHA1 74406ada3224b152308f26611c3ac8ff10008412 SHA256 fbcaa4885a60a14e3f5330ddf52f84647e0eb9e0570cacf2e91fc66d46922c17
+MD5 45418933cea7a01ae3fc92608d693f82 xmoto-0.2.0.ebuild 786
+RMD160 820e4deac04c25997c081b7be3d2680f559bd624 xmoto-0.2.0.ebuild 786
+SHA256 fbcaa4885a60a14e3f5330ddf52f84647e0eb9e0570cacf2e91fc66d46922c17 xmoto-0.2.0.ebuild 786
+MISC ChangeLog 324 RMD160 29fa24e5000a08519eb8d8059b29f374a4dee767 SHA1 7ed3380e5befd4715ae14cf66ecfa90978ca158f SHA256 e493a2f5649c45bc1dfb637c62054ace586af8f3936784a0b40bc88415e53ec8
+MD5 e0a9985844f18cb673a0aca3e04a9d78 ChangeLog 324
+RMD160 29fa24e5000a08519eb8d8059b29f374a4dee767 ChangeLog 324
+SHA256 e493a2f5649c45bc1dfb637c62054ace586af8f3936784a0b40bc88415e53ec8 ChangeLog 324
+MISC metadata.xml 198 RMD160 88ebf112983775eb40b1853f8feb0068370e23c7 SHA1 a0d58e0f7c60ccc7059b73fe1bf1bf5db5040a91 SHA256 929df0ca1120ffd538747b8f7153c0de6e67d547f3a87acea824e0fef6655ebf
+MD5 ea2e1713c3998d17007a265b1348ec41 metadata.xml 198
+RMD160 88ebf112983775eb40b1853f8feb0068370e23c7 metadata.xml 198
+SHA256 929df0ca1120ffd538747b8f7153c0de6e67d547f3a87acea824e0fef6655ebf metadata.xml 198
+MD5 b5239d95ba9f710030363db4007b8b55 files/digest-xmoto-0.2.0 250
+RMD160 fa129cfdc6e6edbeea0e7e3af4825017c867eb15 files/digest-xmoto-0.2.0 250
+SHA256 bdc5b6a3ebaa40c0c22e8ffc006dcb2f92fd12ed6a85dbe08bb6d5620dac464f files/digest-xmoto-0.2.0 250
diff --git a/games-sports/xmoto/files/digest-xmoto-0.2.0 b/games-sports/xmoto/files/digest-xmoto-0.2.0
new file mode 100644
index 000000000000..8a74c0abbb42
--- /dev/null
+++ b/games-sports/xmoto/files/digest-xmoto-0.2.0
@@ -0,0 +1,3 @@
+MD5 0404467792034dd221b92303f2750ac7 xmoto-0.2.0-src.tar.gz 5607598
+RMD160 b96a0bebe37fd2d9c653a1c34a964aa9f9dbc339 xmoto-0.2.0-src.tar.gz 5607598
+SHA256 ee742446d0e37ca59d8157f857874b97b59fe23115001223fa56e7ee529754f9 xmoto-0.2.0-src.tar.gz 5607598
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 000000000000..254079f66d73
--- /dev/null
+++ b/games-sports/xmoto/files/xmoto-as-needed.patch
@@ -0,0 +1,24 @@
+diff -ur xmoto-0.2.0.orig/Makefile.am xmoto-0.2.0/Makefile.am
+--- xmoto-0.2.0.orig/Makefile.am 2006-08-05 20:46:01.000000000 +0200
++++ xmoto-0.2.0/Makefile.am 2006-08-05 20:38:48.000000000 +0200
+@@ -47,7 +47,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 -ur xmoto-0.2.0.orig/Makefile.in xmoto-0.2.0/Makefile.in
+--- xmoto-0.2.0.orig/Makefile.in 2006-08-05 20:45:39.000000000 +0200
++++ xmoto-0.2.0/Makefile.in 2006-08-05 20:46:29.000000000 +0200
+@@ -269,7 +269,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 \
+ src/GUIFrame.cpp src/GUIList.cpp src/GUIStatic.cpp src/GUITabView.cpp \
diff --git a/games-sports/xmoto/metadata.xml b/games-sports/xmoto/metadata.xml
new file mode 100644
index 000000000000..236579fd23d7
--- /dev/null
+++ b/games-sports/xmoto/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer><email>genstef@gentoo.org</email></maintainer>
+</pkgmetadata>
diff --git a/games-sports/xmoto/xmoto-0.2.0.ebuild b/games-sports/xmoto/xmoto-0.2.0.ebuild
new file mode 100644
index 000000000000..61b6c50b2faf
--- /dev/null
+++ b/games-sports/xmoto/xmoto-0.2.0.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-sports/xmoto/xmoto-0.2.0.ebuild,v 1.1 2006/08/13 20:50:46 genstef Exp $
+
+inherit games eutils
+
+DESCRIPTION="A challenging 2D motocross platform game"
+HOMEPAGE="http://xmoto.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="media-libs/jpeg
+ media-libs/libpng
+ sys-libs/zlib
+ app-arch/bzip2
+ media-libs/libsdl
+ media-libs/sdl-mixer
+ net-misc/curl
+ dev-lang/lua
+ dev-games/ode
+ virtual/opengl"
+RDEPEND="${DEPEND}"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}/xmoto-as-needed.patch"
+}
+
+src_install() {
+ emake DESTDIR=${D} install || die "emake install failed"
+
+ dodoc README TODO ChangeLog
+ prepgamesdirs
+ make_desktop_entry xmoto Xmoto
+}