summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2015-01-27 18:02:14 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2015-01-27 18:02:14 +0000
commit5ee651f63e4d487157ddd19b1e6eca9cb186e814 (patch)
tree8dd2637648dc756ff6cacedc48cbcaf2b623dc6b /games-sports
parentUpdate HOMEPAGE, bug 537928. Specify LICENSE more precisely. (diff)
downloadhistorical-5ee651f63e4d487157ddd19b1e6eca9cb186e814.tar.gz
historical-5ee651f63e4d487157ddd19b1e6eca9cb186e814.tar.bz2
historical-5ee651f63e4d487157ddd19b1e6eca9cb186e814.zip
version bump (bug #522486)
Package-Manager: portage-2.2.14/cvs/Linux x86_64
Diffstat (limited to 'games-sports')
-rw-r--r--games-sports/xmoto/ChangeLog10
-rw-r--r--games-sports/xmoto/Manifest5
-rw-r--r--games-sports/xmoto/files/xmoto-0.5.11-utf8.patch15
-rw-r--r--games-sports/xmoto/xmoto-0.5.11.ebuild92
4 files changed, 119 insertions, 3 deletions
diff --git a/games-sports/xmoto/ChangeLog b/games-sports/xmoto/ChangeLog
index 313d9bb36258..96131e04c6b0 100644
--- a/games-sports/xmoto/ChangeLog
+++ b/games-sports/xmoto/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for games-sports/xmoto
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-sports/xmoto/ChangeLog,v 1.69 2013/01/22 18:05:20 mr_bones_ Exp $
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-sports/xmoto/ChangeLog,v 1.70 2015/01/27 18:02:08 mr_bones_ Exp $
+
+*xmoto-0.5.11 (27 Jan 2015)
+
+ 27 Jan 2015; Michael Sterrett <mr_bones_@gentoo.org>
+ +files/xmoto-0.5.11-utf8.patch, +xmoto-0.5.11.ebuild:
+ version bump (bug #522486)
22 Jan 2013; Michael Sterrett <mr_bones_@gentoo.org>
-files/xmoto-0.5.9-gcc47.patch, -files/xmoto-0.5.9-libpng.patch,
diff --git a/games-sports/xmoto/Manifest b/games-sports/xmoto/Manifest
index bd3fbdba8679..c6be38705595 100644
--- a/games-sports/xmoto/Manifest
+++ b/games-sports/xmoto/Manifest
@@ -1,7 +1,10 @@
AUX xmoto-0.5.10-gcc47.patch 367 SHA256 d0dc02b512b78c1d69ce51ccf528d467da9f36eaab1f89e20605c3a175607c94 SHA512 843b2dbc52adcb696923b25c543cc02698f1b44f730eb0d2c06c73605ed7d01f2c7da51fee4c2c6b94c4a232f619e66afa516af1c02c873c569138cbee292044 WHIRLPOOL 41dc86ceb572da1ff2e8832761f71309da5fbdf44a329ec44eb1f6e0102a95ef735a7358a66df142a7b8d7bfb6302f747866d4f8feaeb7c5df8dc40cba56a55b
AUX xmoto-0.5.10-utf8.patch 425 SHA256 3cda1d96a450159cc0f7cfabb33da47d977b62428bdd8aadff9f5e1b4d1aaadc SHA512 53e1663a3027f2bf78c8c9b7f029c023cb4cd8af791e617f0e77e6609d56468662e42b7cfe033b7efaea0007b3b0cfff6e450ebb1cf245772dac03313186eab9 WHIRLPOOL 147db5a2a5e5a4f0491ad41e84dcf142a38c18f8dfe7d21981af981e458492e6b9f3ea92191ba829304ffb71272a0813c432c930f2184f3184c18bbfbcc5c348
+AUX xmoto-0.5.11-utf8.patch 425 SHA256 3cda1d96a450159cc0f7cfabb33da47d977b62428bdd8aadff9f5e1b4d1aaadc SHA512 53e1663a3027f2bf78c8c9b7f029c023cb4cd8af791e617f0e77e6609d56468662e42b7cfe033b7efaea0007b3b0cfff6e450ebb1cf245772dac03313186eab9 WHIRLPOOL 147db5a2a5e5a4f0491ad41e84dcf142a38c18f8dfe7d21981af981e458492e6b9f3ea92191ba829304ffb71272a0813c432c930f2184f3184c18bbfbcc5c348
DIST inksmoto-0.7.0.tar.gz 2628941 SHA256 60bd1369d4c347e127886a5813af13daf39b56ce818c9f8b2fc7d4bba0af7e11 SHA512 af0ae49ea160a2274f6835abd82ccaa00dc9ff81875b7d4ea29789388c131b519cb77e6da42efeaf51d52b97090c67320af38145204a1d5418781c99cb23a704 WHIRLPOOL e7137f1f23815cdef1061896b8dd687af38a79be341827dcaa437c39de95a98d94b4173d973899a8422c3e77088da11869957996f21c2822d8cfddf15b6a7ea6
DIST xmoto-0.5.10-src.tar.gz 40766628 SHA256 2d2438e4685aa5fc1aa9f73bfbe26893d7fc97fadd6e1cc9fdb09c8d16df9e1e SHA512 76863ed2ad4a22d6b77f74ebae13657dfbf03c0686b4700402a0086d4d3d38901c01a75df36c1830a53fb1c54e8f2b91f095f6f3830dbe8f9f3cfd8b7e4c4718 WHIRLPOOL c093e71e288e4fb6956a007565036aebba42249ed833a48af7ba7eb9be493f9fbe72153a1d4f68784b1f6ca87129d0c591f26c7388107e1ec25d5dfe1c43b3b7
+DIST xmoto-0.5.11-src.tar.gz 40785573 SHA256 a584a6f9292b184686b72c78f16de4b82d5c5b72ad89e41912ff50d03eca26b2 SHA512 7046745e8f7a045fa2ce1deb3fd75b73b233dc1092f5ecd6dd4e42938f70269a93a3a623a39a1f0520c90643a42dc1ce93c43ad07bf225ff6c50741cc02511f6 WHIRLPOOL 9301a6456dea420cc92706022b9003446363d90591f6c90977a1e85195419f42d168456db61077d4e757976ee7ccbb183e6337fda4a683334cea796aa65a7c3b
EBUILD xmoto-0.5.10.ebuild 2550 SHA256 3cd345a0e0ce986a8528315989839a11f6246aa76f01cb164d772ba71d50c357 SHA512 e0198407eb8f1a607eac922aeb313a8dc56e87d32df729d90c8995a0dd3299b401f43026f69bc91e000887ae8e7e69178a450361efc7cb7ed4db6b253fc9110b WHIRLPOOL f185769a2f8c83d829d8e8a26c8a9817c0b5a139615c1f7fdb69b63cfe88408229e93ee92824efb4ee445d72e1389ae510b3ca0cc2a3111202f41da2d89e726a
-MISC ChangeLog 9514 SHA256 be15cdcc520fb9ac9712d97fa3d4f54594727db97a387d15924671d0b997f311 SHA512 247fc304228f6a49b51b558b3e121f1fdfaf646ff01062ed09b418e517e0ca46af3b0748b22269c090e7e4e01eeed83bf9ed74798599f1ad4d1fc6c92a8de72c WHIRLPOOL 2c5aee908845825564ef88d1b75f16b7f3b0d46bdce1fbc56fce7ba6cf70d7986279c1f29c1e43c7ee9be1004e472cb28176ffb3ea3a81b71796808a233abcdf
+EBUILD xmoto-0.5.11.ebuild 2507 SHA256 e52887ecd724d90915984ac08a76ad330c586fdecd5384cc38eed8e89bf3d1ca SHA512 d99258a6be3558c6fb046390c0a05bedb7e6af8b385556360a2cbe167b2ac31228388c28c25ffbf5d58e259b49340178acfb743cfcfc995a6dfca3c1df3c7a1f WHIRLPOOL 4da6fb942cc72643225b4f29f4d8f4bbdf0fe904b216b8ae7c4133d5b1a12c6433fa95aab294eff7df11a220841dad3e950842ddf8bb75b430e5c599628e735a
+MISC ChangeLog 9684 SHA256 fab1c0fd44908b5132dfac908a7dbd8b2b0bd36a78918258300de76d27ebb94a SHA512 15ee3d130da15250cbb678092623e875c87bff8fe25e60f9396955a3c54cbaaf198b1dc72e5736dd05d2d2ecc71993b00ecc2bd0e1bf0a3d413bf853d0887220 WHIRLPOOL 397cdd501da90be63819ccfea85abd72a74c5b13d91d7de39607b2ce42e5ec1f29899c51031268979631fdab877e8aad0c0ed2799d8640d9a713dc8c4b01bea7
MISC metadata.xml 270 SHA256 43229adb28ae299ec42c09c8e7dc0f10eceba4af19d5094741471070094f5c57 SHA512 72c041eadf8dde3be8bf5724b1344339f6e38906f4799f67daba00d72fe337d042a903c0db8c75ee14790f46a6933e39da11464a2d0c3e96eb2b63dd4cd999ee WHIRLPOOL db9b56dddd0402c676bd4e3820cc7449104799fadb7f0d39ab233e8577550890470d6a803eae56a5a6102dc00d8481b812d36d179be223ca09a427e9234e79bb
diff --git a/games-sports/xmoto/files/xmoto-0.5.11-utf8.patch b/games-sports/xmoto/files/xmoto-0.5.11-utf8.patch
new file mode 100644
index 000000000000..5a9c5a499f93
--- /dev/null
+++ b/games-sports/xmoto/files/xmoto-0.5.11-utf8.patch
@@ -0,0 +1,15 @@
+http://todo.xmoto.tuxfamily.org/index.php?do=details&task_id=778
+
+--- src/helpers/utf8.h.orig
++++ src/helpers/utf8.h
+@@ -18,8 +18,8 @@
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ =============================================================================*/
+
+-#ifndef __UTF8_H__
+-#define __UTF8_H__
++#ifndef __XMOTO_UTF8_H__
++#define __XMOTO_UTF8_H__
+
+ #include <vector>
+ #include <string>
diff --git a/games-sports/xmoto/xmoto-0.5.11.ebuild b/games-sports/xmoto/xmoto-0.5.11.ebuild
new file mode 100644
index 000000000000..39602b2b3750
--- /dev/null
+++ b/games-sports/xmoto/xmoto-0.5.11.ebuild
@@ -0,0 +1,92 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-sports/xmoto/xmoto-0.5.11.ebuild,v 1.1 2015/01/27 18:02:08 mr_bones_ Exp $
+
+EAPI=5
+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/xmoto/xmoto/${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
+ dev-libs/libxml2
+ media-libs/libsdl[joystick,opengl]
+ 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}"/${P}-utf8.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() {
+ default
+
+ rm -f "${D}${GAMES_DATADIR}/xmoto"/Textures/Fonts/DejaVu*.ttf
+ dosym /usr/share/fonts/dejavu/DejaVuSans.ttf "${GAMES_DATADIR}/xmoto"/Textures/Fonts/DejaVuSans.ttf
+ dosym /usr/share/fonts/dejavu/DejaVuSansMono.ttf "${GAMES_DATADIR}/xmoto"/Textures/Fonts/DejaVuSansMono.ttf
+ doicon extra/xmoto.xpm
+ make_desktop_entry xmoto Xmoto
+
+ prepgamesdirs
+
+ if use editor; then
+ insinto /usr/share/inkscape/
+ doins -r "${WORKDIR}"/extensions/
+ 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
+}