summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2010-12-17 18:21:02 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2010-12-17 18:21:02 +0000
commit643ac0aca9c111f6c40b3d42a066e60ddf95aa0c (patch)
tree49905821bff4c0248d8ae1be70cb46b0bf533224 /games-sports
parentMask www-client/chromium dev channel release. (diff)
downloadhistorical-643ac0aca9c111f6c40b3d42a066e60ddf95aa0c.tar.gz
historical-643ac0aca9c111f6c40b3d42a066e60ddf95aa0c.tar.bz2
historical-643ac0aca9c111f6c40b3d42a066e60ddf95aa0c.zip
version bump (bug #348941)
Package-Manager: portage-2.1.9.24/cvs/Linux i686
Diffstat (limited to 'games-sports')
-rw-r--r--games-sports/xmoto/ChangeLog7
-rw-r--r--games-sports/xmoto/Manifest4
-rw-r--r--games-sports/xmoto/xmoto-0.5.4.ebuild93
3 files changed, 102 insertions, 2 deletions
diff --git a/games-sports/xmoto/ChangeLog b/games-sports/xmoto/ChangeLog
index 4dc7787c8ab3..408364975b43 100644
--- a/games-sports/xmoto/ChangeLog
+++ b/games-sports/xmoto/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for games-sports/xmoto
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-sports/xmoto/ChangeLog,v 1.50 2010/10/15 13:12:55 ranger Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-sports/xmoto/ChangeLog,v 1.51 2010/12/17 18:21:02 mr_bones_ Exp $
+
+*xmoto-0.5.4 (17 Dec 2010)
+
+ 17 Dec 2010; Michael Sterrett <mr_bones_@gentoo.org> +xmoto-0.5.4.ebuild:
+ version bump (bug #348941)
15 Oct 2010; Brent Baude <ranger@gentoo.org> xmoto-0.5.3-r1.ebuild:
stable ppc, bug 329977
diff --git a/games-sports/xmoto/Manifest b/games-sports/xmoto/Manifest
index d41d1625e4f3..454d6c9e06b4 100644
--- a/games-sports/xmoto/Manifest
+++ b/games-sports/xmoto/Manifest
@@ -1,5 +1,7 @@
DIST inksmoto-0.7.0.tar.gz 2628941 RMD160 af6eb2c6698bae394c5a7a664d8d61920a4a9391 SHA1 ab47beb5f41706d355ddab6a7365cc24706fb893 SHA256 60bd1369d4c347e127886a5813af13daf39b56ce818c9f8b2fc7d4bba0af7e11
DIST xmoto-0.5.3-src.tar.gz 52385576 RMD160 52e10637713b6c48c980032057a0da562c11b912 SHA1 7a2d8ab30b514932ce6907e5e0a7e926ee20cf8a SHA256 ce3b76792acec91d8b62c70830ee114318b8a62a1e6353834e869483490f1ff7
+DIST xmoto-0.5.4-src.tar.gz 52472497 RMD160 00a2159d24c8870250a516aa893f2f1d2ddffc46 SHA1 971ffd9abac28ae00b9c26f036636532f5adc753 SHA256 05e259216e6805c692ef45ea3d0cd09a42d9f9ea7e850656a1b8637f3a44a4e4
EBUILD xmoto-0.5.3-r1.ebuild 2558 RMD160 96ca06142fb1d3af3a40fd6196d95d4908212dfe SHA1 14644e340b96c47d495aecd6c7f25768b2747995 SHA256 55eee1eff2a80c8cffdcd01901dbba5094589000836bb68342b1c00466f9bded
-MISC ChangeLog 6924 RMD160 6b1a660d85cb33e45f1c290cae278a844280b4d0 SHA1 2dcb7ba2adc0f4086a36843a31cd7b3b4e302527 SHA256 5ac102eefd1f43fcdaadd395d62e9459f5b273c081f586e37cbc9c8d87bac388
+EBUILD xmoto-0.5.4.ebuild 2556 RMD160 70161d4b9f67a491f5485c1d6f07531c63d1c4d2 SHA1 690864a5514bd370fb59b9b743d3cac6ad7ce890 SHA256 40d9fc07446cbad4183b77ded8196630a76b6384a3c6f28a2334d00d865d9974
+MISC ChangeLog 7061 RMD160 650c860aeb67324a966266f53c644e730e81106e SHA1 acdcdea7b9d029cd37dd8911a848051228e6707c SHA256 39621772f78308eaba6ce68b7369b5335e3ac561de42284ab5e509319a3da824
MISC metadata.xml 270 RMD160 c447b9b1cea1f49ca7c00bab1f8aa6cdeb395afb SHA1 d0119628b902f2d7d0c56e532122df260eede5bf SHA256 43229adb28ae299ec42c09c8e7dc0f10eceba4af19d5094741471070094f5c57
diff --git a/games-sports/xmoto/xmoto-0.5.4.ebuild b/games-sports/xmoto/xmoto-0.5.4.ebuild
new file mode 100644
index 000000000000..edb071188ce0
--- /dev/null
+++ b/games-sports/xmoto/xmoto-0.5.4.ebuild
@@ -0,0 +1,93 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-sports/xmoto/xmoto-0.5.4.ebuild,v 1.1 2010/12/17 18:21:02 mr_bones_ Exp $
+
+EAPI=2
+inherit eutils flag-o-matic games
+
+LVL_PV="0.7.0" #they unfortunately don't release both at the same time, why ~ as separator :(
+LVL="inksmoto-${LVL_PV}"
+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_PV}/${LVL}.tar.gz )"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="editor nls"
+
+RDEPEND="
+ dev-libs/libxdg-basedir
+ dev-db/sqlite:3
+ dev-games/ode
+ dev-lang/lua[deprecated]
+ virtual/jpeg
+ media-libs/libpng
+ media-libs/libsdl[joystick]
+ media-libs/sdl-mixer[vorbis]
+ media-libs/sdl-ttf
+ media-libs/sdl-net
+ net-misc/curl
+ app-arch/bzip2
+ virtual/opengl
+ virtual/glu
+ media-fonts/dejavu
+ nls? ( virtual/libintl )"
+DEPEND="${RDEPEND}
+ !=dev-db/sqlite-3.6.2
+ nls? ( sys-devel/gettext )"
+RDEPEND="${RDEPEND}
+ editor? ( media-gfx/inkscape )"
+
+src_prepare() {
+ use editor && rm -vf "${WORKDIR}"/extensions/{bezmisc,inkex}.py
+ sed -i \
+ -e '/^gettextsrcdir/s:=.*:= @localedir@/gettext/po:' \
+ po/Makefile.in.in || die
+ sed -i \
+ -e 's:png_set_gray_1_2_4_to_8:png_set_expand_gray_1_2_4_to_8:' \
+ src/image/tim_png.cpp || die
+}
+
+src_configure() {
+ # bug #289792
+ filter-flags -DdDOUBLE
+ has_version 'dev-games/ode[double-precision]' && append-flags -DdDOUBLE
+
+ egamesconf \
+ --disable-dependency-tracking \
+ --enable-threads=posix \
+ $(use_enable nls) \
+ --localedir=/usr/share/locale \
+ --with-localesdir=/usr/share/locale \
+ --with-renderer-sdlGfx=0 \
+ --with-renderer-openGl=1
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ dodoc README TODO NEWS ChangeLog
+
+ rm -f "${D}${GAMES_DATADIR}/${PN}"/Textures/Fonts/DejaVuSans.ttf
+ dosym /usr/share/fonts/dejavu/DejaVuSans.ttf "${GAMES_DATADIR}/${PN}"/Textures/Fonts/
+ doicon extra/xmoto.xpm
+ make_desktop_entry ${PN} Xmoto
+
+ prepgamesdirs
+
+ if use editor; then
+ insinto /usr/share/inkscape/
+ doins -r "${WORKDIR}"/extensions/ || 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=Inksmoto-${LVL_PV}"
+ elog "You can share your levels on the Xmoto homepage."
+ fi
+}