Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=ryuotesting8.git;a=commitdiff;h=7cc214e28876719f1c5e52e3368f0c60cb92e8f3
commit 7cc214e28876719f1c5e52e3368f0c60cb92e8f3 Author: James Buren <[email protected]> Date: Thu Nov 29 04:17:39 2012 -0600 widelands-build17-5-x86_64 * rebuild with libboost * convert to using shared libboost diff --git a/source/games-extra/widelands/FrugalBuild b/source/games-extra/widelands/FrugalBuild index 5dff9c3..571f275 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' 'doxygen') +depends=('ggz-client-libs' 'glew' 'sdl' 'sdl_mixer' 'sdlimage' 'sdl_net' 'sdl_ttf' 'sdl_gfx>=2.0.24' 'lua' 'zlib' 'libboost>=1.51.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 boost.patch) +sha1sums=('0ac6e1a1e6a5ba8cdd01c3f70e4c391ae9186ff1' \ + 'a11dd6f2130830dfbe196a150c08534660fedc86') 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/boost.patch b/source/games-extra/widelands/boost.patch new file mode 100644 index 0000000..a1f775d --- /dev/null +++ b/source/games-extra/widelands/boost.patch @@ -0,0 +1,12 @@ +diff -ur a/CMakeLists.txt b/CMakeLists.txt +--- a/CMakeLists.txt 2012-04-23 04:46:49.000000000 -0500 ++++ b/CMakeLists.txt 2012-11-29 04:07:52.308420180 -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) _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
