aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorklaatu <klaatu@member.fsf.org>2022-03-09 10:08:44 +1300
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-03-09 09:14:49 +0700
commita411dbf1c9a7920806b6d1b0e39eb78d4827ec80 (patch)
treea1e3ee9fa7444f57a3235b1e96450f691efe0693
parentacd3489be7b3dc734e2ed62cf1f6dce6107b6f24 (diff)
libraries/SFGUI: Updated for version d37b377.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--libraries/SFGUI/SFGUI.SlackBuild9
-rw-r--r--libraries/SFGUI/SFGUI.info6
2 files changed, 8 insertions, 7 deletions
diff --git a/libraries/SFGUI/SFGUI.SlackBuild b/libraries/SFGUI/SFGUI.SlackBuild
index 327a3e856fc9..ae3d1cfdf30e 100644
--- a/libraries/SFGUI/SFGUI.SlackBuild
+++ b/libraries/SFGUI/SFGUI.SlackBuild
@@ -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" \
diff --git a/libraries/SFGUI/SFGUI.info b/libraries/SFGUI/SFGUI.info
index 008223a196e7..b306ce5cc014 100644
--- a/libraries/SFGUI/SFGUI.info
+++ b/libraries/SFGUI/SFGUI.info
@@ -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"