diff options
author | Larry Hajali <larryhaja[at]gmail[dot]com> | 2015-05-09 13:34:56 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2015-05-09 13:34:56 +0700 |
commit | 9116aa15d557351601536309b2c34669f1f0ce63 (patch) | |
tree | 178c78520e7d71210d32e64f4fec7f99a1f5bd84 /games/dustrac/dustrac.SlackBuild | |
parent | de2474de319d1595dfe101811239b74a08dc2b0a (diff) | |
download | slackbuilds-9116aa15d557351601536309b2c34669f1f0ce63.tar.gz |
games/dustrac: Updated for version 1.11.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/dustrac/dustrac.SlackBuild')
-rw-r--r-- | games/dustrac/dustrac.SlackBuild | 25 |
1 files changed, 7 insertions, 18 deletions
diff --git a/games/dustrac/dustrac.SlackBuild b/games/dustrac/dustrac.SlackBuild index ab71d9920d..54fca85170 100644 --- a/games/dustrac/dustrac.SlackBuild +++ b/games/dustrac/dustrac.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for dustrac -# Copyright 2013-2014 Larry Hajali <larryhaja[at]gmail[dot]com> +# Copyright 2013-2015 Larry Hajali <larryhaja[at]gmail[dot]com> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=dustrac -VERSION=${VERSION:-1.7.3} +VERSION=${VERSION:-1.11.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -65,29 +65,18 @@ cd $PRGNAM-$VERSION chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ - -o -perm 511 \) -exec chmod 755 {} \; -o \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; - -# Fix .desktop item -sed -i '/^Categories/s|.*|&;|' src/*.in - -# Determine if we use Qt5. Default is Qt4. -if [ "${USEQT5:-no}" == "yes" ]; then - QT5GUI="ON" -else - QT5GUI="OFF" -fi + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; cmake -G "Unix Makefiles" \ -DCMAKE_INSTALL_PREFIX:PATH="/usr" \ - -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ - -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS -I/usr/include/qt5/QtGui" \ + -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS -I/usr/include/qt5/QtGui" \ -DBIN_PATH="games" \ -DDATA_PATH="/usr/share/$PRGNAM" \ -DDOC_PATH:PATH="/usr/doc/$PRGNAM-$VERSION" \ - -DUseQt5:BOOL="$QT5GUI" \ - -DGL30:BOOL=ON \ + -DNO_GLEW:BOOL=OFF \ -DReleaseBuild:BOOL=ON \ . |