summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2017-12-20 22:30:31 +0100
committerDavid Seifert <soap@gentoo.org>2017-12-21 02:54:24 +0100
commit083d57252498c672d4afcc7a6fb515c839448c3a (patch)
tree8321b51b606b7bfa5f4437a758ce47dfb88e4f7d
parentgames-sports/ultimatestunts: Remove old (diff)
downloadgentoo-083d57252498c672d4afcc7a6fb515c839448c3a.tar.gz
gentoo-083d57252498c672d4afcc7a6fb515c839448c3a.tar.bz2
gentoo-083d57252498c672d4afcc7a6fb515c839448c3a.zip
games-sports/xmoto: Remove old
Package-Manager: Portage-2.3.16, Repoman-2.3.6
-rw-r--r--games-sports/xmoto/xmoto-0.5.11.ebuild96
1 files changed, 0 insertions, 96 deletions
diff --git a/games-sports/xmoto/xmoto-0.5.11.ebuild b/games-sports/xmoto/xmoto-0.5.11.ebuild
deleted file mode 100644
index b347b156d265..000000000000
--- a/games-sports/xmoto/xmoto-0.5.11.ebuild
+++ /dev/null
@@ -1,96 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-inherit autotools 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}"
-DEB_PV=6
-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
- mirror://debian/pool/main/x/${PN}/${PN}_${PV}+dfsg-${DEB_PV}.debian.tar.xz
- editor? ( http://download.tuxfamily.org/xmoto/svg2lvl/${LVL_PV}/${LVL}.tar.gz )"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="editor nls"
-
-RDEPEND="
- dev-libs/libxdg-basedir
- dev-db/sqlite:3
- dev-games/ode
- dev-lang/lua:0[deprecated]
- virtual/jpeg:0
- media-libs/libpng:0
- 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}
- app-arch/xz-utils
- nls? ( sys-devel/gettext )"
-RDEPEND="${RDEPEND}
- editor? ( media-gfx/inkscape )"
-
-src_prepare() {
- EPATCH_SOURCE="${WORKDIR}/debian/patches" \
- epatch $(cat ${WORKDIR}/debian/patches/series)
- use editor && rm -vf "${WORKDIR}"/extensions/{bezmisc,inkex}.py
- sed -i \
- -e '/^gettextsrcdir/s:=.*:= @localedir@/gettext/po:' \
- po/Makefile.in.in || die
- mv configure.{in,ac} || die
- eautoreconf
-}
-
-src_configure() {
- # bug #289792
- filter-flags -DdDOUBLE -DdSINGLE
- # bug #569624 - ode-0.13 needs one or the other defined
- append-cppflags -Dd$(has_version 'dev-games/ode[double-precision]' && echo DOUBLE || echo SINGLE)
-
- egamesconf \
- --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
-}