diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2009-04-16 06:29:58 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2009-04-16 06:29:58 +0000 |
commit | 27f496f572cc47221f0b34d83b95d915bfc2d27a (patch) | |
tree | 0d4d9a7dd6d4292660b4fc45fa2e07530ce19fe6 /games-action/btanks | |
parent | fix the desktop files install (bug #263666) (diff) | |
download | historical-27f496f572cc47221f0b34d83b95d915bfc2d27a.tar.gz historical-27f496f572cc47221f0b34d83b95d915bfc2d27a.tar.bz2 historical-27f496f572cc47221f0b34d83b95d915bfc2d27a.zip |
old
Package-Manager: portage-2.1.6.7/cvs/Linux i686
Diffstat (limited to 'games-action/btanks')
-rw-r--r-- | games-action/btanks/Manifest | 4 | ||||
-rw-r--r-- | games-action/btanks/btanks-0.7.5800.ebuild | 60 | ||||
-rw-r--r-- | games-action/btanks/files/btanks-0.7.5800-gcc43.patch | 91 | ||||
-rw-r--r-- | games-action/btanks/files/btanks-0.7.5800-scons-blows.patch | 35 |
4 files changed, 0 insertions, 190 deletions
diff --git a/games-action/btanks/Manifest b/games-action/btanks/Manifest index 1780aad62bfe..187fd69edd82 100644 --- a/games-action/btanks/Manifest +++ b/games-action/btanks/Manifest @@ -1,9 +1,5 @@ -AUX btanks-0.7.5800-gcc43.patch 2093 RMD160 feaaf84c116a115f58cfcb5b9a386f08c000c158 SHA1 b862defe2b1327378cecb2cfc0f3664c699363a0 SHA256 f1fef6ad7e7196e3f2db6590832abe557ef1c9e3d52f789009018ba4d7a7b754 -AUX btanks-0.7.5800-scons-blows.patch 1397 RMD160 c7bd6b710bbe2f158eb08266a35add5a82843cea SHA1 8083911d08a001ba107af85bdce7a842a9bfc4ec SHA256 b5bfba498922828dd43a989c5b6361c6e75ed1c90000b4cdab49cd0ec80a68b5 AUX btanks-0.8.7686-scons-blows.patch 4692 RMD160 56e214f0da19e8b15e745ba83dc201931171fbbc SHA1 20ed99fbcaa93630787f96cbd2f5b238bbba249c SHA256 71d3db7c842f656930b08c7f3c9bf74ec4b0c3b3598c640926fc37e44ff58810 -DIST btanks-0.7.5800.tar.bz2 56610996 RMD160 101da9fe749a80456c675ca9dc6f26ca3fb53038 SHA1 3892249c71130847756290b48ae0181b9ee6ddbf SHA256 1c82a2a1d1acd9bba7498be6623ad94a05783aba23fb0ac84330049a02107c2f DIST btanks-0.8.7686.tar.bz2 59601972 RMD160 4aba37bf06f36aa01f01a6f0b4920805c9e89c26 SHA1 912a0f1a66d60edfca47c4e86fd112d4778fb961 SHA256 5ac3f3b7aefb9f39cbefa1d108b00afb88b2aebf14681d69ed807fb49a2ed174 -EBUILD btanks-0.7.5800.ebuild 1473 RMD160 b705ab754af768808e12497b2129568e928edf43 SHA1 b4309f4805939b17d23195e064cf432030645c23 SHA256 49b8de37eed786a2bec0be88851276382f8db951523a1b1abc07c112fc8ac92b EBUILD btanks-0.8.7686.ebuild 1491 RMD160 b562db2815455ce71b9a5ef938a1c8849ca01a6e SHA1 b0ec19ad96fcb2972eceacd21004233975a6c2e6 SHA256 88ea88e1fc1e51b3baa49c58c8357c52b63c7104ea7845d60747a193a06d34c5 MISC ChangeLog 3280 RMD160 b7dc4a11e30dbfb1e0d25318e52277a78005177c SHA1 81ddbbbbce8a585767d6d207bcd532c6ac8d2c41 SHA256 d625d630c9ff21a09d1981644b48ad9d436e542198521062dff4151476c35e32 MISC metadata.xml 602 RMD160 7bcf0da779e8e1cc2a225f25cba147e7d743d671 SHA1 2a04ca616e925cb64cd5df0f4dd96e1512b4aeb0 SHA256 f2fba9fde47806ea5f4d7a16dfe1a5edd4869619118f28a30a91ec8a629cfb2c diff --git a/games-action/btanks/btanks-0.7.5800.ebuild b/games-action/btanks/btanks-0.7.5800.ebuild deleted file mode 100644 index cbe027e93005..000000000000 --- a/games-action/btanks/btanks-0.7.5800.ebuild +++ /dev/null @@ -1,60 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-action/btanks/btanks-0.7.5800.ebuild,v 1.6 2008/04/20 09:19:43 vapier Exp $ - -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-libs/libsigc++-2.0 - >=dev-lang/lua-5.1 - media-libs/openal - media-libs/libsdl - media-libs/libvorbis - virtual/opengl - dev-libs/expat - media-libs/sdl-image" -DEPEND="${RDEPEND} - dev-util/scons - dev-util/pkgconfig" - -src_unpack() { - unpack ${A} - cd "${S}" - epatch "${FILESDIR}"/${P}-scons-blows.patch - epatch "${FILESDIR}"/${P}-gcc43.patch #217944 -} - -src_compile() { - scons \ - mode="release" \ - prefix=/usr \ - lib_dir="$(games_get_libdir)/${PN}" \ - resources_dir="${GAMES_DATADIR}/${PN}" \ - || die "scons" -} - -src_install() { - newgamesbin bt btanks || die "newgamesbin" - - insinto "$(games_get_libdir)"/${PN} - doins lib{mrt,bt,sdlx}.so || die "doins for lib.so failed" - - exeinto "${GAMES_DATADIR}/${PN}" - doexe libbt_objects.so || die "doins for libbt_objects.so failed" - insinto "${GAMES_DATADIR}/${PN}" - doins -r data || die "doins for data failed" - dodoc ChangeLog *.txt - - newicon src/bt.xpm ${PN}.xpm || die "newicon" - make_desktop_entry ${PN} "Battle Tanks" ${PN} - - prepgamesdirs -} diff --git a/games-action/btanks/files/btanks-0.7.5800-gcc43.patch b/games-action/btanks/files/btanks-0.7.5800-gcc43.patch deleted file mode 100644 index c6515b62d940..000000000000 --- a/games-action/btanks/files/btanks-0.7.5800-gcc43.patch +++ /dev/null @@ -1,91 +0,0 @@ -sniped from Debian to fix building with gcc-4.3 - -http://bugs.gentoo.org/217944 - ---- btanks-0.7.5800/mrt/udp_socket.cpp -+++ btanks-0.7.5800/mrt/udp_socket.cpp -@@ -22,6 +22,7 @@ - # endif - #endif - -+#include <cstring> - - using namespace mrt; - ---- btanks-0.7.5800/mrt/sys_socket.cpp -+++ btanks-0.7.5800/mrt/sys_socket.cpp -@@ -27,6 +27,7 @@ - # include <unistd.h> - #endif - -+#include <cstring> - - using namespace mrt; - ---- btanks-0.7.5800/mrt/lang.cpp -+++ btanks-0.7.5800/mrt/lang.cpp -@@ -8,6 +8,9 @@ - #include "lang.h" - #include "logger.h" - -+#include <cstdlib> -+#include <cstring> -+ - const std::string mrt::getLanguageCode() { - #ifdef WIN32 - LANGID lang_id = GetUserDefaultLangID(); ---- btanks-0.7.5800/mrt/serializator.cpp -+++ btanks-0.7.5800/mrt/serializator.cpp -@@ -31,6 +31,8 @@ - #include <limits.h> - #include "exception.h" - -+#include <cstring> -+ - #ifdef WIN32 - # ifndef uint32_t - # define uint32_t unsigned __int32 ---- btanks-0.7.5800/menu/menu_config.cpp -+++ btanks-0.7.5800/menu/menu_config.cpp -@@ -24,6 +24,8 @@ - #include "mrt/b64.h" - #include "config.h" - -+#include <cstring> -+ - IMPLEMENT_SINGLETON(MenuConfig, IMenuConfig); - - void SlotConfig::serialize(mrt::Serializator &s) const { ---- btanks-0.7.5800/src/i18n.cpp -+++ btanks-0.7.5800/src/i18n.cpp -@@ -20,6 +20,8 @@ - #include "mrt/exception.h" - #include <assert.h> - -+#include <cstring> -+ - IMPLEMENT_SINGLETON(I18n, II18n); - - bool lessnocase::operator()(const std::string& s1, const std::string& s2) const { ---- btanks-0.7.5800/src/var.cpp -+++ btanks-0.7.5800/src/var.cpp -@@ -21,6 +21,8 @@ - #include "mrt/serializator.h" - #include <assert.h> - -+#include <cstdlib> -+ - void Var::serialize(mrt::Serializator &s) const { - if (type.empty()) - throw_ex(("cannot serialize empty variable")); ---- btanks-0.7.5800/objects/trooper.cpp -+++ btanks-0.7.5800/objects/trooper.cpp -@@ -24,6 +24,8 @@ - #include "config.h" - #include "trooper.h" - -+#include <cstring> -+ - void Trooper::getImpassabilityPenalty(const float impassability, float &base, float &base_value, float &penalty) const { - if (impassability > 0.2f) { - base_value = 0.2f; diff --git a/games-action/btanks/files/btanks-0.7.5800-scons-blows.patch b/games-action/btanks/files/btanks-0.7.5800-scons-blows.patch deleted file mode 100644 index f3e9fed3bd76..000000000000 --- a/games-action/btanks/files/btanks-0.7.5800-scons-blows.patch +++ /dev/null @@ -1,35 +0,0 @@ -Respect env build settings, dont force crappy flags, and make sure -rpath is added properly. - ---- SConstruct -+++ SConstruct -@@ -81,16 +81,10 @@ - if env['gcc_visibility']: - env.Append(CCFLAGS=' -fvisibility-inlines-hidden -fvisibility=hidden '); - env.Append(CPPFLAGS=' -fvisibility-inlines-hidden -fvisibility=hidden '); -- if debug: -- env.Append(CCFLAGS='-ggdb ') -- env.Append(CPPFLAGS='-ggdb ') -- else: -- env.Append(CCFLAGS='-O3 ') -- env.Append(CPPFLAGS='-O3 ') - - al_lib = 'openal' -- 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.Copy() ---- SConscript -+++ SConscript -@@ -94,7 +94,7 @@ - - Import('lib_dir') - if sys.platform != 'win32': -- bt_env.Append(LINKFLAGS=' -Wl,-rpath '+ lib_dir + ' -Wl,-rpath-link,build/' + env['mode'] + '/mrt') -- bt_env.Append(LINKFLAGS=' -Wl,-rpath '+ lib_dir + ' -Wl,-rpath-link,build/' + env['mode'] + '/sdlx') -+ bt_env.Append(LINKFLAGS=' -Wl,-rpath,'+ lib_dir + ' -Wl,-rpath-link,build/' + env['mode'] + '/mrt') -+ bt_env.Append(LINKFLAGS=' -Wl,-rpath,'+ lib_dir + ' -Wl,-rpath-link,build/' + env['mode'] + '/sdlx') - - bt_main = bt_env.Program('bt', bt_main_sources, LIBS=bt_main_libs, RPATH=[lib_dir]) |