diff options
author | Tomas Chvatal <scarabeus@gentoo.org> | 2008-12-03 19:16:47 +0000 |
---|---|---|
committer | Tomas Chvatal <scarabeus@gentoo.org> | 2008-12-03 19:16:47 +0000 |
commit | b68c1b50a797412fcf0a82d0749a42a45ca4859b (patch) | |
tree | 0e898c1e9df19bb9a59a5ab87b0a6c6c37fba8e0 /games-sports/xmoto | |
parent | Version bump (diff) | |
download | historical-b68c1b50a797412fcf0a82d0749a42a45ca4859b.tar.gz historical-b68c1b50a797412fcf0a82d0749a42a45ca4859b.tar.bz2 historical-b68c1b50a797412fcf0a82d0749a42a45ca4859b.zip |
Version bump.
Package-Manager: portage-2.2_rc16/cvs/Linux 2.6.27-gentoo x86_64
Diffstat (limited to 'games-sports/xmoto')
-rw-r--r-- | games-sports/xmoto/ChangeLog | 7 | ||||
-rw-r--r-- | games-sports/xmoto/Manifest | 4 | ||||
-rw-r--r-- | games-sports/xmoto/xmoto-0.5.0.ebuild | 113 |
3 files changed, 122 insertions, 2 deletions
diff --git a/games-sports/xmoto/ChangeLog b/games-sports/xmoto/ChangeLog index f738f64c71b6..26102f90e2d5 100644 --- a/games-sports/xmoto/ChangeLog +++ b/games-sports/xmoto/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for games-sports/xmoto # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-sports/xmoto/ChangeLog,v 1.26 2008/09/06 13:29:41 nixnut Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-sports/xmoto/ChangeLog,v 1.27 2008/12/03 19:16:47 scarabeus Exp $ + +*xmoto-0.5.0 (03 Dec 2008) + + 03 Dec 2008; Tomas Chvatal <scarabeus@gentoo.org> +xmoto-0.5.0.ebuild: + Version bump. 06 Sep 2008; nixnut <nixnut@gentoo.org> xmoto-0.4.2.ebuild: Stable on ppc wrt bug 236271 diff --git a/games-sports/xmoto/Manifest b/games-sports/xmoto/Manifest index 38e842c24cb5..bf3399719090 100644 --- a/games-sports/xmoto/Manifest +++ b/games-sports/xmoto/Manifest @@ -1,5 +1,7 @@ DIST inksmoto-0.4.1.tar.gz 53762 RMD160 c74ff517f994c1b52f72063a7b67da80beffe52f SHA1 620fd708fb01f0273389dcce3b2f21dfe505ffff SHA256 8b609519fe9d3641a41f45181bbdb04eb6a6575767466ea46dfc772322a4625a DIST xmoto-0.4.2-src.tar.gz 21518240 RMD160 b87ac63714772b54d8b5fd45a8b7bdacf557f765 SHA1 4d73c7db5b423faf4e88d2d26db3da8da07ab712 SHA256 c8eea0a8c19f466cfd550ae06bccb1ccd1c8e45726edadd10b14ee89a4b64b60 +DIST xmoto-0.5.0-src.tar.gz 21913971 RMD160 a9e2b9f077b17e17bb2ffab04542ee0f737c3e0f SHA1 9d89c0c7fa7da23378577c8ed572cc381267dfae SHA256 705a70c3cda8300179e049c5b1fb8d5d241ede0a3bc1961d5e93682babccc93f EBUILD xmoto-0.4.2.ebuild 2913 RMD160 cc977532c504ad002c3514fa87505c141c13a275 SHA1 19cec89c8b589529b25bf7c0a11ff4acbc9ce13e SHA256 f911a4f6c0f6909380ad23a69415ef5bf7276422c3f22177b3dc9a7594212b95 -MISC ChangeLog 3885 RMD160 1b786be32ff49001dda58ed176f0c4c4e16aef27 SHA1 6ce24e449f12257a8602fce06521583d751ec64e SHA256 814deed15ca082747b919147617afa9494bd079e3723d107baa9a3250378e9ed +EBUILD xmoto-0.5.0.ebuild 2995 RMD160 0f097ab4488939e205ef65f02a6ca6d40d9b172f SHA1 fac4fa88912e3622c5be3fe648858af2d6f3fc5b SHA256 501778dba414d6bce079ae989ec15062ec4cb0de02c8282d2e45d5c255c81347 +MISC ChangeLog 4006 RMD160 0d8a92baa577b58a6dfb2741ea9cecd65d072ba6 SHA1 8fa726524f1bef6c704c91cf3de989020f9c493c SHA256 b28952e04817c7bfbf9a0c2d6360e98afc43a398c1522f241b4bda17da73082d MISC metadata.xml 339 RMD160 b003e2b8bb90a2ada8c8ba870aab3e6e73f7de71 SHA1 aa5548496eb75effe84bb3849e0f021cdbeac476 SHA256 019501d6ea5973371f60c6407a8fe9e0cd13daef856182fd2974c5145dd2dfed diff --git a/games-sports/xmoto/xmoto-0.5.0.ebuild b/games-sports/xmoto/xmoto-0.5.0.ebuild new file mode 100644 index 000000000000..b23321e88c7d --- /dev/null +++ b/games-sports/xmoto/xmoto-0.5.0.ebuild @@ -0,0 +1,113 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-sports/xmoto/xmoto-0.5.0.ebuild,v 1.1 2008/12/03 19:16:47 scarabeus Exp $ + +inherit eutils games + +LVL="inksmoto-0.4.1" #they unfortunately don't release both at the same time +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/${PV}/${LVL}.tar.gz )" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="X editor nls" # sdl" + +RDEPEND="dev-games/ode + dev-lang/lua + media-libs/jpeg + media-libs/libpng + media-libs/libsdl + media-libs/sdl-mixer + media-libs/sdl-ttf + net-misc/curl + virtual/opengl + virtual/glu + nls? ( virtual/libintl ) + editor? ( >=media-gfx/inkscape-0.45 )" +DEPEND="${RDEPEND} + >=dev-db/sqlite-3 + !=dev-db/sqlite-3.6.2 + nls? ( sys-devel/gettext )" +pkg_setup() { + if has_version ">=dev-lang/lua-5.1.3-r1" && ! built_with_use dev-lang/lua deprecated ; then + eerror "Re-emerge dev-lang/lua with 'deprecated' USE flag" + eerror "Check your USE flags, re-emerge the dependencies and then" + eerror "emerge this package." + die + fi + games_pkg_setup +} +src_unpack() { + unpack ${A} + cd "${S}" + use editor && rm -f "${WORKDIR}"/${LVL}/{bezmisc,inkex}.py +} + +src_compile() { + #if use sdl ; then + # ewarn "SDL is known to be broken, if you experience any troubles please" + # ewarn "try again without this useflag" + # RENDERER="--with-renderer-sdlGfx=1 --with-renderer-openGl=0" + #else + RENDERER="--with-renderer-sdlGfx=0 --with-renderer-openGl=1" + #fi + if ! use nls ; then + NLS="--disable-nls" + else + NLS="--with-gettext" + fi + # using some nice dejavu font, better than nothing + egamesconf \ + --disable-dependency-tracking \ + --with-enable-zoom=1 \ + --enable-threads=posix \ + --with-gnu-ld \ + $(use_with X) \ + --with-localesdir=/usr/share/locale \ + ${RENDERER} \ + ${NLS} \ + || die + emake || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + ## if it is not working nice way, we'll do it ugly way + if use nls ; then + dodir /usr/share/locale + + cd "${S}"/po + for i in `ls -c1 |grep "\.gmo$"` ; do + BASE=$(echo ${i} |sed 's/\.gmo$//g') + msgfmt -v -o ${BASE}.mo ${BASE}.po + + insinto /usr/share/locale/${BASE}/LC_MESSAGES + newins ${BASE}.gmo xmoto.mo + done; + fi + cd "${S}" + dodoc README TODO NEWS 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.tuxfamily.org/index.php?title=Inkscape-0.4.0" + elog "You can share your levels on the Xmoto homepage." + fi +} |