mr_bones_ 15/03/30 21:25:15 Modified: netherearth-0.52.ebuild ChangeLog Log: EAPI=5 (Portage version: 2.2.14/cvs/Linux x86_64, unsigned Manifest commit)
Revision Changes Path 1.11 games-strategy/netherearth/netherearth-0.52.ebuild file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-strategy/netherearth/netherearth-0.52.ebuild?rev=1.11&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-strategy/netherearth/netherearth-0.52.ebuild?rev=1.11&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-strategy/netherearth/netherearth-0.52.ebuild?r1=1.10&r2=1.11 Index: netherearth-0.52.ebuild =================================================================== RCS file: /var/cvsroot/gentoo-x86/games-strategy/netherearth/netherearth-0.52.ebuild,v retrieving revision 1.10 retrieving revision 1.11 diff -u -r1.10 -r1.11 --- netherearth-0.52.ebuild 10 Aug 2014 21:21:05 -0000 1.10 +++ netherearth-0.52.ebuild 30 Mar 2015 21:25:15 -0000 1.11 @@ -1,7 +1,8 @@ -# Copyright 1999-2014 Gentoo Foundation +# Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-strategy/netherearth/netherearth-0.52.ebuild,v 1.10 2014/08/10 21:21:05 slyfox Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-strategy/netherearth/netherearth-0.52.ebuild,v 1.11 2015/03/30 21:25:15 mr_bones_ Exp $ +EAPI=5 inherit eutils games MY_PV="${PV/./}" @@ -19,7 +20,6 @@ RDEPEND=">=media-libs/libsdl-1.2.6-r3 >=media-libs/sdl-mixer-1.2.5-r1 media-libs/freeglut" - DEPEND="${RDEPEND} app-arch/unzip" @@ -28,12 +28,14 @@ data=../nether\ earth\ v${PV} src_unpack() { + unzip -LL "${DISTDIR}/${PN}${MY_PV}.zip" >/dev/null || die + unzip -LL "${DISTDIR}/sources.zip" >/dev/null || die +} + +src_prepare() { DATA_DIR=${GAMES_DATADIR}/${PN} - unzip -LL "${DISTDIR}/${PN}${MY_PV}.zip" >/dev/null || die "unzip ${PN}${MY_PV} failed" - unzip -LL "${DISTDIR}/sources.zip" >/dev/null || die "unzip sources.zip failed" - cd "${S}" - cp "${FILESDIR}/Makefile" . || die "Makefile copying failed" + cp "${FILESDIR}/Makefile" . || die # Fix compilation errors/warnings epatch "${FILESDIR}"/${P}-linux.patch @@ -49,29 +51,29 @@ -e "s:textures:${DATA_DIR}/textures:" \ -e "s:maps/\*:${DATA_DIR}/maps/\*:" \ -e "s:\./maps:${DATA_DIR}/maps:" \ - mainmenu.cpp || die "sed mainmenu.cpp failed" + mainmenu.cpp || die sed -i \ -e "s:models:${DATA_DIR}/models:g" \ -e "s:textures:${DATA_DIR}/textures:" \ -e "s:sound/:${DATA_DIR}/sound/:" \ - nether.cpp || die "sed nether.cpp failed" + nether.cpp || die sed -i -e "s:maps:${DATA_DIR}/maps:" \ - main.cpp || die "sed main.cpp failed" + main.cpp || die sed -i -e "s:textures/:${DATA_DIR}/textures/:" \ - myglutaux.cpp || die "sed myglutaux.cpp failed" + myglutaux.cpp || die cd "${data}" rm textures/thumbs.db } src_install() { - dogamesbin nether_earth || die "dogamesbin failed" + dogamesbin nether_earth cd "${data}" # Install all game data insinto "${DATA_DIR}" - doins -r maps models sound textures || die "doins failed" + doins -r maps models sound textures dodoc readme.txt 1.11 games-strategy/netherearth/ChangeLog file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-strategy/netherearth/ChangeLog?rev=1.11&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-strategy/netherearth/ChangeLog?rev=1.11&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-strategy/netherearth/ChangeLog?r1=1.10&r2=1.11 Index: ChangeLog =================================================================== RCS file: /var/cvsroot/gentoo-x86/games-strategy/netherearth/ChangeLog,v retrieving revision 1.10 retrieving revision 1.11 diff -u -r1.10 -r1.11 --- ChangeLog 10 Aug 2014 21:21:05 -0000 1.10 +++ ChangeLog 30 Mar 2015 21:25:15 -0000 1.11 @@ -1,6 +1,9 @@ # ChangeLog for games-strategy/netherearth -# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-strategy/netherearth/ChangeLog,v 1.10 2014/08/10 21:21:05 slyfox Exp $ +# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-strategy/netherearth/ChangeLog,v 1.11 2015/03/30 21:25:15 mr_bones_ Exp $ + + 30 Mar 2015; Michael Sterrett <[email protected]> netherearth-0.52.ebuild: + EAPI=5 10 Aug 2014; Sergei Trofimovich <[email protected]> netherearth-0.52.ebuild: QA: drop trailing '.' from DESCRIPTION
