summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2009-04-13 17:37:32 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2009-04-13 17:37:32 +0000
commit6ddee59522354c3c9fb13c2fb977faee423dc310 (patch)
treed1f6eaf05088716ac3b4a5c3f8a95003dc3634e5 /games-sports
parentBump and cleaning (diff)
downloadhistorical-6ddee59522354c3c9fb13c2fb977faee423dc310.tar.gz
historical-6ddee59522354c3c9fb13c2fb977faee423dc310.tar.bz2
historical-6ddee59522354c3c9fb13c2fb977faee423dc310.zip
version bump
Package-Manager: portage-2.1.6.7/cvs/Linux i686
Diffstat (limited to 'games-sports')
-rw-r--r--games-sports/xmoto/ChangeLog8
-rw-r--r--games-sports/xmoto/Manifest8
-rw-r--r--games-sports/xmoto/xmoto-0.4.2.ebuild111
-rw-r--r--games-sports/xmoto/xmoto-0.5.1.ebuild88
4 files changed, 99 insertions, 116 deletions
diff --git a/games-sports/xmoto/ChangeLog b/games-sports/xmoto/ChangeLog
index 14fa82cf9e8e..a228d760740f 100644
--- a/games-sports/xmoto/ChangeLog
+++ b/games-sports/xmoto/ChangeLog
@@ -1,6 +1,12 @@
# 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.33 2009/03/18 22:42:07 ranger Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-sports/xmoto/ChangeLog,v 1.34 2009/04/13 17:37:32 mr_bones_ Exp $
+
+*xmoto-0.5.1 (13 Apr 2009)
+
+ 13 Apr 2009; Michael Sterrett <mr_bones_@gentoo.org> -xmoto-0.4.2.ebuild,
+ +xmoto-0.5.1.ebuild:
+ version bump
18 Mar 2009; Brent Baude <ranger@gentoo.org> xmoto-0.5.0-r1.ebuild:
stable ppc, bug 257673
diff --git a/games-sports/xmoto/Manifest b/games-sports/xmoto/Manifest
index d2b4abd5e460..e9d6026cf6e8 100644
--- a/games-sports/xmoto/Manifest
+++ b/games-sports/xmoto/Manifest
@@ -1,8 +1,8 @@
-DIST inksmoto-0.4.1.tar.gz 53762 RMD160 c74ff517f994c1b52f72063a7b67da80beffe52f SHA1 620fd708fb01f0273389dcce3b2f21dfe505ffff SHA256 8b609519fe9d3641a41f45181bbdb04eb6a6575767466ea46dfc772322a4625a
DIST inksmoto-0.5.0~rc2.tar.gz 1624726 RMD160 ad435643878455bbb401a6972d583313bcdf2f95 SHA1 656e5577a558ae1f174a216c6ab88d69badc270b SHA256 3f39cc5fec762d90b959e6917ef573f03b99db9e4fbac52663e93ecd8bd29e68
-DIST xmoto-0.4.2-src.tar.gz 21518240 RMD160 b87ac63714772b54d8b5fd45a8b7bdacf557f765 SHA1 4d73c7db5b423faf4e88d2d26db3da8da07ab712 SHA256 c8eea0a8c19f466cfd550ae06bccb1ccd1c8e45726edadd10b14ee89a4b64b60
+DIST inksmoto-0.5.1.tar.gz 1954399 RMD160 55d70d3ed0a15047746df748cd8673fe4b4d7a0c SHA1 a6c4cbcf8193a04b10f913dd20909390a452a551 SHA256 653f866d571e8ee327e896a6e08f6e4a5f849468f4d63aadb4845df77cbc12e0
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
+DIST xmoto-0.5.1-src.tar.gz 22003514 RMD160 648a6395f7fe979480c2df50f136352de5c13773 SHA1 36bac38d9f87ffbba337a0589de87b5408d734e8 SHA256 420af936c7983e84bc0a38aed828851048385b45f608426b52ed919127e18eb2
EBUILD xmoto-0.5.0-r1.ebuild 2172 RMD160 fd59ae444c3c6171671c27aa8ceabe5c1b070581 SHA1 a78924c173ec83fcf67a5102f505c8ff74c709c2 SHA256 d182e3828d9985cff9abded0a2c1979913fae2785181ed640a4d6be6212c47ea
-MISC ChangeLog 4721 RMD160 d2129feb86ab88f0f12b0d911383562b626373f2 SHA1 8912fbddc87c9d4a360692254a709c9daba385fb SHA256 d4d681cecb844b40af8f6decc63e95700d90325757e8a421276d2aa1598be398
+EBUILD xmoto-0.5.1.ebuild 2361 RMD160 258a19cbc82a3fa51dfdedb26b02a4637557bc73 SHA1 04b8271141ab9c097afbca9ff8e29d1e7fc13a5e SHA256 0506b2ee1146076803f1c63ee390eff6ee9bec0a7e321adb51164c7694ecdbcc
+MISC ChangeLog 4867 RMD160 3a181f9ad10c95bbd8818c2a8443b288fb5a2c1c SHA1 ecff7297984c56bbdcf23285143bbe946fc5fb93 SHA256 91cca431e19fe4e8f0b4fcb14e6ce6548c1f149113c4f392e3b517f1347c9cf5
MISC metadata.xml 339 RMD160 b003e2b8bb90a2ada8c8ba870aab3e6e73f7de71 SHA1 aa5548496eb75effe84bb3849e0f021cdbeac476 SHA256 019501d6ea5973371f60c6407a8fe9e0cd13daef856182fd2974c5145dd2dfed
diff --git a/games-sports/xmoto/xmoto-0.4.2.ebuild b/games-sports/xmoto/xmoto-0.4.2.ebuild
deleted file mode 100644
index c0f409d33bab..000000000000
--- a/games-sports/xmoto/xmoto-0.4.2.ebuild
+++ /dev/null
@@ -1,111 +0,0 @@
-# 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.2.ebuild,v 1.4 2008/09/06 13:29:41 nixnut Exp $
-
-inherit eutils games
-
-LVL="inksmoto-0.4.1" #they unfortunately don't release both at the same time
-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}/${LVL}.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
- games_pkg_setup
-}
-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 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
- 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}"/${LVL}/*.{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
-}
diff --git a/games-sports/xmoto/xmoto-0.5.1.ebuild b/games-sports/xmoto/xmoto-0.5.1.ebuild
new file mode 100644
index 000000000000..83710dac9f17
--- /dev/null
+++ b/games-sports/xmoto/xmoto-0.5.1.ebuild
@@ -0,0 +1,88 @@
+# 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.1.ebuild,v 1.1 2009/04/13 17:37:32 mr_bones_ Exp $
+
+EAPI=2
+inherit autotools eutils games
+
+LVL_PV="0.5.1" #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-db/sqlite:3
+ dev-games/ode
+ dev-lang/lua[deprecated]
+ media-libs/jpeg
+ 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 -f "${WORKDIR}"/extensions/{bezmisc,inkex}.py
+ sed -i \
+ -e '/^gettextsrcdir/s:=.*:= @localedir@/gettext/po:' \
+ po/Makefile.in.in \
+ || die "sed failed"
+}
+
+src_configure() {
+ egamesconf \
+ --disable-dependency-tracking \
+ --with-enable-zoom=1 \
+ --enable-threads=posix \
+ --with-gnu-ld \
+ $(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 "${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=Inkscape-0.5.0"
+ elog "You can share your levels on the Xmoto homepage."
+ fi
+}