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

commit ac5a10efc66afbbcaa52cb6f99b899219e490672
Author: kikadf <[email protected]>
Date:   Sun Feb 23 17:30:03 2014 +0100

widelands-build18-1-x86_64

* Version bump

diff --git a/source/games-extra/widelands/FrugalBuild 
b/source/games-extra/widelands/FrugalBuild
index 3f7cc5e..2e13638 100644
--- a/source/games-extra/widelands/FrugalBuild
+++ b/source/games-extra/widelands/FrugalBuild
@@ -1,9 +1,11 @@
-# Maintainer: kikadf <[email protected]>
# Compiling Time: 6.83 SBU
+# Maintainer: kikadf <[email protected]>
+
+options+=('asneeded')

pkgname=widelands
-pkgver=build17
-pkgrel=6
+pkgver=build18
+pkgrel=1
pkgdesc="Widelands is an open source real-time strategy game."
url="http://wl.widelands.org/";
_F_cd_path="$pkgname-$pkgver-src"
@@ -16,9 +18,10 @@ depends=('ggz-client-libs' 'glew' 'sdl' 'sdl_mixer' 
'sdlimage' 'sdl_net' 'sdl_tt
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
 shared.patch)
-sha1sums=('0ac6e1a1e6a5ba8cdd01c3f70e4c391ae9186ff1' \
-          'b7df3755e2011a28210cbd56670f0af6ffa40ae2')
+source=(http://launchpad.net/widelands/$pkgver/build-18/+download/$pkgname-$pkgver-src.tar.bz2
 \
+        shared.patch)
+sha1sums=('369d765671bcbf1d7156c1ed0f914ceec0e814bb' \
+          'c157dd721161b1e6c3755ada26a4373c8d3c6c17')


build()
diff --git a/source/games-extra/widelands/shared.patch 
b/source/games-extra/widelands/shared.patch
index 6e458d9..d350414 100644
--- a/source/games-extra/widelands/shared.patch
+++ b/source/games-extra/widelands/shared.patch
@@ -1,24 +1,28 @@
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)
+--- a/CMakeLists.txt   2014-02-22 10:06:51.000000000 +0100
++++ b/CMakeLists.txt   2014-02-23 16:53:27.054141998 +0100
+@@ -108,9 +108,9 @@
+ if (WL_UNIT_TESTS)
+   message(STATUS "Enabled unit tests")
+   if (DEFINED MSVC)
+-    set (BUILD_SHARED_LIBS OFF)
+-      set (Boost_USE_STATIC_RUNTIME ON)
+-      set (Boost_USE_STATIC_LIBS ON)
++    set (BUILD_SHARED_LIBS ON)
++      set (Boost_USE_STATIC_RUNTIME OFF)
++      set (Boost_USE_STATIC_LIBS OFF)
+   else (DEFINED MSVC)
+     set (Boost_USE_STATIC_LIBS  OFF)
+   endif (DEFINED MSVC)
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
+--- a/src/CMakeLists.txt       2014-02-22 10:06:51.000000000 +0100
++++ b/src/CMakeLists.txt       2014-02-23 16:53:48.993141075 +0100
@@ -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})
+   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