diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2007-01-04 04:37:35 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2007-01-04 04:37:35 +0000 |
commit | de45c15e63bf176721790e7dd465f17964e4b8f3 (patch) | |
tree | 993f6baad6aeb3215671d2190492a00a811cef7d /games-simulation/dangerdeep | |
parent | add ~amd64, bug 159841 (diff) | |
download | gentoo-2-de45c15e63bf176721790e7dd465f17964e4b8f3.tar.gz gentoo-2-de45c15e63bf176721790e7dd465f17964e4b8f3.tar.bz2 gentoo-2-de45c15e63bf176721790e7dd465f17964e4b8f3.zip |
initial commit - ebuild submitted by Bernard Cafarelli via bug #130023
(Portage version: 2.1.1-r2)
Diffstat (limited to 'games-simulation/dangerdeep')
-rw-r--r-- | games-simulation/dangerdeep/ChangeLog | 11 | ||||
-rw-r--r-- | games-simulation/dangerdeep/Manifest | 21 | ||||
-rw-r--r-- | games-simulation/dangerdeep/dangerdeep-0.2.0.ebuild | 66 | ||||
-rw-r--r-- | games-simulation/dangerdeep/files/dangerdeep-0.2.0-build.patch | 10 | ||||
-rw-r--r-- | games-simulation/dangerdeep/files/digest-dangerdeep-0.2.0 | 6 | ||||
-rw-r--r-- | games-simulation/dangerdeep/metadata.xml | 5 |
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..ddeafe7d27b9 --- /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 1401 RMD160 9378a681bcfc457d2aec6a5678c1e8ad8595cc45 SHA1 a99d46ad89cc8ff32e7bbc70b8c872983a3e37aa SHA256 df5d314eb04e5d251908404f7078602bd475c5ff26ab286bc2f9ffc130c732b7 +MD5 6827f097485266e9a15204ac7217aacc dangerdeep-0.2.0.ebuild 1401 +RMD160 9378a681bcfc457d2aec6a5678c1e8ad8595cc45 dangerdeep-0.2.0.ebuild 1401 +SHA256 df5d314eb04e5d251908404f7078602bd475c5ff26ab286bc2f9ffc130c732b7 dangerdeep-0.2.0.ebuild 1401 +MISC ChangeLog 372 RMD160 03db7e0a6c70a1530c6e71514ebeae29d976c75f SHA1 1b0665bdb29cde6187afb228725e7fa610096cd2 SHA256 106e46e14d96e762cf51896b5e35fe3a147ff47fe18e7c6012e943530ac6ab3e +MD5 5df8feea43f223ce2673ca5c52847b69 ChangeLog 372 +RMD160 03db7e0a6c70a1530c6e71514ebeae29d976c75f ChangeLog 372 +SHA256 106e46e14d96e762cf51896b5e35fe3a147ff47fe18e7c6012e943530ac6ab3e ChangeLog 372 +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> |