summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2009-01-20 06:00:29 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2009-01-20 06:00:29 +0000
commit49b5864cb91936c5b76e82a1dc7b61243a3c554c (patch)
treed377c2183a74f2c86e0ff3c7305050cae2c24faa /games-simulation/dangerdeep
parentstable sparc, bug 252350 (diff)
downloadgentoo-2-49b5864cb91936c5b76e82a1dc7b61243a3c554c.tar.gz
gentoo-2-49b5864cb91936c5b76e82a1dc7b61243a3c554c.tar.bz2
gentoo-2-49b5864cb91936c5b76e82a1dc7b61243a3c554c.zip
EAPI=2; add use-based deps; tidy
(Portage version: 2.1.6.4/cvs/Linux 2.6.27.8 i686)
Diffstat (limited to 'games-simulation/dangerdeep')
-rw-r--r--games-simulation/dangerdeep/ChangeLog8
-rw-r--r--games-simulation/dangerdeep/dangerdeep-0.3.0.ebuild21
2 files changed, 16 insertions, 13 deletions
diff --git a/games-simulation/dangerdeep/ChangeLog b/games-simulation/dangerdeep/ChangeLog
index e6e999bba2d1..23e7823f5f13 100644
--- a/games-simulation/dangerdeep/ChangeLog
+++ b/games-simulation/dangerdeep/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-simulation/dangerdeep
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-simulation/dangerdeep/ChangeLog,v 1.8 2008/05/01 00:06:13 nyhm Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-simulation/dangerdeep/ChangeLog,v 1.9 2009/01/20 06:00:29 mr_bones_ Exp $
+
+ 20 Jan 2009; Michael Sterrett <mr_bones_@gentoo.org>
+ dangerdeep-0.3.0.ebuild:
+ EAPI=2; add use-based deps; tidy
01 May 2008; Tristan Heaven <nyhm@gentoo.org>
+files/dangerdeep-0.3.0-gcc43.patch, dangerdeep-0.3.0.ebuild:
diff --git a/games-simulation/dangerdeep/dangerdeep-0.3.0.ebuild b/games-simulation/dangerdeep/dangerdeep-0.3.0.ebuild
index 7ae5aacbca5b..51e765b74e37 100644
--- a/games-simulation/dangerdeep/dangerdeep-0.3.0.ebuild
+++ b/games-simulation/dangerdeep/dangerdeep-0.3.0.ebuild
@@ -1,11 +1,12 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-simulation/dangerdeep/dangerdeep-0.3.0.ebuild,v 1.4 2008/05/01 00:06:13 nyhm Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-simulation/dangerdeep/dangerdeep-0.3.0.ebuild,v 1.5 2009/01/20 06:00:29 mr_bones_ Exp $
+EAPI=2
inherit eutils games
DESCRIPTION="a World War II German submarine simulation"
-HOMEPAGE="http://www.dangerdeep.net/"
+HOMEPAGE="http://dangerdeep.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz
mirror://sourceforge/${PN}/${PN}-data-${PV}.zip"
@@ -16,18 +17,16 @@ IUSE="sse debug"
RDEPEND="virtual/opengl
virtual/glu
- =sci-libs/fftw-3*
+ sci-libs/fftw:3.0
media-libs/libsdl
- media-libs/sdl-mixer
- media-libs/sdl-image
+ media-libs/sdl-mixer[vorbis]
+ media-libs/sdl-image[jpeg,png]
media-libs/sdl-net"
DEPEND="${RDEPEND}
app-arch/unzip
dev-util/scons"
-src_unpack() {
- unpack ${A}
- cd "${S}"
+src_prepare() {
epatch \
"${FILESDIR}"/${P}-build.patch \
"${FILESDIR}"/${P}-gcc43.patch
@@ -57,8 +56,8 @@ src_install() {
insinto "${GAMES_DATADIR}"/${PN}
doins -r ../data/* || die "doins failed"
- newicon logo.xpm ${PN}.xpm
- make_desktop_entry ${PN} "Danger from the Deep" ${PN}
+ newicon dftd_icon.png ${PN}.png
+ make_desktop_entry ${PN} "Danger from the Deep"
dodoc ChangeLog CREDITS README
doman doc/man/${PN}.6