Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=ryuotesting9.git;a=commitdiff;h=e92ab05b8d599352d3cc82cf1ca17898e2f74b9b

commit e92ab05b8d599352d3cc82cf1ca17898e2f74b9b
Author: James Buren <[email protected]>
Date:   Tue Jan 1 09:05:32 2013 -0600

widelands-build17-5-x86_64
* rebuild with boost
* force it to use shared libraries

diff --git a/source/games-extra/widelands/FrugalBuild 
b/source/games-extra/widelands/FrugalBuild
index 5dff9c3..6cc9a75 100644
--- a/source/games-extra/widelands/FrugalBuild
+++ b/source/games-extra/widelands/FrugalBuild
@@ -3,7 +3,7 @@

pkgname=widelands
pkgver=build17
-pkgrel=4
+pkgrel=5
pkgdesc="Widelands is an open source real-time strategy game."
url="http://wl.widelands.org/";
_F_cd_path="$pkgname-$pkgver-src"
@@ -11,13 +11,14 @@ _F_desktop_name="Widelands"
_F_desktop_icon="$pkgname.png"
_F_desktop_categories="Game;StrategyGame;"
_F_archive_grepv="-rc"
-makedepends=('python' 'cmake' 'boost' 'libboost-static' 'doxygen')
-depends=('ggz-client-libs' 'glew' 'sdl' 'sdl_mixer' 'sdlimage' 'sdl_net' 
'sdl_ttf' 'sdl_gfx>=2.0.24' 'lua' 'zlib')
+makedepends=('python' 'cmake' 'boost>=1.50.0' 'doxygen')
+depends=('ggz-client-libs' 'glew' 'sdl' 'sdl_mixer' 'sdlimage' 'sdl_net' 
'sdl_ttf' 'sdl_gfx>=2.0.24' 'lua' 'zlib' 'libboost>=1.50.0')
groups=('games-extra')
archs=('i686' 'x86_64')
up2date="Flasttar 'https://launchpad.net/widelands/+download' | cut -d '_' -f 1"
-source=(http://launchpad.net/widelands/$pkgver/build-17/+download/$pkgname-$pkgver-src.tar.bz2)
-sha1sums=('0ac6e1a1e6a5ba8cdd01c3f70e4c391ae9186ff1')
+source=(http://launchpad.net/widelands/$pkgver/build-17/+download/$pkgname-$pkgver-src.tar.bz2
 shared.patch)
+sha1sums=('0ac6e1a1e6a5ba8cdd01c3f70e4c391ae9186ff1' \
+          'b7df3755e2011a28210cbd56670f0af6ffa40ae2')


build()
@@ -25,6 +26,7 @@ build()
Fsed "^var_build=0" "var_build=1" compile.sh
Fsed "^user_interaction$" "#user_interaction" compile.sh
Fsed "#include <config.h>" "#include <unistd.h>\n#include <config.h>" 
src/main.cc
+       Fpatchall
Fexec ./compile.sh
Fmkdir /usr/share/$pkgname
Fcp $pkgname-$pkgver-src/$pkgname /usr/share/$pkgname/
diff --git a/source/games-extra/widelands/shared.patch 
b/source/games-extra/widelands/shared.patch
new file mode 100644
index 0000000..6e458d9
--- /dev/null
+++ b/source/games-extra/widelands/shared.patch
@@ -0,0 +1,24 @@
+diff -ur a/CMakeLists.txt b/CMakeLists.txt
+--- a/CMakeLists.txt   2012-04-23 04:46:49.000000000 -0500
++++ b/CMakeLists.txt   2013-01-01 08:55:04.007295933 -0600
+@@ -140,7 +140,7 @@
+ else (WL_UNIT_TESTS)
+   message(STATUS "Disabled Unit Tests")
+   set (Boost_FIND_COMPONENTS signals)
+-  set (Boost_USE_STATIC_LIBS   ON)
++  set (Boost_USE_STATIC_LIBS   OFF)
+   set (Boost_USE_MULTITHREADED ON)
+   set (Boost_DETAILED_FAILURE_MSG ON)
+   find_package(Boost 1.35.0 COMPONENTS signals REQUIRED)
+diff -ur a/src/CMakeLists.txt b/src/CMakeLists.txt
+--- a/src/CMakeLists.txt       2012-04-23 04:46:49.000000000 -0500
++++ b/src/CMakeLists.txt       2013-01-01 08:56:09.704293515 -0600
+@@ -57,7 +57,7 @@
+   endif (DEFINED MINGW)
+ endif (DEFINED MSVC)
+
+-add_library (widelands_all STATIC ${WL_SRCS_CC} ${WL_SRCS_H})
++add_library (widelands_all SHARED ${WL_SRCS_CC} ${WL_SRCS_H})
+
+ set (WL_SOURCES_ROOT ${CMAKE_CURRENT_SOURCE_DIR})
+ set (WL_SOURCES_BINARY_ROOT ${CMAKE_CURRENT_BINARY_DIR})
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to