From b987dc90f388cf8742a658a912d2d3b783be066c Mon Sep 17 00:00:00 2001 From: David Spencer Date: Wed, 20 Jan 2016 00:35:07 +0000 Subject: libraries/SFGUI: Updated for version 0.3.0. Fixes build failure with SFML-2.3. Signed-off-by: David Spencer --- libraries/SFGUI/SFGUI.SlackBuild | 10 ++++++---- libraries/SFGUI/SFGUI.info | 6 +++--- 2 files changed, 9 insertions(+), 7 deletions(-) (limited to 'libraries/SFGUI') diff --git a/libraries/SFGUI/SFGUI.SlackBuild b/libraries/SFGUI/SFGUI.SlackBuild index 2f13a2953c..4d1707634a 100644 --- a/libraries/SFGUI/SFGUI.SlackBuild +++ b/libraries/SFGUI/SFGUI.SlackBuild @@ -10,7 +10,7 @@ # without any warranty. PRGNAM=SFGUI -VERSION=${VERSION:-0.2.3} +VERSION=${VERSION:-0.3.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -47,7 +47,7 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -unzip $CWD/$PRGNAM-$VERSION-source.zip +unzip $CWD/$PRGNAM-$VERSION.zip || unzip $CWD/$VERSION.zip cd $PRGNAM-$VERSION chown -R root:root . find -L . \ @@ -65,8 +65,10 @@ cd build -DCMAKE_BUILD_TYPE=Release .. # -DLIB_SUFFIX is ignored. Patch CMakeLists as needed. - sed -i 's%/lib/%/lib64/%g' cmake_install.cmake || exit - sed -i 's%/lib"%/lib64/"%g' cmake_install.cmake || exit + sed -i \ + -e "s:\\\${CMAKE_INSTALL_PREFIX}/lib:&${LIBDIRSUFFIX}:" \ + cmake_install.cmake + make make install DESTDIR=$PKG cd .. diff --git a/libraries/SFGUI/SFGUI.info b/libraries/SFGUI/SFGUI.info index b72639e4eb..5caf3c14b3 100644 --- a/libraries/SFGUI/SFGUI.info +++ b/libraries/SFGUI/SFGUI.info @@ -1,8 +1,8 @@ PRGNAM="SFGUI" -VERSION="0.2.3" +VERSION="0.3.0" HOMEPAGE="http://sfgui.sfml-dev.de/p/" -DOWNLOAD="http://sfgui.sfml-dev.de/public_root/downloads/SFGUI-0.2.3-source.zip" -MD5SUM="93934fb0bea9723b6e3f7468ad6c6f95" +DOWNLOAD="https://github.com/TankOs/SFGUI/archive/0.3.0.zip" +MD5SUM="9e704175dca7c8632e9f72a321c21e25" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="SFML" -- cgit v1.2.3