diff options
author | Tristan Heaven <tristan@gentoo.org> | 2007-06-12 21:47:41 +0000 |
---|---|---|
committer | Tristan Heaven <tristan@gentoo.org> | 2007-06-12 21:47:41 +0000 |
commit | d994a97b13608a3a2d3ea0407a488b9c24a5fc0d (patch) | |
tree | 6f7e0f374158ece1459fb2310ec517c556dab4db /games-simulation | |
parent | Add ~sparc-fbsd keyword. (diff) | |
download | historical-d994a97b13608a3a2d3ea0407a488b9c24a5fc0d.tar.gz historical-d994a97b13608a3a2d3ea0407a488b9c24a5fc0d.tar.bz2 historical-d994a97b13608a3a2d3ea0407a488b9c24a5fc0d.zip |
Version bump
Package-Manager: portage-2.1.2.9
Diffstat (limited to 'games-simulation')
-rw-r--r-- | games-simulation/dangerdeep/ChangeLog | 8 | ||||
-rw-r--r-- | games-simulation/dangerdeep/Manifest | 31 | ||||
-rw-r--r-- | games-simulation/dangerdeep/dangerdeep-0.3.0.ebuild | 65 | ||||
-rw-r--r-- | games-simulation/dangerdeep/files/dangerdeep-0.3.0-build.patch | 37 | ||||
-rw-r--r-- | games-simulation/dangerdeep/files/digest-dangerdeep-0.3.0 | 6 |
5 files changed, 142 insertions, 5 deletions
diff --git a/games-simulation/dangerdeep/ChangeLog b/games-simulation/dangerdeep/ChangeLog index 04252b67ce7f..eb083998a4fa 100644 --- a/games-simulation/dangerdeep/ChangeLog +++ b/games-simulation/dangerdeep/ChangeLog @@ -1,6 +1,12 @@ # 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.4 2007/03/07 08:19:29 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-simulation/dangerdeep/ChangeLog,v 1.5 2007/06/12 21:47:41 nyhm Exp $ + +*dangerdeep-0.3.0 (12 Jun 2007) + + 12 Jun 2007; Tristan Heaven <nyhm@gentoo.org> + +files/dangerdeep-0.3.0-build.patch, +dangerdeep-0.3.0.ebuild: + Version bump 07 Mar 2007; Michael Sterrett <mr_bones_@gentoo.org> dangerdeep-0.2.0.ebuild: diff --git a/games-simulation/dangerdeep/Manifest b/games-simulation/dangerdeep/Manifest index 103338457b66..7a424ec836a7 100644 --- a/games-simulation/dangerdeep/Manifest +++ b/games-simulation/dangerdeep/Manifest @@ -1,17 +1,30 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + 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 +AUX dangerdeep-0.3.0-build.patch 1450 RMD160 6476f9f4015caf3e3fb82aede90800e0aadc4e81 SHA1 56a00f9c335c9a48a0058ff9d1fbb87ade2795e9 SHA256 26a5ee68fb00c3f73417b5790d1c529f70b4ed410b066d10a05ad5f62fbfffa0 +MD5 0903d15d52f68155fbc6a209a4aecc50 files/dangerdeep-0.3.0-build.patch 1450 +RMD160 6476f9f4015caf3e3fb82aede90800e0aadc4e81 files/dangerdeep-0.3.0-build.patch 1450 +SHA256 26a5ee68fb00c3f73417b5790d1c529f70b4ed410b066d10a05ad5f62fbfffa0 files/dangerdeep-0.3.0-build.patch 1450 DIST dangerdeep-0.2.0.tar.gz 3854086 RMD160 40f6d89eeb829d2b8d26b4b3d84342ec9f51b908 SHA1 e47bfd98031e024cd6881827c285ef27ccb367c0 SHA256 ada47be2c7463ac73f0276b77bce7d5a16efc5c6316f70005af6dcf4e9908452 +DIST dangerdeep-0.3.0.tar.gz 1100972 RMD160 f4959c78592700542514b31beb5e641cc43e10a8 SHA1 b3bb8a89b6016a26d0ce6c00af4ed70b33f549e2 SHA256 bdab6b9b1c2b5f8e618f5c346965ec1f48c9edc9bff1d4f5ff7c8d235464283f DIST dangerdeep-data-0.2.0.zip 54163740 RMD160 0dc8439356239779522a841764235e0f6d682ffc SHA1 a790603387829399143dcdadbcae9481effa0d71 SHA256 7b96f41e38a2478b3c5b40bd5e81a45437902f370718676c6077c2edcd5c5e10 +DIST dangerdeep-data-0.3.0.zip 61914764 RMD160 b37fc081824089db6eda3491288b83f4bd0f3dd7 SHA1 5415256683fc5dc432ce36dccd17727eab3f1153 SHA256 00412a4f8f571a9291df48fa40fbbe846680b4fcb1de2f168539b1606cb4fb81 EBUILD dangerdeep-0.2.0.ebuild 1521 RMD160 64a86d7cd40a512c082f5bc42c96942c7c401f36 SHA1 f9fe1aba6ae5f1ca11ee004c148e56a5aa2466bb SHA256 73d7ff92eda65c4b16b71784178dcd414a26b084963913fa43f68c8bf91a5608 MD5 04a0038bcb314de9099f404e3eccee5e dangerdeep-0.2.0.ebuild 1521 RMD160 64a86d7cd40a512c082f5bc42c96942c7c401f36 dangerdeep-0.2.0.ebuild 1521 SHA256 73d7ff92eda65c4b16b71784178dcd414a26b084963913fa43f68c8bf91a5608 dangerdeep-0.2.0.ebuild 1521 -MISC ChangeLog 851 RMD160 c5829a89110b33e1135ac1201894fa597e2c5ed9 SHA1 d72b3cb42f2cd1e14a4317eff5438ce328b92004 SHA256 8b5b2a7a27059f5761b243d180eeea70ffb12d88edc7a67843e398cf99ea3ff6 -MD5 487276fe989cc766da344ff57ff1662e ChangeLog 851 -RMD160 c5829a89110b33e1135ac1201894fa597e2c5ed9 ChangeLog 851 -SHA256 8b5b2a7a27059f5761b243d180eeea70ffb12d88edc7a67843e398cf99ea3ff6 ChangeLog 851 +EBUILD dangerdeep-0.3.0.ebuild 1449 RMD160 9281e594c66a08973aa9efd109cc7984112b5661 SHA1 7eb4ed6bc5f28160bfb317e7c08ce12b3359444a SHA256 f69c3a0f1e4a0ce767abad699b4739b22a5e3ebc2c8968dcad61e5ed5efa2899 +MD5 e2b51a3885f15977499f76fef6868b5a dangerdeep-0.3.0.ebuild 1449 +RMD160 9281e594c66a08973aa9efd109cc7984112b5661 dangerdeep-0.3.0.ebuild 1449 +SHA256 f69c3a0f1e4a0ce767abad699b4739b22a5e3ebc2c8968dcad61e5ed5efa2899 dangerdeep-0.3.0.ebuild 1449 +MISC ChangeLog 1008 RMD160 95c1aeb507804a2f1de4ec3961f22d5a8271cde6 SHA1 5b114f8486d8a41cee2a706a8ff0bcdd601b591d SHA256 14802413e9cfe9ae49ef729e4dcea1be24bf32bacaef9bc532a6cfaf71c3a6ea +MD5 a55e3b482e38b458ba2edfbc28227a44 ChangeLog 1008 +RMD160 95c1aeb507804a2f1de4ec3961f22d5a8271cde6 ChangeLog 1008 +SHA256 14802413e9cfe9ae49ef729e4dcea1be24bf32bacaef9bc532a6cfaf71c3a6ea ChangeLog 1008 MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea metadata.xml 158 @@ -19,3 +32,13 @@ SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 metadata 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 +MD5 d7ac69dcc7f5191a320a606766a7e71f files/digest-dangerdeep-0.3.0 515 +RMD160 39c9738c6844f822d1837df795695d21e5f2ff3f files/digest-dangerdeep-0.3.0 515 +SHA256 9ec8a763dc25bec3fd2e7a09488f22ea1261a83bc76d3f7c55eb8fafb37d4618 files/digest-dangerdeep-0.3.0 515 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.4 (GNU/Linux) + +iD8DBQFGbxSKdz7hIScOURERAjfJAKDdwQgt0ggKwyj2mWXkXAT2a14MhwCeO2WR +rB5iFIko435NRowSUTnZSvw= +=x+jX +-----END PGP SIGNATURE----- diff --git a/games-simulation/dangerdeep/dangerdeep-0.3.0.ebuild b/games-simulation/dangerdeep/dangerdeep-0.3.0.ebuild new file mode 100644 index 000000000000..03ad6f9c5bbe --- /dev/null +++ b/games-simulation/dangerdeep/dangerdeep-0.3.0.ebuild @@ -0,0 +1,65 @@ +# 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.3.0.ebuild,v 1.1 2007/06/12 21:47:41 nyhm Exp $ + +inherit eutils games + +DESCRIPTION="a World War II German submarine simulation" +HOMEPAGE="http://www.dangerdeep.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz + mirror://sourceforge/${PN}/${PN}-data-${PV}.zip" + +LICENSE="GPL-2 CCPL-Attribution-NonCommercial-NoDerivs-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="sse debug" + +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} + app-arch/unzip + dev-util/scons" + +src_unpack() { + unpack ${A} + 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} \ + $(use debug && echo debug=1) \ + || 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.3.0-build.patch b/games-simulation/dangerdeep/files/dangerdeep-0.3.0-build.patch new file mode 100644 index 000000000000..1f3c4a47ce6d --- /dev/null +++ b/games-simulation/dangerdeep/files/dangerdeep-0.3.0-build.patch @@ -0,0 +1,37 @@ +--- SConstruct ++++ SConstruct +@@ -119,6 +119,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'] +@@ -126,13 +127,16 @@ + sdllibs = ['SDL', 'SDL_image'] + ccflags = '-Wall `sdl-config --cflags` `pkg-config --cflags x11`' + env.Append(LINKFLAGS = '`pkg-config --libs-only-L x11`') ++ if os.environ.has_key('CXXFLAGS'): ++ ccflags += os.environ['CXXFLAGS'] ++ if os.environ.has_key('LDFLAGS'): ++ env.Append(LINKFLAGS = os.environ['LDFLAGS']) + if (debug >= 3): + ccflags += ' -g -pg -O3' # profiling + elif (debug == 2): + ccflags += ' -g -O0' + env.Append(CPPDEFINES = ['DEBUG']) + elif (debug == 1): +- ccflags += ' -g -O1' + env.Append(CPPDEFINES = ['DEBUG']) + elif (debug == -1): + ccflags += ' -g -O3 -march=athlon-xp -mfpmath=sse -mmmx -msse -m3dnow' +@@ -140,8 +144,6 @@ + ccflags += ' -g -O3 -march=athlon-xp -mfpmath=sse -mmmx -msse -m3dnow -ftree-vectorize -ftree-vectorizer-verbose=2' + elif (debug == -3): # special g++4.0+ auto vectorization + ccflags += ' -g -O3 -march=athlon64 -mfpmath=sse -mmmx -msse -msse2 -m3dnow -ftree-vectorize -ftree-vectorizer-verbose=2' +- else: +- ccflags += ' -g -O2' # debug symbols will be stripped by the linker for a debian package + # choose specific architecture if requested + if archflag != '': + ccflags += ' -march=' + archflag diff --git a/games-simulation/dangerdeep/files/digest-dangerdeep-0.3.0 b/games-simulation/dangerdeep/files/digest-dangerdeep-0.3.0 new file mode 100644 index 000000000000..6e442980ff50 --- /dev/null +++ b/games-simulation/dangerdeep/files/digest-dangerdeep-0.3.0 @@ -0,0 +1,6 @@ +MD5 8a1d19326a9a0bd8bb91a652bfa51bd9 dangerdeep-0.3.0.tar.gz 1100972 +RMD160 f4959c78592700542514b31beb5e641cc43e10a8 dangerdeep-0.3.0.tar.gz 1100972 +SHA256 bdab6b9b1c2b5f8e618f5c346965ec1f48c9edc9bff1d4f5ff7c8d235464283f dangerdeep-0.3.0.tar.gz 1100972 +MD5 b9a2f2ff756cd7715a3b58de7504c1d0 dangerdeep-data-0.3.0.zip 61914764 +RMD160 b37fc081824089db6eda3491288b83f4bd0f3dd7 dangerdeep-data-0.3.0.zip 61914764 +SHA256 00412a4f8f571a9291df48fa40fbbe846680b4fcb1de2f168539b1606cb4fb81 dangerdeep-data-0.3.0.zip 61914764 |