mr_bones_    15/01/27 18:02:08

  Modified:             ChangeLog
  Added:                xmoto-0.5.11.ebuild
  Log:
  version bump (bug #522486)
  
  (Portage version: 2.2.14/cvs/Linux x86_64, unsigned Manifest commit)

Revision  Changes    Path
1.70                 games-sports/xmoto/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-sports/xmoto/ChangeLog?rev=1.70&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-sports/xmoto/ChangeLog?rev=1.70&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-sports/xmoto/ChangeLog?r1=1.69&r2=1.70

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/games-sports/xmoto/ChangeLog,v
retrieving revision 1.69
retrieving revision 1.70
diff -u -r1.69 -r1.70
--- ChangeLog   22 Jan 2013 18:05:20 -0000      1.69
+++ ChangeLog   27 Jan 2015 18:02:08 -0000      1.70
@@ -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 <[email protected]>
+  +files/xmoto-0.5.11-utf8.patch, +xmoto-0.5.11.ebuild:
+  version bump (bug #522486)
 
   22 Jan 2013; Michael Sterrett <[email protected]>
   -files/xmoto-0.5.9-gcc47.patch, -files/xmoto-0.5.9-libpng.patch,



1.1                  games-sports/xmoto/xmoto-0.5.11.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-sports/xmoto/xmoto-0.5.11.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-sports/xmoto/xmoto-0.5.11.ebuild?rev=1.1&content-type=text/plain

Index: xmoto-0.5.11.ebuild
===================================================================
# 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
}




Reply via email to