libraries/SFGUI: Updated for version d37b377.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
klaatu 2022-03-09 10:08:44 +13:00 committed by Willy Sudiarto Raharjo
parent acd3489be7
commit a411dbf1c9
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
2 changed files with 8 additions and 7 deletions

View File

@ -1,7 +1,7 @@
#!/bin/bash
#
# Slackware build script for SFGUI
# Copyright 2014 klaatu@member.fsf.org
# Copyright 2014-22 klaatu@member.fsf.org
#
# GNU All-Permissive License
# Copying and distribution of this file, with or without modification,
@ -12,7 +12,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=SFGUI
VERSION=${VERSION:-0.4.0}
VERSION=${VERSION:-d37b377}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -57,7 +57,9 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
mkdir $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz --strip-components=1 \
-C $PRGNAM-$VERSION
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@ -71,7 +73,6 @@ sed -i '/#include <SFML\/Window\/Event.hpp>/a #include <limits>' src/SFGUI/Combo
mkdir -p build
cd build
cmake \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DLIB_SUFFIX="$LIBDIRSUFFIX" \

View File

@ -1,8 +1,8 @@
PRGNAM="SFGUI"
VERSION="0.4.0"
VERSION="d37b377"
HOMEPAGE="https://github.com/TankOs/SFGUI"
DOWNLOAD="https://github.com/TankOs/SFGUI/archive/0.4.0/SFGUI-0.4.0.tar.gz"
MD5SUM="16d4784fbdba30583a6c4fd38c27b323"
DOWNLOAD="https://github.com/TankOs/SFGUI/archive/d37b377/SFGUI-d37b377.tar.gz"
MD5SUM="5a4ff4f7be29a2a5f399ccdfa9957427"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="SFML"