summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2007-01-04 04:37:35 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2007-01-04 04:37:35 +0000
commitbfb1d4c79fcea5524d3a163495179cb55c3e3ac3 (patch)
treea118ddba18fd73005f41d03df907fd0ae9b2a211 /games-simulation/dangerdeep
parentadd ~amd64, bug 159841 (diff)
downloadhistorical-bfb1d4c79fcea5524d3a163495179cb55c3e3ac3.tar.gz
historical-bfb1d4c79fcea5524d3a163495179cb55c3e3ac3.tar.bz2
historical-bfb1d4c79fcea5524d3a163495179cb55c3e3ac3.zip
initial commit - ebuild submitted by Bernard Cafarelli via bug #130023
Package-Manager: portage-2.1.1-r2
Diffstat (limited to 'games-simulation/dangerdeep')
-rw-r--r--games-simulation/dangerdeep/ChangeLog11
-rw-r--r--games-simulation/dangerdeep/Manifest21
-rw-r--r--games-simulation/dangerdeep/dangerdeep-0.2.0.ebuild66
-rw-r--r--games-simulation/dangerdeep/files/dangerdeep-0.2.0-build.patch10
-rw-r--r--games-simulation/dangerdeep/files/digest-dangerdeep-0.2.06
-rw-r--r--games-simulation/dangerdeep/metadata.xml5
6 files changed, 119 insertions, 0 deletions
diff --git a/games-simulation/dangerdeep/ChangeLog b/games-simulation/dangerdeep/ChangeLog
new file mode 100644
index 000000000000..9a532251aa33
--- /dev/null
+++ b/games-simulation/dangerdeep/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for games-simulation/dangerdeep
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-simulation/dangerdeep/ChangeLog,v 1.1 2007/01/04 04:37:35 mr_bones_ Exp $
+
+*dangerdeep-0.2.0 (04 Jan 2007)
+
+ 04 Jan 2007; Michael Sterrett <mr_bones_@gentoo.org>
+ +files/dangerdeep-0.2.0-build.patch, +metadata.xml,
+ +dangerdeep-0.2.0.ebuild:
+ initial commit - ebuild submitted by Bernard Cafarelli via bug #130023
+
diff --git a/games-simulation/dangerdeep/Manifest b/games-simulation/dangerdeep/Manifest
new file mode 100644
index 000000000000..67fba1673735
--- /dev/null
+++ b/games-simulation/dangerdeep/Manifest
@@ -0,0 +1,21 @@
+AUX dangerdeep-0.2.0-build.patch 339 RMD160 ff5b7d33a7956c08092f4521176c8c5870f1cefd SHA1 d7407c7fb8251833d6604fc1e24e71b869311e86 SHA256 f0a9950488550ba9755695de53649bc8cf642a62a800938585ccb0b975e63acb
+MD5 dc7edf21133c2b24945e6de142358f36 files/dangerdeep-0.2.0-build.patch 339
+RMD160 ff5b7d33a7956c08092f4521176c8c5870f1cefd files/dangerdeep-0.2.0-build.patch 339
+SHA256 f0a9950488550ba9755695de53649bc8cf642a62a800938585ccb0b975e63acb files/dangerdeep-0.2.0-build.patch 339
+DIST dangerdeep-0.2.0.tar.gz 3854086 RMD160 40f6d89eeb829d2b8d26b4b3d84342ec9f51b908 SHA1 e47bfd98031e024cd6881827c285ef27ccb367c0 SHA256 ada47be2c7463ac73f0276b77bce7d5a16efc5c6316f70005af6dcf4e9908452
+DIST dangerdeep-data-0.2.0.zip 54163740 RMD160 0dc8439356239779522a841764235e0f6d682ffc SHA1 a790603387829399143dcdadbcae9481effa0d71 SHA256 7b96f41e38a2478b3c5b40bd5e81a45437902f370718676c6077c2edcd5c5e10
+EBUILD dangerdeep-0.2.0.ebuild 1517 RMD160 69c7fa35f8b801110e4b710d7160f71ddaf0e5c4 SHA1 ec26ca05691f538120d7badb475c4792ece406bb SHA256 784675732021f6c3e7658a1eb150f192d544c17360c98291de395121b6f05cab
+MD5 3919b5e367f25ca71358b70d24389a22 dangerdeep-0.2.0.ebuild 1517
+RMD160 69c7fa35f8b801110e4b710d7160f71ddaf0e5c4 dangerdeep-0.2.0.ebuild 1517
+SHA256 784675732021f6c3e7658a1eb150f192d544c17360c98291de395121b6f05cab dangerdeep-0.2.0.ebuild 1517
+MISC ChangeLog 474 RMD160 b5ebf6abb51daad806d7d0f0e6b334561566bd35 SHA1 3271369fdd4f3f3cca199d6b41d13f8342e239f1 SHA256 83b5ad1da09f9699fac67f7b5daa494ef47114e46fee07c8a487f222fe8776d1
+MD5 483955341f3f0bdcf83ec8bd5b85f852 ChangeLog 474
+RMD160 b5ebf6abb51daad806d7d0f0e6b334561566bd35 ChangeLog 474
+SHA256 83b5ad1da09f9699fac67f7b5daa494ef47114e46fee07c8a487f222fe8776d1 ChangeLog 474
+MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3
+MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
+RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea metadata.xml 158
+SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 metadata.xml 158
+MD5 c9a08cdbcb13a5d9519f77fa6070ca76 files/digest-dangerdeep-0.2.0 515
+RMD160 7c34834af122cb8dac569d090dbb79398274f8b9 files/digest-dangerdeep-0.2.0 515
+SHA256 0a11efe1a67a68278a28605a8be552fc23ea3f687bfbd9f069e0f7472ad547a6 files/digest-dangerdeep-0.2.0 515
diff --git a/games-simulation/dangerdeep/dangerdeep-0.2.0.ebuild b/games-simulation/dangerdeep/dangerdeep-0.2.0.ebuild
new file mode 100644
index 000000000000..f98281c3396d
--- /dev/null
+++ b/games-simulation/dangerdeep/dangerdeep-0.2.0.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-simulation/dangerdeep/dangerdeep-0.2.0.ebuild,v 1.1 2007/01/04 04:37:35 mr_bones_ Exp $
+
+inherit eutils debug toolchain-funcs games
+
+DESCRIPTION="a World War II German submarine simulation"
+HOMEPAGE="http://www.dangerdeep.net/"
+SRC_URI="mirror://sourceforge/${PN}/dangerdeep-${PV}.tar.gz
+ mirror://sourceforge/${PN}/dangerdeep-data-${PV}.zip"
+
+LICENSE="GPL-2 CCPL-Attribution-NonCommercial-NoDerivs-2.0"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE="sse"
+
+RDEPEND="virtual/opengl
+ virtual/glu
+ sci-libs/fftw
+ media-libs/libsdl
+ media-libs/sdl-mixer
+ media-libs/sdl-image
+ media-libs/sdl-net"
+DEPEND="${RDEPEND}
+ dev-util/scons"
+
+src_unpack() {
+ unpack ${A}
+ mv "${WORKDIR}"/data "${S}" || die "mv failed"
+ cd "${S}"
+ epatch "${FILESDIR}/${P}-build.patch"
+ sed -i \
+ -e "/console_log.txt/ s:fopen.*:stderr;:" \
+ src/system.cpp \
+ || die "sed failed"
+}
+
+src_compile() {
+ local sse=-1
+
+ if use sse ; then
+ use amd64 && sse=3 || sse=1
+ fi
+
+ scons \
+ usex86sse=${sse} \
+ datadir="${GAMES_DATADIR}"/${PN} \
+ DESTDIR="${D}" \
+ --cache-disable \
+ || die "scons failed"
+}
+
+src_install() {
+ dogamesbin build/linux/${PN} || die "dogamesbin failed"
+
+ insinto "${GAMES_DATADIR}"/${PN}
+ doins -r data/* || die "doins failed"
+
+ newicon logo.xpm ${PN}.xpm
+ make_desktop_entry ${PN} "Danger from the Deep" ${PN}.xpm
+
+ dodoc ChangeLog CREDITS *README*
+ doman doc/man/${PN}.6
+
+ prepgamesdirs
+}
diff --git a/games-simulation/dangerdeep/files/dangerdeep-0.2.0-build.patch b/games-simulation/dangerdeep/files/dangerdeep-0.2.0-build.patch
new file mode 100644
index 000000000000..e00cf0dc89de
--- /dev/null
+++ b/games-simulation/dangerdeep/files/dangerdeep-0.2.0-build.patch
@@ -0,0 +1,10 @@
+--- SConstruct.orig 2006-10-12 20:17:09.000000000 -0400
++++ SConstruct 2006-10-12 20:17:50.000000000 -0400
+@@ -117,6 +117,7 @@
+
+ else:
+ print "Compiling for Unix/Posix/Linux Environment"
++ SConsignFile()
+ env = Environment(ENV = os.environ)
+ env.Append(CPPPATH = ['/usr/include/SDL', '/usr/include/GL'])
+ libpath = ['/usr/X11R6/lib']
diff --git a/games-simulation/dangerdeep/files/digest-dangerdeep-0.2.0 b/games-simulation/dangerdeep/files/digest-dangerdeep-0.2.0
new file mode 100644
index 000000000000..03e44c157a81
--- /dev/null
+++ b/games-simulation/dangerdeep/files/digest-dangerdeep-0.2.0
@@ -0,0 +1,6 @@
+MD5 3733507e99de5afc3c4172024cdfc61b dangerdeep-0.2.0.tar.gz 3854086
+RMD160 40f6d89eeb829d2b8d26b4b3d84342ec9f51b908 dangerdeep-0.2.0.tar.gz 3854086
+SHA256 ada47be2c7463ac73f0276b77bce7d5a16efc5c6316f70005af6dcf4e9908452 dangerdeep-0.2.0.tar.gz 3854086
+MD5 931d035cdf07d29b57e4797218fe53ff dangerdeep-data-0.2.0.zip 54163740
+RMD160 0dc8439356239779522a841764235e0f6d682ffc dangerdeep-data-0.2.0.zip 54163740
+SHA256 7b96f41e38a2478b3c5b40bd5e81a45437902f370718676c6077c2edcd5c5e10 dangerdeep-data-0.2.0.zip 54163740
diff --git a/games-simulation/dangerdeep/metadata.xml b/games-simulation/dangerdeep/metadata.xml
new file mode 100644
index 000000000000..d3c2cc926f0b
--- /dev/null
+++ b/games-simulation/dangerdeep/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>games</herd>
+</pkgmetadata>