inkscape plugin version bump
authorMichael Sterrett <mr_bones_@gentoo.org>
Wed, 23 Jun 2010 02:44:33 +0000 (02:44 +0000)
committerMichael Sterrett <mr_bones_@gentoo.org>
Wed, 23 Jun 2010 02:44:33 +0000 (02:44 +0000)
Package-Manager: portage-2.1.8.3/cvs/Linux i686

games-sports/xmoto/ChangeLog
games-sports/xmoto/Manifest
games-sports/xmoto/xmoto-0.5.3-r1.ebuild [new file with mode: 0644]

index 34b4428495ef5869d5fbe8491d456a041670d3ef..259a40e8a879ce1c51a4eeafc5e3986a64df27db 100644 (file)
@@ -1,6 +1,12 @@
 # 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.46 2010/05/13 18:22:21 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-sports/xmoto/ChangeLog,v 1.47 2010/06/23 02:44:33 mr_bones_ Exp $
+
+*xmoto-0.5.3-r1 (23 Jun 2010)
+
+  23 Jun 2010; Michael Sterrett <mr_bones_@gentoo.org>
+  +xmoto-0.5.3-r1.ebuild:
+  inkscape plugin version bump
 
 *xmoto-0.5.3 (13 May 2010)
 
index 08107d22e317b465b144bab9df4ee21ede3a2a63..db7f423a92b8e678576f280a2309fa6e5b47094a 100644 (file)
@@ -1,8 +1,10 @@
 AUX xmoto-0.5.2-64bit.patch 954 RMD160 1cac31931069d9ef855d8af731df17d6b1864edd SHA1 170cb0d1bb204893ae58fd4509585ddb0abce20e SHA256 1c6c5a0a31037b27ea9ed5f3f8e8b3aaae22bd699cca460a20737e63792988a8
 DIST inksmoto-0.6.0.tar.gz 2493402 RMD160 6cf76101e70e764aa74e8eeff90abe266d36f855 SHA1 8f318a0b1ac01054b879fd5510e2f27784896416 SHA256 d85b81b2b299c3a18c7f81ef69f44786218c409e8d90a6dd7661e1b15eba8b77
+DIST inksmoto-0.7.0.tar.gz 2628941 RMD160 af6eb2c6698bae394c5a7a664d8d61920a4a9391 SHA1 ab47beb5f41706d355ddab6a7365cc24706fb893 SHA256 60bd1369d4c347e127886a5813af13daf39b56ce818c9f8b2fc7d4bba0af7e11
 DIST xmoto-0.5.2-src.tar.gz 38170502 RMD160 a8323336814261b0c2bb0acf13d5e65ac92e921d SHA1 aa819872f06beb114025c490cea8e229cd85135d SHA256 a8c91378ed439b640157267981b423dceea3584a439d25eea8aa28181458058f
 DIST xmoto-0.5.3-src.tar.gz 52385576 RMD160 52e10637713b6c48c980032057a0da562c11b912 SHA1 7a2d8ab30b514932ce6907e5e0a7e926ee20cf8a SHA256 ce3b76792acec91d8b62c70830ee114318b8a62a1e6353834e869483490f1ff7
 EBUILD xmoto-0.5.2.ebuild 2597 RMD160 1d09dd967e69bdfc2724f3c2ac8a3568b5a42040 SHA1 1f6069d1b94eeca9d4f2809e439cca92dd8cf58f SHA256 69a5383ad26c250045a5b9c7f83663b2f402d0277cbd550b4b554144f1629a7a
+EBUILD xmoto-0.5.3-r1.ebuild 2564 RMD160 26705fd6452f3f20a89f931f9bd320ff6b07f12e SHA1 51e62acb17f15644ab8c890cd6248ecb6d69f947 SHA256 3777ae832df2aba5416ad283daf8c43451607d1c962c986cbc8a64d6b2f2e1f1
 EBUILD xmoto-0.5.3.ebuild 2561 RMD160 e4f412760d897d5b35ae9bf80c4ccbea24d251c0 SHA1 c033058b1b4b70f1f41dd601854b9515d817a831 SHA256 b9f6d18dc5067b939d1238c66060c5fbee76c175ad1528868f0f04bf11021dfe
-MISC ChangeLog 6466 RMD160 a5ce7d8744a1036e6e63f54d5874e562ba04f559 SHA1 efeb293a290bba0319d99c592ccae9b013bbe8dd SHA256 c0b0bf23adbe1087db945228ebf4aec73820dea077299d1043f66bc0466b206c
+MISC ChangeLog 6610 RMD160 b282298b00d801dbc48c6d9f91e4763dbc85e3cf SHA1 af3f50b5a2e9eba55ea1e99e474bd26330976752 SHA256 064c68863c06f66fc495c737a14547531d79dcd2ff0b06a8c705c5714f91a94a
 MISC metadata.xml 270 RMD160 c447b9b1cea1f49ca7c00bab1f8aa6cdeb395afb SHA1 d0119628b902f2d7d0c56e532122df260eede5bf SHA256 43229adb28ae299ec42c09c8e7dc0f10eceba4af19d5094741471070094f5c57
diff --git a/games-sports/xmoto/xmoto-0.5.3-r1.ebuild b/games-sports/xmoto/xmoto-0.5.3-r1.ebuild
new file mode 100644 (file)
index 0000000..6181c77
--- /dev/null
@@ -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.3-r1.ebuild,v 1.1 2010/06/23 02:44:33 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]
+       media-libs/jpeg:0
+       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
+}