summaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
authorDimitris Zlatanidis <d.zlatanidis@gmail.com>2019-02-13 19:56:55 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-02-17 21:56:33 +0700
commit21ff674337776fc2b0efecb153138ac056ac2b58 (patch)
tree1960e69b56a2fdef8485e987ead1478a2845cde2 /libraries
parent21e4b07190b5d559a369e3ce6d09bf06338712d1 (diff)
downloadslackbuilds-21ff674337776fc2b0efecb153138ac056ac2b58.tar.gz
libraries/SFML: Updated for version 2.5.1.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
Diffstat (limited to 'libraries')
-rw-r--r--libraries/SFML/SFML.SlackBuild12
-rw-r--r--libraries/SFML/SFML.info6
2 files changed, 6 insertions, 12 deletions
diff --git a/libraries/SFML/SFML.SlackBuild b/libraries/SFML/SFML.SlackBuild
index bafd1311b9..043952bc9e 100644
--- a/libraries/SFML/SFML.SlackBuild
+++ b/libraries/SFML/SFML.SlackBuild
@@ -2,8 +2,8 @@
# Slackware build script for SFML
+# Copyright 2014-2019 Dimitris Zlatanidis Orestiada, Greece
# Written by Pawel Standowicz (standek@gmail.com)
-# Copyright 2014-2017 Dimitris Zlatanidis Orestiada, Greece
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,7 +24,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=SFML
-VERSION=${VERSION:-2.4.2}
+VERSION=${VERSION:-2.5.1}
BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
@@ -86,14 +86,8 @@ cd ..
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-# a cmake module from SFML is needed for SFGUI to build
-# but it is not installed by default for some reason
-CMAKEMODPATH=$(dirname `find /usr/share/ -type f -name "CMake.cmake"`)
-mkdir -p ${PKG}${CMAKEMODPATH}
-mv ${PKG}/usr/share/$PRGNAM/cmake/Modules/FindSFML.cmake ${PKG}${CMAKEMODPATH}/FindSFML.cmake
-
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a license.txt readme.txt $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a *.md $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/libraries/SFML/SFML.info b/libraries/SFML/SFML.info
index 280ec9e94e..47ef79658b 100644
--- a/libraries/SFML/SFML.info
+++ b/libraries/SFML/SFML.info
@@ -1,8 +1,8 @@
PRGNAM="SFML"
-VERSION="2.4.2"
+VERSION="2.5.1"
HOMEPAGE="https://www.sfml-dev.org/"
-DOWNLOAD="https://www.sfml-dev.org/files/SFML-2.4.2-sources.zip"
-MD5SUM="0c04d339aee57c08097ba45a66b870ed"
+DOWNLOAD="https://www.sfml-dev.org/files/SFML-2.5.1-sources.zip"
+MD5SUM="8533b22888102b4f0883311385fb1c71"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="OpenAL"