mr_bones_ 15/02/18 19:08:13 Modified: netpanzer-0.8.2.ebuild ChangeLog Log: EAPI=5; drop amd64 keyword since it just segfaults there; tidy (Portage version: 2.2.14/cvs/Linux x86_64, unsigned Manifest commit)
Revision Changes Path 1.11 games-strategy/netpanzer/netpanzer-0.8.2.ebuild file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-strategy/netpanzer/netpanzer-0.8.2.ebuild?rev=1.11&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-strategy/netpanzer/netpanzer-0.8.2.ebuild?rev=1.11&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-strategy/netpanzer/netpanzer-0.8.2.ebuild?r1=1.10&r2=1.11 Index: netpanzer-0.8.2.ebuild =================================================================== RCS file: /var/cvsroot/gentoo-x86/games-strategy/netpanzer/netpanzer-0.8.2.ebuild,v retrieving revision 1.10 retrieving revision 1.11 diff -u -r1.10 -r1.11 --- netpanzer-0.8.2.ebuild 16 Oct 2012 12:21:34 -0000 1.10 +++ netpanzer-0.8.2.ebuild 18 Feb 2015 19:08:13 -0000 1.11 @@ -1,70 +1,67 @@ -# Copyright 1999-2012 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/netpanzer/netpanzer-0.8.2.ebuild,v 1.10 2012/10/16 12:21:34 tupone Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-strategy/netpanzer/netpanzer-0.8.2.ebuild,v 1.11 2015/02/18 19:08:13 mr_bones_ Exp $ -EAPI=4 +EAPI=5 inherit eutils games DATAVERSION="0.8" DESCRIPTION="Fast-action multiplayer strategic network game" -HOMEPAGE="http://netpanzer.berlios.de/" -SRC_URI="mirror://berlios/${PN}/${P}.tar.bz2 - mirror://berlios/${PN}/${PN}-data-${DATAVERSION}.tar.bz2" +HOMEPAGE="http://www.netpanzer.info/" +SRC_URI="mirror://sourceforge/netpanzer.berlios/${P}.tar.bz2 + mirror://sourceforge/netpanzer.berlios/${PN}-data-${DATAVERSION}.tar.bz2" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 ppc x86" +KEYWORDS="ppc x86" IUSE="dedicated" RDEPEND="dedicated? ( app-misc/screen ) - media-libs/libsdl + media-libs/libsdl[sound,video] media-libs/sdl-mixer media-libs/sdl-image dev-games/physfs" DEPEND="${RDEPEND} dev-util/ftjam" -PATCHES=( - "${FILESDIR}"/${P}-gcc43.patch - "${FILESDIR}"/${P}-gcc47.patch -) +src_prepare() { + epatch \ + "${FILESDIR}"/${P}-gcc43.patch \ + "${FILESDIR}"/${P}-gcc47.patch +} src_configure() { - egamesconf || die + egamesconf cd "${WORKDIR}"/${PN}-data-${DATAVERSION} \ - && egamesconf || die + && egamesconf } src_compile() { - AR="${AR} cru" jam -q || die "jam failed" + AR="${AR} cru" jam -q || die cd "${WORKDIR}"/${PN}-data-${DATAVERSION} - jam -q || die "jam failed (on data package)" + jam -q || die } src_install() { - jam -sDESTDIR="${D}" -sappdocdir=/usr/share/doc/${PF} install \ - || die "jam install failed" + jam -sDESTDIR="${D}" -sappdocdir=/usr/share/doc/${PF} install || die cd "${WORKDIR}"/${PN}-data-${DATAVERSION} - jam -sDESTDIR="${D}" -sappdocdir=/usr/share/doc/${PF} install \ - || die "jam install failed (data package)" + jam -sDESTDIR="${D}" -sappdocdir=/usr/share/doc/${PF} install || die if use dedicated ; then newinitd "${FILESDIR}"/${PN}.rc ${PN} sed -i \ -e "s:GAMES_USER_DED:${GAMES_USER_DED}:" \ -e "s:GENTOO_DIR:${GAMES_BINDIR}:" \ - "${D}"/etc/init.d/${PN} \ - || die "sed failed" + "${D}"/etc/init.d/${PN} || die insinto /etc doins "${FILESDIR}"/${PN}-ded.ini dogamesbin "${FILESDIR}"/${PN}-ded sed -i \ -e "s:GENTOO_DIR:${GAMES_BINDIR}:" \ - "${D}/${GAMES_BINDIR}"/${PN}-ded \ - || die "sed failed" + "${D}/${GAMES_BINDIR}"/${PN}-ded || die fi rm -rf "${D}/${GAMES_DATADIR}"/{applications,pixmaps} 1.35 games-strategy/netpanzer/ChangeLog file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-strategy/netpanzer/ChangeLog?rev=1.35&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-strategy/netpanzer/ChangeLog?rev=1.35&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-strategy/netpanzer/ChangeLog?r1=1.34&r2=1.35 Index: ChangeLog =================================================================== RCS file: /var/cvsroot/gentoo-x86/games-strategy/netpanzer/ChangeLog,v retrieving revision 1.34 retrieving revision 1.35 diff -u -r1.34 -r1.35 --- ChangeLog 16 Oct 2012 12:21:34 -0000 1.34 +++ ChangeLog 18 Feb 2015 19:08:13 -0000 1.35 @@ -1,6 +1,9 @@ # ChangeLog for games-strategy/netpanzer -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-strategy/netpanzer/ChangeLog,v 1.34 2012/10/16 12:21:34 tupone Exp $ +# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-strategy/netpanzer/ChangeLog,v 1.35 2015/02/18 19:08:13 mr_bones_ Exp $ + + 18 Feb 2015; Michael Sterrett <mr_bon...@gentoo.org> netpanzer-0.8.2.ebuild: + EAPI=5; drop amd64 keyword since it just segfaults there; tidy 16 Oct 2012; Alfredo Tupone <tup...@gentoo.org> netpanzer-0.8.2.ebuild, +files/netpanzer-0.8.2-gcc47.patch: @@ -150,4 +153,3 @@ 21 Oct 2003; Michael Sterrett <mr_bon...@gentoo.org> netpanzer-0.1.1.ebuild: initial commit; ebuild supplied by Matze Braun via bug 31054 -