diff options
-rw-r--r-- | games-sports/xmoto/ChangeLog | 6 | ||||
-rw-r--r-- | games-sports/xmoto/Manifest | 4 | ||||
-rw-r--r-- | games-sports/xmoto/xmoto-0.5.0-r1.ebuild | 51 |
3 files changed, 22 insertions, 39 deletions
diff --git a/games-sports/xmoto/ChangeLog b/games-sports/xmoto/ChangeLog index d971d178c560..c439f341d5eb 100644 --- a/games-sports/xmoto/ChangeLog +++ b/games-sports/xmoto/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for games-sports/xmoto # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-sports/xmoto/ChangeLog,v 1.29 2009/01/20 02:26:58 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-sports/xmoto/ChangeLog,v 1.30 2009/01/25 00:25:53 mr_bones_ Exp $ + + 25 Jan 2009; Michael Sterrett <mr_bones_@gentoo.org> + xmoto-0.5.0-r1.ebuild: + more use-based deps; tidy (bug #256205) 20 Jan 2009; Michael Sterrett <mr_bones_@gentoo.org> xmoto-0.5.0-r1.ebuild: diff --git a/games-sports/xmoto/Manifest b/games-sports/xmoto/Manifest index a4fd900fdffb..fe1b6214174b 100644 --- a/games-sports/xmoto/Manifest +++ b/games-sports/xmoto/Manifest @@ -3,6 +3,6 @@ DIST inksmoto-0.5.0~rc2.tar.gz 1624726 RMD160 ad435643878455bbb401a6972d583313bc DIST xmoto-0.4.2-src.tar.gz 21518240 RMD160 b87ac63714772b54d8b5fd45a8b7bdacf557f765 SHA1 4d73c7db5b423faf4e88d2d26db3da8da07ab712 SHA256 c8eea0a8c19f466cfd550ae06bccb1ccd1c8e45726edadd10b14ee89a4b64b60 DIST xmoto-0.5.0-src.tar.gz 21913971 RMD160 a9e2b9f077b17e17bb2ffab04542ee0f737c3e0f SHA1 9d89c0c7fa7da23378577c8ed572cc381267dfae SHA256 705a70c3cda8300179e049c5b1fb8d5d241ede0a3bc1961d5e93682babccc93f EBUILD xmoto-0.4.2.ebuild 2913 RMD160 cc977532c504ad002c3514fa87505c141c13a275 SHA1 19cec89c8b589529b25bf7c0a11ff4acbc9ce13e SHA256 f911a4f6c0f6909380ad23a69415ef5bf7276422c3f22177b3dc9a7594212b95 -EBUILD xmoto-0.5.0-r1.ebuild 2703 RMD160 dffab56df20a7f9e4760499bbf9951af3bb9149f SHA1 c2b5f1611c11004c889af0a75d4c37cea3575706 SHA256 be8d1efb7fa239ac92c13e9a9e8e7661dac52ed54c88d2f06c367c2439871838 -MISC ChangeLog 4298 RMD160 284a6d66c9a8af6c4896c3915b23a392c7501ede SHA1 9ea36f785254f7f8d595c982837472177d3bf4d9 SHA256 eb29e57657b668fca17b572065ea5ae93324bce9f518ecc1f87578cdc4bd93ee +EBUILD xmoto-0.5.0-r1.ebuild 2178 RMD160 fb77fea54cae88aacc08f2e2c08a728ccec69ba4 SHA1 35b0cf38f9b46bff1f887d0d37c810c42d51ca48 SHA256 9afcafdb9df72c7c32ba220b7a504e4b6cc635e53c616fd1902738a844aa2c9c +MISC ChangeLog 4421 RMD160 0ccdaf95e882fb19dcc575d89151156744ee19a9 SHA1 d1b5559bac53be0b89804cd817b05fc7e58005d1 SHA256 be5c02848bf88fd0ea5181da3ad827cf767fd2a6f8f53c4c5c05928b498956f4 MISC metadata.xml 339 RMD160 b003e2b8bb90a2ada8c8ba870aab3e6e73f7de71 SHA1 aa5548496eb75effe84bb3849e0f021cdbeac476 SHA256 019501d6ea5973371f60c6407a8fe9e0cd13daef856182fd2974c5145dd2dfed diff --git a/games-sports/xmoto/xmoto-0.5.0-r1.ebuild b/games-sports/xmoto/xmoto-0.5.0-r1.ebuild index 4bb5dd5b3ffb..5974e3acf415 100644 --- a/games-sports/xmoto/xmoto-0.5.0-r1.ebuild +++ b/games-sports/xmoto/xmoto-0.5.0-r1.ebuild @@ -1,9 +1,9 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-sports/xmoto/xmoto-0.5.0-r1.ebuild,v 1.2 2009/01/20 02:26:58 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-sports/xmoto/xmoto-0.5.0-r1.ebuild,v 1.3 2009/01/25 00:25:53 mr_bones_ Exp $ EAPI=2 -inherit eutils games +inherit autotools eutils games LVL_PV="0.5.0~rc2" #they unfortunately don't release both at the same time, why ~ as separator :( LVL="inksmoto-${LVL_PV}" @@ -15,7 +15,7 @@ SRC_URI="http://download.tuxfamily.org/${PN}/${PN}/${PV}/${P}-src.tar.gz LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~ppc ~x86" -IUSE="X editor nls" # sdl" +IUSE="editor nls" RDEPEND=" dev-db/sqlite:3 @@ -23,11 +23,12 @@ RDEPEND=" dev-lang/lua[deprecated] media-libs/jpeg media-libs/libpng - media-libs/libsdl - media-libs/sdl-mixer + 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 nls? ( virtual/libintl ) @@ -38,53 +39,31 @@ DEPEND="${RDEPEND} src_prepare() { use editor && rm -f "${WORKDIR}"/extensions/{bezmisc,inkex}.py + sed -i \ + -e '/^gettextsrcdir/s:=.*:= @localedir@/gettext/po:' \ + po/Makefile.in.in \ + || die "sed failed" } src_configure() { - #if use sdl ; then - # ewarn "SDL is known to be broken, if you experience any troubles please" - # ewarn "try again without 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 - # using some nice dejavu font, better than nothing egamesconf \ --disable-dependency-tracking \ --with-enable-zoom=1 \ --enable-threads=posix \ --with-gnu-ld \ - $(use_with X) \ + $(use_enable nls) \ + --localedir=/usr/share/locale \ --with-localesdir=/usr/share/locale \ - ${RENDERER} \ - ${NLS} + --with-renderer-sdlGfx=0 \ + --with-renderer-openGl=1 } 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 + make_desktop_entry ${PN} Xmoto prepgamesdirs |