From cfa4d85f3ee80e15d8050e1d2feb3cd1c91f2c55 Mon Sep 17 00:00:00 2001 From: Michael Sterrett Date: Sat, 6 Nov 2010 09:01:41 +0000 Subject: add use deps for libsdl; tidy (Portage version: 2.1.8.3/cvs/Linux i686) --- games-action/abuse/ChangeLog | 5 ++++- games-action/abuse/abuse-0.7.1.ebuild | 23 +++++++++++------------ 2 files changed, 15 insertions(+), 13 deletions(-) (limited to 'games-action') diff --git a/games-action/abuse/ChangeLog b/games-action/abuse/ChangeLog index 5a3ba40004ac..177a1b7c3436 100644 --- a/games-action/abuse/ChangeLog +++ b/games-action/abuse/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for games-action/abuse # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-action/abuse/ChangeLog,v 1.9 2010/11/05 16:39:59 tupone Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-action/abuse/ChangeLog,v 1.10 2010/11/06 09:01:41 mr_bones_ Exp $ + + 06 Nov 2010; Michael Sterrett abuse-0.7.1.ebuild: + add use deps for libsdl; tidy 05 Nov 2010; Tupone Alfredo abuse-0.7.1.ebuild, +files/abuse-0.7.1-ovflfix.patch: diff --git a/games-action/abuse/abuse-0.7.1.ebuild b/games-action/abuse/abuse-0.7.1.ebuild index bf6f41f1dccd..253d8ec0d251 100644 --- a/games-action/abuse/abuse-0.7.1.ebuild +++ b/games-action/abuse/abuse-0.7.1.ebuild @@ -1,8 +1,8 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-action/abuse/abuse-0.7.1.ebuild,v 1.11 2010/11/05 16:39:59 tupone Exp $ -EAPI=2 +# $Header: /var/cvsroot/gentoo-x86/games-action/abuse/abuse-0.7.1.ebuild,v 1.12 2010/11/06 09:01:41 mr_bones_ Exp $ +EAPI=2 inherit eutils games ZOY="http://abuse.zoy.org/raw/Downloads" @@ -20,10 +20,10 @@ SLOT="0" KEYWORDS="amd64 ppc sparc x86" IUSE="demo levels sounds" -RDEPEND=">=media-libs/libsdl-1.1.6" -DEPEND="${RDEPEND} - x11-libs/libXt +RDEPEND=">=media-libs/libsdl-1.1.6[audio,opengl,video] virtual/opengl" +DEPEND="${RDEPEND} + x11-libs/libXt" src_prepare() { # fix placing additional patches @@ -33,29 +33,28 @@ src_prepare() { # fix bug #231822 sed -i \ -e "s:/var/games/abuse:${GAMES_DATADIR}/${PN}:" \ - src/sdlport/setup.cpp || or die "sed setup.cpp failed" + src/sdlport/setup.cpp || or die epatch "${FILESDIR}"/${P}-ovflfix.patch } src_configure() { # Abuse auto-appends games, so point to the base - egamesconf --datadir="${GAMES_DATADIR_BASE}" || die + egamesconf --datadir="${GAMES_DATADIR_BASE}" } src_install() { # Source-based install - emake DESTDIR="${D}" install || die "emake install failed" + emake DESTDIR="${D}" install || die dodoc AUTHORS ChangeLog README TODO # Data install - insinto "${GAMES_DATADIR}"/"${PN}" + insinto "${GAMES_DATADIR}"/${PN} doins -r "${WORKDIR}"/{addon,art,levels,lisp,music,netlevel,register,sfx} \ "${WORKDIR}"/abuse.lsp \ - || die "doins failed" + || die - # Icons/desktop entry doicon ${PN}.png - make_desktop_entry abuse "Abuse" ${PN} + make_desktop_entry abuse "Abuse" prepgamesdirs } -- cgit v1.2.3-65-gdbad