From 5f027f1a579e565441c2685ec5f4788e4064aad0 Mon Sep 17 00:00:00 2001 From: Dimitris Zlatanidis Date: Fri, 20 Feb 2015 12:57:01 +0200 Subject: games/openclonk: Updated for version 5.5.1. Signed-off-by: Dimitris Zlatanidis Signed-off-by: Willy Sudiarto Raharjo --- games/openclonk/CMakeLists_boost.patch | 11 ----------- games/openclonk/boost.patch | 11 +++++++++++ games/openclonk/openclonk.SlackBuild | 11 +++++------ games/openclonk/openclonk.info | 6 +++--- 4 files changed, 19 insertions(+), 20 deletions(-) delete mode 100644 games/openclonk/CMakeLists_boost.patch create mode 100644 games/openclonk/boost.patch (limited to 'games/openclonk') diff --git a/games/openclonk/CMakeLists_boost.patch b/games/openclonk/CMakeLists_boost.patch deleted file mode 100644 index 67ad837d6f..0000000000 --- a/games/openclonk/CMakeLists_boost.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- openclonk-5.4.1-src/CMakeLists.txt.original 2014-03-17 19:40:34.633722226 +0200 -+++ openclonk-5.4.1-src/CMakeLists.txt 2014-03-17 19:41:33.135990847 +0200 -@@ -1425,7 +1425,7 @@ - endif() - - if(USE_BOOST_REGEX) -- SET(Boost_USE_STATIC_LIBS ${USE_STATIC_BOOST}) -+ SET(Boost_USE_STATIC_LIBS/usr/include/boost ${USE_STATIC_BOOST}) - find_package(Boost 1.40.0 REQUIRED COMPONENTS regex) - # Disable automatic linking, we'll do it ourselves - add_definitions(-DBOOST_REGEX_NO_LIB) diff --git a/games/openclonk/boost.patch b/games/openclonk/boost.patch new file mode 100644 index 0000000000..e0ab69ba6a --- /dev/null +++ b/games/openclonk/boost.patch @@ -0,0 +1,11 @@ +--- openclonk-5.5.1/CMakeLists.orig 2015-02-20 12:19:12.760304874 +0200 ++++ openclonk-5.5.1/CMakeLists.txt 2015-02-20 12:20:39.503220438 +0200 +@@ -1347,7 +1347,7 @@ + endif() + + if(USE_BOOST_REGEX) +- SET(Boost_USE_STATIC_LIBS ${USE_STATIC_BOOST}) ++ SET(Boost_USE_STATIC_LIBS/usr/include/boost ${USE_STATIC_BOOST}) + find_package(Boost 1.40.0 REQUIRED COMPONENTS regex) + # Disable automatic linking, we'll do it ourselves + add_definitions(-DBOOST_REGEX_NO_LIB) diff --git a/games/openclonk/openclonk.SlackBuild b/games/openclonk/openclonk.SlackBuild index bcf3324139..4d76efcd17 100644 --- a/games/openclonk/openclonk.SlackBuild +++ b/games/openclonk/openclonk.SlackBuild @@ -23,8 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=openclonk -VERSION=${VERSION:-5.4.1} -SRCVER=$VERSION-src +VERSION=${VERSION:-5.5.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -60,9 +59,9 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$SRCVER -tar xvf $CWD/$PRGNAM-$SRCVER.tar.bz2 -cd $PRGNAM-$SRCVER +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/v$VERSION.tar.gz +cd $PRGNAM-$VERSION chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ @@ -70,7 +69,7 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -patch -p1 < $CWD/CMakeLists_boost.patch +patch -p1 < $CWD/boost.patch mkdir -p build cd build diff --git a/games/openclonk/openclonk.info b/games/openclonk/openclonk.info index 2d931d4068..bb002fd267 100644 --- a/games/openclonk/openclonk.info +++ b/games/openclonk/openclonk.info @@ -1,8 +1,8 @@ PRGNAM="openclonk" -VERSION="5.4.1" +VERSION="5.5.1" HOMEPAGE="http://www.openclonk.org/" -DOWNLOAD="http://www.openclonk.org/builds/release/5.4.1/openclonk-5.4.1-src.tar.bz2" -MD5SUM="551840061314eccfd7ae91e1f689167b" +DOWNLOAD="https://github.com/openclonk/openclonk/archive/v5.5.1.tar.gz" +MD5SUM="f6ea741f27327359ad425fc9fcf0cebb" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="freealut gtksourceview libupnp gtest" -- cgit v1.2.3