summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Schweizer <genstef@gentoo.org>2008-03-11 19:32:29 +0000
committerStefan Schweizer <genstef@gentoo.org>2008-03-11 19:32:29 +0000
commit7dc2f0755a3103ec5c3161cfa54b11b408f25e5f (patch)
tree3cbf26d8f41ef3109877d07b6a5d9678d8fd27a4 /games-sports
parentVersion bump (diff)
downloadhistorical-7dc2f0755a3103ec5c3161cfa54b11b408f25e5f.tar.gz
historical-7dc2f0755a3103ec5c3161cfa54b11b408f25e5f.tar.bz2
historical-7dc2f0755a3103ec5c3161cfa54b11b408f25e5f.zip
version bump thanks to Tomáš Chvátal <tomas.chvatal@gmail.com> in bug 208008
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'games-sports')
-rw-r--r--games-sports/xmoto/ChangeLog7
-rw-r--r--games-sports/xmoto/Manifest5
-rw-r--r--games-sports/xmoto/xmoto-0.4.1.ebuild108
3 files changed, 118 insertions, 2 deletions
diff --git a/games-sports/xmoto/ChangeLog b/games-sports/xmoto/ChangeLog
index 4293066bebe9..f1be4f1a108c 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.21 2008/02/29 19:39:28 carlo Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-sports/xmoto/ChangeLog,v 1.22 2008/03/11 19:32:29 genstef Exp $
+
+*xmoto-0.4.1 (11 Mar 2008)
+
+ 11 Mar 2008; Stefan Schweizer <genstef@gentoo.org> +xmoto-0.4.1.ebuild:
+ version bump thanks to Tomáš Chvátal <tomas.chvatal@gmail.com> in bug 208008
29 Feb 2008; Carsten Lohrke <carlo@gentoo.org> xmoto-0.2.0.ebuild:
Remove icon extension from desktop entry to match Icon Theme Specification.
diff --git a/games-sports/xmoto/Manifest b/games-sports/xmoto/Manifest
index 2d73807e3b34..7b0ca68de99b 100644
--- a/games-sports/xmoto/Manifest
+++ b/games-sports/xmoto/Manifest
@@ -1,9 +1,12 @@
AUX xmoto-as-needed.patch 1222 RMD160 a13f3fd2ad07307eed649122b9a7bd0cd0b20ba7 SHA1 eabb5a6921a42c81d093d0fb14a52cb76de16636 SHA256 ec076ff6e958de76325d153437e0bbfba601d279b8a690cf90fb0ca4923af2a6
AUX xmoto.xpm 3268 RMD160 beefebcd5859c50020f23b2612b912a11574b2bf SHA1 dc9cfffbd8890881149278f6cd08c0a4857aeef8 SHA256 8fb9c7b31dbbf5ed515605d5d42cf250f11d9996e5e9376923ce11d3acda2ecb
+DIST inksmoto-0.4.1.tar.gz 53762 RMD160 c74ff517f994c1b52f72063a7b67da80beffe52f SHA1 620fd708fb01f0273389dcce3b2f21dfe505ffff SHA256 8b609519fe9d3641a41f45181bbdb04eb6a6575767466ea46dfc772322a4625a
DIST svg2lvl-0.4.0.tar.gz 48766 RMD160 84244cd82fc1ba0737207dfd64fd865dd9fcf032 SHA1 d44842c4449952819667c397c30f5346a649ad13 SHA256 ffda6cf46ba2fb2a280c1229bbc5b458b3ac72595cdfee0a269c0fcd099a9f13
DIST xmoto-0.2.0-src.tar.gz 5607598 RMD160 b96a0bebe37fd2d9c653a1c34a964aa9f9dbc339 SHA1 cb305dae66eee4ccdd00673859b4dc8e016175a0 SHA256 ee742446d0e37ca59d8157f857874b97b59fe23115001223fa56e7ee529754f9
DIST xmoto-0.3.4-src.tar.gz 17017466 RMD160 d0433acc49480980f6505b795c3f3a547cdce14c SHA1 be88fb1169e6573a857946d091d2a732d19dcaee SHA256 79d80562e051cce58da357d9d31308aeda8bffb668c8d3ff49fe4d27e3c9b243
+DIST xmoto-0.4.1-src.tar.gz 17203406 RMD160 1551404bdbd141bfbcc4f6c77676030806521a66 SHA1 fa9ab970f08a81b93da8df53d3a3888470bcfc70 SHA256 e29c4a24f9cdf83295e01357d8109ee7391a789e4142a2dcc5e0a8bff44f86bc
EBUILD xmoto-0.2.0.ebuild 1035 RMD160 bd933ec8a6cfe59a95019dd28a9afb3b378f64f5 SHA1 1a8eac5543c760b4836eb17ddab4d282c6854a45 SHA256 fa1c311f26a46cdc4d270be279a550471f5303c284889c4339c580bc3b53e5c3
EBUILD xmoto-0.3.4.ebuild 1899 RMD160 055d6e6a6de9392d1593ce2f840e2918e303e777 SHA1 17133a4a7d6855df50cd38aee2211273291a99e2 SHA256 2981aea779866d798648de71cb8cbecb4daf72be9a01c64304daa6437899cd4e
-MISC ChangeLog 3243 RMD160 1203317c0e80dfa1c565e012c2c404007c10274c SHA1 976ff545abc2358e675215d650a3020107aa11f4 SHA256 5856b0f13ae34115379e6bf4657c0885bd5f892df7e850387047fb6f02d8274a
+EBUILD xmoto-0.4.1.ebuild 2810 RMD160 e04d38a9616a97b6f4b3c87722c82597602d8ac3 SHA1 c8f506b3d02d90b35b1e4f9a7df88ad80cb2ef42 SHA256 e572322c28e2529d6902012b483a2da03d96aa6021aba12bd6507a41ef91dda5
+MISC ChangeLog 3430 RMD160 8ca2069cc6351ef40c0bdeecc709f312fc1c9a0e SHA1 0b21da9fd759ee4af78af25db3638a039431b38e SHA256 1726f8b7b18af1cd2c89f0687fa25e8b52fc4643ac36990ef07b9bffad46a9d0
MISC metadata.xml 217 RMD160 977d5d8ddea912e2fc3790188ac36ab3c6bc12bf SHA1 abdc0d9cb9d8d87942487f2cd0174db2421f12a9 SHA256 8a8bfa1875b6f354b36daf63166ff751fa87769c8bfb3b14031f7aa6faa5f99a
diff --git a/games-sports/xmoto/xmoto-0.4.1.ebuild b/games-sports/xmoto/xmoto-0.4.1.ebuild
new file mode 100644
index 000000000000..8c6571dac1b8
--- /dev/null
+++ b/games-sports/xmoto/xmoto-0.4.1.ebuild
@@ -0,0 +1,108 @@
+# 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.4.1.ebuild,v 1.1 2008/03/11 19:32:29 genstef Exp $
+
+inherit eutils games
+
+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}/inksmoto-${PV}.tar.gz )"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="X editor nls" #sdl"
+
+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 )"
+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
+}
+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 troubles please turn of 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
+ 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}"/inksmoto-${PV}/*.{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
+}