summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Chvatal <scarabeus@gentoo.org>2011-05-04 20:21:02 +0000
committerTomas Chvatal <scarabeus@gentoo.org>2011-05-04 20:21:02 +0000
commit18b84d85ed4f968f99c0c2dedb980b4c2f50c546 (patch)
tree3b99b3b67b4deb29cac0509d6f5fee670869e804 /games-sports/xmoto
parentkeep the mask up to date (diff)
downloadhistorical-18b84d85ed4f968f99c0c2dedb980b4c2f50c546.tar.gz
historical-18b84d85ed4f968f99c0c2dedb980b4c2f50c546.tar.bz2
historical-18b84d85ed4f968f99c0c2dedb980b4c2f50c546.zip
Version bump to latest. Fixes bug #354371.
Package-Manager: portage-2.2.0_alpha30/cvs/Linux x86_64
Diffstat (limited to 'games-sports/xmoto')
-rw-r--r--games-sports/xmoto/ChangeLog8
-rw-r--r--games-sports/xmoto/Manifest15
-rw-r--r--games-sports/xmoto/files/0.5.7-libpng.patch12
-rw-r--r--games-sports/xmoto/xmoto-0.5.7.ebuild91
4 files changed, 124 insertions, 2 deletions
diff --git a/games-sports/xmoto/ChangeLog b/games-sports/xmoto/ChangeLog
index 42a3b96ff787..9db5d8c10f4b 100644
--- a/games-sports/xmoto/ChangeLog
+++ b/games-sports/xmoto/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for games-sports/xmoto
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-sports/xmoto/ChangeLog,v 1.55 2011/03/04 01:35:18 ranger Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-sports/xmoto/ChangeLog,v 1.56 2011/05/04 20:21:01 scarabeus Exp $
+
+*xmoto-0.5.7 (04 May 2011)
+
+ 04 May 2011; Tomáš Chvátal <scarabeus@gentoo.org>
+ +files/0.5.7-libpng.patch, +xmoto-0.5.7.ebuild:
+ Version bump to latest. Fixes bug #354371.
04 Mar 2011; Brent Baude <ranger@gentoo.org> xmoto-0.5.4.ebuild:
stable ppc, bug 352162
diff --git a/games-sports/xmoto/Manifest b/games-sports/xmoto/Manifest
index 8e18e9c937c3..bbf5d0dd1de4 100644
--- a/games-sports/xmoto/Manifest
+++ b/games-sports/xmoto/Manifest
@@ -1,5 +1,18 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+AUX 0.5.7-libpng.patch 460 RMD160 2b5f5c54299e1b855f0199f0b0796afd4af7d237 SHA1 8d006a3a34a179bef46d79d39f3d5845a34e3eaa SHA256 57905d720c8414d352489b2ad1b6fc3886e81bda57530779111943a815f0644a
DIST inksmoto-0.7.0.tar.gz 2628941 RMD160 af6eb2c6698bae394c5a7a664d8d61920a4a9391 SHA1 ab47beb5f41706d355ddab6a7365cc24706fb893 SHA256 60bd1369d4c347e127886a5813af13daf39b56ce818c9f8b2fc7d4bba0af7e11
DIST xmoto-0.5.4-src.tar.gz 52472497 RMD160 00a2159d24c8870250a516aa893f2f1d2ddffc46 SHA1 971ffd9abac28ae00b9c26f036636532f5adc753 SHA256 05e259216e6805c692ef45ea3d0cd09a42d9f9ea7e850656a1b8637f3a44a4e4
+DIST xmoto-0.5.7-src.tar.gz 40395855 RMD160 7815a44f2015d1d54570bb9d1dc0e33041ad2434 SHA1 e781b42480a96187b5aca4126d17ecf0610ca5ac SHA256 7ad631de830a762f495d9273a65bd42fb4331868197d3d5e8d624bb59fecfca6
EBUILD xmoto-0.5.4.ebuild 2550 RMD160 a60c97f4072d05121c805668d4353f30910cf745 SHA1 737ce92f13c2f83ae87165da116c3995e4b12580 SHA256 93ebb99bd95a0f3afdb9ea4f4a17408f9178f1c729c5f09b76f5c8f7f36a2a6a
-MISC ChangeLog 7494 RMD160 74b7c73c8c900a5c9f115aa9c8e09c1115828ab9 SHA1 78a143e8272ca473d09d7f7590fee9ed4bd36314 SHA256 f90ebb2326f21317443ab911ccd2cde9e2f053de2e92f0f80181a7859557d4a7
+EBUILD xmoto-0.5.7.ebuild 2478 RMD160 a0e4845aa2d6e25fbb34bad1d7f87fe21463bf91 SHA1 bcb416833b9fc1677c5b515a8b660c47dc82a735 SHA256 bd451a4e7f440398abea3fc28f0a773730aead3cb8747558bd8492a1d052f483
+MISC ChangeLog 7676 RMD160 fbfa5e0b3ba567628b7efe44f110abf3adf3914a SHA1 f2eef3a2e7f39024583e07d87140e02ff1819c1a SHA256 9512ba3369016e5886b2d48f6147d9ec0b636994579a516bb6b5088a6f1b99bd
MISC metadata.xml 270 RMD160 c447b9b1cea1f49ca7c00bab1f8aa6cdeb395afb SHA1 d0119628b902f2d7d0c56e532122df260eede5bf SHA256 43229adb28ae299ec42c09c8e7dc0f10eceba4af19d5094741471070094f5c57
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.17 (GNU/Linux)
+
+iEYEARECAAYFAk3BtS0ACgkQHB6c3gNBRYcnOQCgpZ2fxddyvowypubLOEqL6joP
+6CMAoI5U6YmZHBK1uvemzrVLEj/et/4P
+=ZUWV
+-----END PGP SIGNATURE-----
diff --git a/games-sports/xmoto/files/0.5.7-libpng.patch b/games-sports/xmoto/files/0.5.7-libpng.patch
new file mode 100644
index 000000000000..208046c38221
--- /dev/null
+++ b/games-sports/xmoto/files/0.5.7-libpng.patch
@@ -0,0 +1,12 @@
+diff --git a/xmoto-0.5.7.old/src/image/tim_png.cpp b/xmoto-0.5.7/src/image/tim_png.cpp
+index 75fd545..e4073dc 100644
+--- a/xmoto-0.5.7.old/src/image/tim_png.cpp
++++ b/xmoto-0.5.7/src/image/tim_png.cpp
+@@ -26,6 +26,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ #include <string.h>
+ #include "tim.h"
+ #include "png.h"
++#include "zlib.h"
+
+ /*==============================================================================
+ Types
diff --git a/games-sports/xmoto/xmoto-0.5.7.ebuild b/games-sports/xmoto/xmoto-0.5.7.ebuild
new file mode 100644
index 000000000000..5fd68efbae56
--- /dev/null
+++ b/games-sports/xmoto/xmoto-0.5.7.ebuild
@@ -0,0 +1,91 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-sports/xmoto/xmoto-0.5.7.ebuild,v 1.1 2011/05/04 20:21:01 scarabeus 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}
+ 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
+
+ epatch "${FILESDIR}"/${PV}-libpng.patch
+}
+
+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 || die
+
+ 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
+}