public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in games-sports/xmoto: ChangeLog xmoto-0.3.4.ebuild
@ 2007-10-21 21:30 Stefan Schweizer (genstef)
  0 siblings, 0 replies; only message in thread
From: Stefan Schweizer (genstef) @ 2007-10-21 21:30 UTC (permalink / raw
  To: gentoo-commits

genstef     07/10/21 21:30:42

  Modified:             ChangeLog
  Added:                xmoto-0.3.4.ebuild
  Log:
  version bump
  (Portage version: 2.1.3.15)

Revision  Changes    Path
1.20                 games-sports/xmoto/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-sports/xmoto/ChangeLog?rev=1.20&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-sports/xmoto/ChangeLog?rev=1.20&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-sports/xmoto/ChangeLog?r1=1.19&r2=1.20

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/games-sports/xmoto/ChangeLog,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -r1.19 -r1.20
--- ChangeLog	2 Sep 2007 18:53:51 -0000	1.19
+++ ChangeLog	21 Oct 2007 21:30:42 -0000	1.20
@@ -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.19 2007/09/02 18:53:51 genstef Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-sports/xmoto/ChangeLog,v 1.20 2007/10/21 21:30:42 genstef Exp $
+
+*xmoto-0.3.4 (21 Oct 2007)
+
+  21 Oct 2007; Stefan Schweizer <genstef@gentoo.org> +xmoto-0.3.4.ebuild:
+  version bump
 
 *xmoto-0.3.3 (02 Sep 2007)
 



1.1                  games-sports/xmoto/xmoto-0.3.4.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-sports/xmoto/xmoto-0.3.4.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-sports/xmoto/xmoto-0.3.4.ebuild?rev=1.1&content-type=text/plain

Index: xmoto-0.3.4.ebuild
===================================================================
# 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.4.ebuild,v 1.1 2007/10/21 21:30:42 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-enable-zoom=1 \
		--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
}



-- 
gentoo-commits@gentoo.org mailing list



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-10-21 21:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-21 21:30 [gentoo-commits] gentoo-x86 commit in games-sports/xmoto: ChangeLog xmoto-0.3.4.ebuild Stefan Schweizer (genstef)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox