summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"