summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Schweizer <genstef@gentoo.org>2007-08-08 23:13:52 +0000
committerStefan Schweizer <genstef@gentoo.org>2007-08-08 23:13:52 +0000
commitcb19a71d239f20cb147821a3e38d7964fc399e2b (patch)
tree62bf8657d25598409f7c7307affe623dea17963e /games-sports
parentUpdate sieve to 1.0.2, #188147 thanks to Andrew Roberts. (diff)
downloadgentoo-2-cb19a71d239f20cb147821a3e38d7964fc399e2b.tar.gz
gentoo-2-cb19a71d239f20cb147821a3e38d7964fc399e2b.tar.bz2
gentoo-2-cb19a71d239f20cb147821a3e38d7964fc399e2b.zip
version bump thanks to Franz Fellner <fellner@gmx.de> in bug 187341
(Portage version: 2.1.3.3)
Diffstat (limited to 'games-sports')
-rw-r--r--games-sports/xmoto/ChangeLog7
-rw-r--r--games-sports/xmoto/files/digest-xmoto-0.3.26
-rw-r--r--games-sports/xmoto/xmoto-0.3.2.ebuild75
3 files changed, 87 insertions, 1 deletions
diff --git a/games-sports/xmoto/ChangeLog b/games-sports/xmoto/ChangeLog
index 3a489128bf7d..972b1563a340 100644
--- a/games-sports/xmoto/ChangeLog
+++ b/games-sports/xmoto/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for games-sports/xmoto
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-sports/xmoto/ChangeLog,v 1.17 2007/07/05 07:22:34 genstef Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-sports/xmoto/ChangeLog,v 1.18 2007/08/08 23:13:52 genstef Exp $
+
+*xmoto-0.3.2 (08 Aug 2007)
+
+ 08 Aug 2007; Stefan Schweizer <genstef@gentoo.org> +xmoto-0.3.2.ebuild:
+ version bump thanks to Franz Fellner <fellner@gmx.de> in bug 187341
*xmoto-0.3.1 (05 Jul 2007)
diff --git a/games-sports/xmoto/files/digest-xmoto-0.3.2 b/games-sports/xmoto/files/digest-xmoto-0.3.2
new file mode 100644
index 000000000000..f238b99e9407
--- /dev/null
+++ b/games-sports/xmoto/files/digest-xmoto-0.3.2
@@ -0,0 +1,6 @@
+MD5 1509555c6cfd71f5775ab1b997d4c8a3 svg2lvl-0.4.0.tar.gz 48766
+RMD160 84244cd82fc1ba0737207dfd64fd865dd9fcf032 svg2lvl-0.4.0.tar.gz 48766
+SHA256 ffda6cf46ba2fb2a280c1229bbc5b458b3ac72595cdfee0a269c0fcd099a9f13 svg2lvl-0.4.0.tar.gz 48766
+MD5 09f40a4cc189033ce0753eadb0a2213e xmoto-0.3.2-src.tar.gz 16954891
+RMD160 81ca4e6e91d4496900ce8f6de504cf094406d24d xmoto-0.3.2-src.tar.gz 16954891
+SHA256 dbe5143f2a6cf43d7b53f908b2c84891029be1d12df13fdfdc6ece7d11861432 xmoto-0.3.2-src.tar.gz 16954891
diff --git a/games-sports/xmoto/xmoto-0.3.2.ebuild b/games-sports/xmoto/xmoto-0.3.2.ebuild
new file mode 100644
index 000000000000..ec298f561e2b
--- /dev/null
+++ b/games-sports/xmoto/xmoto-0.3.2.ebuild
@@ -0,0 +1,75 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-sports/xmoto/xmoto-0.3.2.ebuild,v 1.1 2007/08/08 23:13:52 genstef Exp $
+
+inherit eutils games
+
+LVL="svg2lvl-0.4.0"
+DESCRIPTION="A challenging 2D motocross platform game"
+HOMEPAGE="http://xmoto.tuxfamily.org"
+SRC_URI="http://download.tuxfamily.org/${PN}/${PN}/${PV}/${P}-src.tar.gz
+ editor? ( http://download.tuxfamily.org/xmoto/svg2lvl/${LVL/*-}/${LVL}.tar.gz )"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="nls editor"
+
+RDEPEND="media-libs/jpeg
+ media-libs/libpng
+ media-libs/libsdl
+ media-libs/sdl-mixer
+ media-libs/sdl-ttf
+ net-misc/curl
+ dev-lang/lua
+ dev-games/ode
+ virtual/opengl
+ virtual/glu
+ nls? ( virtual/libintl )
+ editor? ( >=media-gfx/inkscape-0.45 )"
+DEPEND="${RDEPEND}
+ >=dev-db/sqlite-3
+ nls? ( sys-devel/gettext )"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ sed -i 's:$(localedir):/usr/share/locale:' po/Makefile.in.in \
+ || die "sed Makefile.in.in failed"
+ use editor && rm -f "${WORKDIR}"/${LVL}/{bezmisc,inkex}.py
+}
+
+src_compile() {
+ egamesconf \
+ --disable-dependency-tracking \
+ --with-localesdir=/usr/share/locale \
+ $(use_enable nls) \
+ || die
+ emake || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+
+ dodoc README TODO ChangeLog
+
+ doicon extra/xmoto.xpm
+ domenu extra/xmoto.desktop
+
+ prepgamesdirs
+
+ if use editor; then
+ insinto /usr/share/inkscape/extensions
+ doins "${WORKDIR}"/${LVL}/*.{inx,py,xml} || die "doins failed"
+ fi
+}
+
+pkg_postinst() {
+ games_pkg_postinst
+ if use editor; then
+ elog "If you want to know how to create Xmoto levels"
+ elog "have a look at this Tutorial:"
+ elog "http://wiki.xmoto.free.fr/index.php?title=Inkscape-0.3.0#Tutorial"
+ elog "You can share your levels on the Xmoto homepage."
+ fi
+}