mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
libraries/SFML: Updated for version 2.5.1.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
This commit is contained in:
parent
21e4b07190
commit
21ff674337
2 changed files with 6 additions and 12 deletions
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue