summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2010-04-08 08:30:35 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2010-04-08 08:30:35 +0000
commit2a8b6c8ed7ffc0f8e3f65a516803f9d0dec7d159 (patch)
tree3962ccf016ae24bf1722199b619f00338925ad14 /games-action/btanks
parentold (diff)
downloadgentoo-2-2a8b6c8ed7ffc0f8e3f65a516803f9d0dec7d159.tar.gz
gentoo-2-2a8b6c8ed7ffc0f8e3f65a516803f9d0dec7d159.tar.bz2
gentoo-2-2a8b6c8ed7ffc0f8e3f65a516803f9d0dec7d159.zip
old
(Portage version: 2.1.7.17/cvs/Linux i686)
Diffstat (limited to 'games-action/btanks')
-rw-r--r--games-action/btanks/Manifest3
-rw-r--r--games-action/btanks/btanks-0.8.7686.ebuild57
-rw-r--r--games-action/btanks/files/btanks-0.8.7686-scons-blows.patch114
3 files changed, 0 insertions, 174 deletions
diff --git a/games-action/btanks/Manifest b/games-action/btanks/Manifest
index b67cc7ba7755..0a03cf7e2656 100644
--- a/games-action/btanks/Manifest
+++ b/games-action/btanks/Manifest
@@ -1,8 +1,5 @@
-AUX btanks-0.8.7686-scons-blows.patch 3207 RMD160 e936718477d6a7271f2832671964d0d9835d91bf SHA1 c9c6d13b7d377c7ac4661fdddcdefa2c7a662be4 SHA256 9486214c6762b44e99cc57cc0a867affb3a6c44126f715482828717727ec92bf
AUX btanks-0.9.8083-scons-blows.patch 3146 RMD160 562ea454f0de7d70be6a7efcd74555bee07a6dfe SHA1 d766e2b97f9eabffe8aaab35a5a3b233ecdbd9c4 SHA256 792bf72825939d33fa548cf995665104df06399820fc3eb85148d8fb722e8622
-DIST btanks-0.8.7686.tar.bz2 59601972 RMD160 4aba37bf06f36aa01f01a6f0b4920805c9e89c26 SHA1 912a0f1a66d60edfca47c4e86fd112d4778fb961 SHA256 5ac3f3b7aefb9f39cbefa1d108b00afb88b2aebf14681d69ed807fb49a2ed174
DIST btanks-0.9.8083.tar.bz2 28754069 RMD160 e0eaebdfea636ddeabfba230315353036e06dfcb SHA1 e3f76e7cbda0a90a606e8358c6aa686cebba02d6 SHA256 3fd2ce6a2b45f7a60c3b114fa9aff13cb3dd9fbb6a65cdc9798b76c4fa2c4341
-EBUILD btanks-0.8.7686.ebuild 1568 RMD160 994ac397ec201e3f187f93cc6225f4987ecd06f5 SHA1 29960dcb9dc4f285094ccfd4a1303c4d63835e9f SHA256 82ea82a9b51994c1a36541731491cd32a3fa07d70dbdfef7ebfdd36c50ca8ec4
EBUILD btanks-0.9.8083.ebuild 1572 RMD160 e209033edbc622e630d54a480b1a05955532d98c SHA1 7756dfaee18cb02352ea6ce010016942f9dd4b2e SHA256 95c6d6b3bc8d0c84f60852c8a82677a469a353493b548a7fcc2387c8a9a777bc
MISC ChangeLog 3911 RMD160 7d4ba79945b44a4960baa2cb705a6cf97c2f8a83 SHA1 6b5e5f78dfafbde772ef504d845deb1ad9e5d8c7 SHA256 574ab16f2b77d3f9c3a04d6495cdb7dd0195d0acd46ca252158d6a7dae5ef430
MISC metadata.xml 602 RMD160 7bcf0da779e8e1cc2a225f25cba147e7d743d671 SHA1 2a04ca616e925cb64cd5df0f4dd96e1512b4aeb0 SHA256 f2fba9fde47806ea5f4d7a16dfe1a5edd4869619118f28a30a91ec8a629cfb2c
diff --git a/games-action/btanks/btanks-0.8.7686.ebuild b/games-action/btanks/btanks-0.8.7686.ebuild
deleted file mode 100644
index 9fcd98d2ef0d..000000000000
--- a/games-action/btanks/btanks-0.8.7686.ebuild
+++ /dev/null
@@ -1,57 +0,0 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-action/btanks/btanks-0.8.7686.ebuild,v 1.11 2010/01/09 17:39:33 tupone Exp $
-
-EAPI=2
-inherit eutils games
-
-DESCRIPTION="Fast 2D tank arcade game with multiplayer and split-screen modes"
-HOMEPAGE="http://btanks.sourceforge.net/"
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE=""
-
-RDEPEND=">=dev-lang/lua-5.1
- media-libs/libsdl[joystick,video]
- media-libs/libvorbis
- virtual/opengl
- dev-libs/expat
- media-libs/smpeg
- media-libs/sdl-image[jpeg,png]
- media-libs/sdl-gfx"
-DEPEND="${RDEPEND}
- dev-util/scons
- dev-util/pkgconfig"
-
-src_prepare() {
- rm -rf sdlx/gfx
- epatch "${FILESDIR}"/${P}-scons-blows.patch
-}
-
-src_compile() {
- local sconsopts=$(echo "${MAKEOPTS}" | sed -ne "/-j/ { s/.*\(-j[[:space:]]*[0-9]\+\).*/\1/; p }")
-
- scons \
- ${sconsopts} \
- prefix="${GAMES_PREFIX}" \
- lib_dir="$(games_get_libdir)"/${PN} \
- plugins_dir="$(games_get_libdir)"/${PN} \
- resources_dir="${GAMES_DATADIR}"/${PN} \
- || die "scons failed"
-}
-
-src_install() {
- dogamesbin build/release/engine/btanks || die "dogamesbin failed"
- newgamesbin build/release/editor/bted btanksed || die "newgamesbin failed"
- exeinto "$(games_get_libdir)"/${PN}
- doexe build/release/*/*.so || die "doexe failed"
- insinto "${GAMES_DATADIR}"/${PN}
- doins -r data || die "doins failed"
- newicon engine/src/bt.xpm ${PN}.xpm
- make_desktop_entry ${PN} "Battle Tanks"
- dodoc ChangeLog *.txt
- prepgamesdirs
-}
diff --git a/games-action/btanks/files/btanks-0.8.7686-scons-blows.patch b/games-action/btanks/files/btanks-0.8.7686-scons-blows.patch
deleted file mode 100644
index 9920115b324a..000000000000
--- a/games-action/btanks/files/btanks-0.8.7686-scons-blows.patch
+++ /dev/null
@@ -1,114 +0,0 @@
---- clunk/kiss/_kiss_fft_guts.h
-+++ clunk/kiss/_kiss_fft_guts.h
-@@ -18,6 +18,7 @@
- typedef struct { kiss_fft_scalar r; kiss_fft_scalar i; }kiss_fft_cpx; */
- #include "kiss_fft.h"
- #include <limits.h>
-+#include <string.h>
-
- #define MAXFACTORS 32
- /* e.g. an fft of length 128 has 4 factors
---- mrt/export_base.h
-+++ mrt/export_base.h
-@@ -1,7 +1,7 @@
- #ifndef MRT_EXPORT_MACRO_H__
- #define MRT_EXPORT_MACRO_H__
-
--// Shared library support
-+/* Shared library support */
- #ifdef _WINDOWS
-
- # pragma warning(disable:4251) /* needs to have dll-interface used by client */
---- mrt/tclUniData.c
-+++ mrt/tclUniData.c
-@@ -880,7 +880,7 @@
- FINAL_QUOTE_PUNCTUATION,
- OTHER_PUNCTUATION,
- MATH_SYMBOL,
-- CURRENCY_SYMBOL,
-+ LCURRENCY_SYMBOL,
- MODIFIER_SYMBOL,
- OTHER_SYMBOL
- };
---- SConstruct
-+++ SConstruct
-@@ -49,7 +49,7 @@
- if os.environ.has_key('CC'):
- env['CC'] = os.environ['CC']
- if os.environ.has_key('CFLAGS'):
-- env['CCFLAGS'] += SCons.Util.CLVar(os.environ['CFLAGS'])
-+ env['CFLAGS'] += SCons.Util.CLVar(os.environ['CFLAGS'])
- if os.environ.has_key('CXX'):
- env['CXX'] = os.environ['CXX']
- if os.environ.has_key('CXXFLAGS'):
-@@ -90,19 +90,9 @@
- #env.Append(CPPDEFINES = ['NDEBUG'])
-
- else:
-- if env['gcc_visibility']:
-- env.Append(CCFLAGS=['-fvisibility=hidden']);
-- env.Append(CXXFLAGS=['-fvisibility-inlines-hidden', '-fvisibility=hidden']);
--
-- if debug:
-- env.Append(CCFLAGS=['-ggdb', '-D_FORTIFY_SOURCE=2'])
-- env.Append(CPPFLAGS=['-ggdb', '-D_FORTIFY_SOURCE=2'])
-- else:
-- env.Append(CCFLAGS=['-O3'])
-- env.Append(CPPFLAGS=['-O3'])
-
-- env.Append(CPPFLAGS=['-Wall', '-pedantic', '-Wno-long-long', '-pipe', '-pthread'])
-- env.Append(CCFLAGS=['-Wall', '-pedantic', '-Wno-long-long', '-pipe', '-pthread'])
-+ env.Append(CPPFLAGS=['-Wall', '-pedantic', '-Wno-long-long', '-pthread'])
-+ env.Append(CCFLAGS=['-Wall', '-pedantic', '-Wno-long-long', '-pthread'])
-
-
- conf_env = env.Clone()
---- sdlx/SConscript
-+++ sdlx/SConscript
-@@ -12,7 +12,7 @@
-
- env.MergeFlags(sdl_cflags, sdl_libs)
-
--libs = ['mrt', 'SDL', 'SDL_image']
-+libs = ['mrt', 'SDL', 'SDL_image', 'SDL_gfx']
-
- if sys.platform != "win32":
- c_map_env= env.Clone()
-@@ -34,7 +34,6 @@
- sdlx_sources = ['cursor.cpp', 'sdl_ex.cpp', 'surface.cpp', 'system.cpp', 'joystick.cpp',
- 'thread.cpp', 'mutex.cpp', 'semaphore.cpp', 'color.cpp',
- c_map, 'font.cpp', 'timer.cpp', 'module.cpp', 'file_rw.cpp',
-- 'gfx/SDL_rotozoom.c',
- ] # 'ttf.cpp',
-
- if sys.platform == 'win32':
---- sdlx/surface.cpp
-+++ sdlx/surface.cpp
-@@ -430,7 +430,7 @@
- throw_sdl(("SDL_SetColorKey"));
- }
-
--#include "gfx/SDL_rotozoom.h"
-+#include <SDL_rotozoom.h>
-
- void Surface::rotozoom(const sdlx::Surface &src, double angle, double zoom, bool smooth) {
- if (src.isNull())
---- sdlx/wrappers/glSDL.c
-+++ sdlx/wrappers/glSDL.c
-@@ -11,8 +11,6 @@
-
- #ifdef HAVE_OPENGL
-
--//#define LEAK_TRACKING
--
- #define DBG(x) /*error messages, warnings*/
- #define DBG2(x) /*texture allocation*/
- #define DBG3(x) /*chopping/tiling*/
-@@ -951,7 +949,6 @@
- }
- gl_doublebuf = flags & SDL_DOUBLEBUF;
- SDL_GL_SetAttribute(SDL_GL_DOUBLEBUFFER, gl_doublebuf);
-- //SDL_GL_SetAttribute(SDL_GL_SWAP_CONTROL, gl_doublebuf ? 1: 0);
-
- scale = 1;
-