diff options
-rw-r--r-- | games-strategy/spring/files/desync.patch | 23 | ||||
-rw-r--r-- | games-strategy/spring/files/gcc.patch | 11 | ||||
-rw-r--r-- | games-strategy/spring/files/no_gml.patch | 13 | ||||
-rw-r--r-- | games-strategy/spring/files/no_headless.patch | 10 | ||||
-rw-r--r-- | games-strategy/spring/files/spring.png | bin | 139208 -> 0 bytes | |||
-rw-r--r-- | games-strategy/spring/spring-0.82.7.1-r1.ebuild | 97 |
6 files changed, 0 insertions, 154 deletions
diff --git a/games-strategy/spring/files/desync.patch b/games-strategy/spring/files/desync.patch deleted file mode 100644 index 5b941b6..0000000 --- a/games-strategy/spring/files/desync.patch +++ /dev/null @@ -1,23 +0,0 @@ -diff -Naur spring_0.82.7.1/rts/Sim/Projectiles/PieceProjectile.cpp spring_patched/rts/Sim/Projectiles/PieceProjectile.cpp ---- spring_0.82.7.1/rts/Sim/Projectiles/PieceProjectile.cpp 2011-01-08 02:45:23.000000000 +0200 -+++ spring_patched/rts/Sim/Projectiles/PieceProjectile.cpp 2011-10-11 03:02:44.000216493 +0300 -@@ -177,7 +177,8 @@ - pos += norm * 0.1f; - } else { - if (flags & PF_Explode) { -- helper->Explosion(pos, DamageArray(50), 5, 0, 10, owner(), false, 1.0f, false, false, 0, 0, ZeroVector, -1); -+ const DamageArray damageArray(50); -+ helper->Explosion(pos, damageArray, 5, 0, 10, owner(), false, 1.0f, false, false, 0, 0, ZeroVector, -1); - } - if (flags & PF_Smoke) { - if (flags & PF_NoCEGTrail) { -@@ -201,7 +202,8 @@ - if (unit == owner()) - return; - if (flags & PF_Explode) { -- helper->Explosion(pos, DamageArray(50), 5, 0, 10, owner(), false, 1.0f, false, false, 0, unit, ZeroVector, -1); -+ const DamageArray damageArray(50); -+ helper->Explosion(pos, damageArray, 5, 0, 10, owner(), false, 1.0f, false, false, 0, unit, ZeroVector, -1); - } - if (flags & PF_Smoke) { - if (flags & PF_NoCEGTrail) { diff --git a/games-strategy/spring/files/gcc.patch b/games-strategy/spring/files/gcc.patch deleted file mode 100644 index fa20686..0000000 --- a/games-strategy/spring/files/gcc.patch +++ /dev/null @@ -1,11 +0,0 @@ -diff -Naur spring_original/rts/lib/lobby/Connection.h spring_patched/rts/lib/lobby/Connection.h ---- spring_original/rts/lib/lobby/Connection.h 2010-10-15 23:08:24.000000000 +0300 -+++ spring_patched/rts/lib/lobby/Connection.h 2010-12-13 00:06:25.000000000 +0200 -@@ -7,6 +7,7 @@ - #include <boost/asio/deadline_timer.hpp> - #include <boost/asio/ip/tcp.hpp> - #include <string> -+#include <list> - - struct ClientStatus - { diff --git a/games-strategy/spring/files/no_gml.patch b/games-strategy/spring/files/no_gml.patch deleted file mode 100644 index 15dbf3f..0000000 --- a/games-strategy/spring/files/no_gml.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/rts/builds/CMakeLists.txt b/rts/builds/CMakeLists.txt -index ef85210..c830d9a 100644 ---- a/rts/builds/CMakeLists.txt -+++ b/rts/builds/CMakeLists.txt -@@ -34,7 +34,7 @@ endmacro (CreateEngineBuildInstallTarget targetName) - - if (NOT HEADLESS_SYSTEM) - Add_Subdirectory(default) -- Add_Subdirectory(GML) -+ #Add_Subdirectory(GML) - endif (NOT HEADLESS_SYSTEM) - - Add_Subdirectory(DS) diff --git a/games-strategy/spring/files/no_headless.patch b/games-strategy/spring/files/no_headless.patch deleted file mode 100644 index 002ac13..0000000 --- a/games-strategy/spring/files/no_headless.patch +++ /dev/null @@ -1,10 +0,0 @@ -diff --git a/rts/builds/CMakeLists.txt b/rts/builds/CMakeLists.txt -index ef85210..05d51cc 100644 ---- a/rts/builds/CMakeLists.txt -+++ b/rts/builds/CMakeLists.txt -@@ -38,4 +38,4 @@ if (NOT HEADLESS_SYSTEM) - endif (NOT HEADLESS_SYSTEM) - - Add_Subdirectory(DS) --Add_Subdirectory(HL) -+#Add_Subdirectory(HL) diff --git a/games-strategy/spring/files/spring.png b/games-strategy/spring/files/spring.png Binary files differdeleted file mode 100644 index 0e75470..0000000 --- a/games-strategy/spring/files/spring.png +++ /dev/null diff --git a/games-strategy/spring/spring-0.82.7.1-r1.ebuild b/games-strategy/spring/spring-0.82.7.1-r1.ebuild deleted file mode 100644 index 7912e2d..0000000 --- a/games-strategy/spring/spring-0.82.7.1-r1.ebuild +++ /dev/null @@ -1,97 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI=2 - -inherit cmake-utils eutils fdo-mime flag-o-matic games - -DESCRIPTION="a 3D multiplayer real time strategy game engine" -HOMEPAGE="http://springrts.com" -SRC_URI="mirror://sourceforge/springrts/spring_0.82.7.1_src.tar.lzma" -S="${WORKDIR}/spring_0.82.7.1" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~x86 ~amd64" -IUSE="debug java custom-cflags gml headless" -RESTRICT="nomirror" - -RDEPEND=" - >=dev-libs/boost-1.35 - media-libs/devil[jpeg,png,opengl] - >=media-libs/freetype-2.0.0 - >=media-libs/glew-1.4 - >=media-libs/libsdl-1.2.0[X,opengl] - media-libs/openal - sys-libs/zlib - virtual/glu - virtual/opengl - java? ( virtual/jdk ) -" - -DEPEND="${RDEPEND} - >=sys-devel/gcc-4.1 - app-arch/p7zip - >=dev-util/cmake-2.6.0 -" -### gcc 4.4 dependency is bad, but 4.3 causes desync problems - -### where to place content files which change each spring release (as opposed to mods, ota-content which go somewhere else) -VERSION_DATADIR="${GAMES_DATADIR}/${PN}" - -src_prepare() { - if ! use gml ; then - epatch "${FILESDIR}/no_gml.patch" - fi - - - if ! use headless ; then - epatch "${FILESDIR}/no_headless.patch" - fi - epatch "${FILESDIR}/desync.patch" - cd AI/Skirmish - git clone git://github.com/Tarendai/Shard.git - cd ../.. -} - -src_configure() { - if ! use custom-cflags ; then - strip-flags - else - mycmakeargs="${mycmakeargs} -DMARCH_FLAG=$(get-flag march)" - fi - - if ! use java ; then - mycmakeargs="${mycmakeargs} -DAIINTERFACES=NATIVE" - fi - - LIBDIR="$(games_get_libdir)" - mycmakeargs="${mycmakeargs} -DCMAKE_INSTALL_PREFIX=/usr -DBINDIR=${GAMES_BINDIR#/usr/} -DLIBDIR=${LIBDIR#/usr/} -DDATADIR=${VERSION_DATADIR#/usr/}" - if use debug ; then - CMAKE_BUILD_TYPE="DEBUG" - else - CMAKE_BUILD_TYPE="RELEASE" - fi - - cmake-utils_src_configure -} - -src_compile () { - cmake-utils_src_compile -} - -src_install () { - cmake-utils_src_install - - prepgamesdirs - - if use custom-cflags ; then - ewarn "You decided to use custom CFLAGS. This may be save, or it may cause your computer to desync more or less often. If you experience desyncs, disable it before doing any bugreport. If you don't know what you are doing, *disable custom-cflags*." - fi -} - -pkg_postinst() { - fdo-mime_mime_database_update - games_pkg_postinst -} |