mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-18 22:06:04 +01:00
games/dustrac: Updated for version 1.11.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
de2474de31
commit
9116aa15d5
3 changed files with 11 additions and 27 deletions
|
@ -2,8 +2,3 @@ Dust Racing (Dustrac) is a tile-based, cross-platform 2D racing game written in
|
|||
Qt (C++) and OpenGL. Dust Racing comes with a Qt-based level editor for easy
|
||||
level creation. A custom engine, MiniCore, is used for physics modeling. Dust
|
||||
Racing 2D is inspired by Super Cars and Slicks'n Slide.
|
||||
|
||||
If you'd like to build against the optional dependency qt5 then run the
|
||||
slackbuild with USEQT5=yes, like
|
||||
|
||||
USEQT5=yes ./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}
|
||||
|
||||
|
@ -69,25 +69,14 @@ find -L . \
|
|||
\( -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
|
||||
|
||||
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 \
|
||||
.
|
||||
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
PRGNAM="dustrac"
|
||||
VERSION="1.7.3"
|
||||
VERSION="1.11.0"
|
||||
HOMEPAGE="http://dustrac.sourceforge.net"
|
||||
DOWNLOAD="http://downloads.sourceforge.net/dustrac/dustrac-1.7.3.tar.gz"
|
||||
MD5SUM="0a0e8f01db34b5b27d8137245d0c6821"
|
||||
DOWNLOAD="https://github.com/juzzlin/DustRacing2D/releases/download/1.11.0/dustrac-1.11.0.tar.gz"
|
||||
MD5SUM="bac37f501a6fbc17307ad6ce223ddb60"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES="OpenAL"
|
||||
REQUIRES="OpenAL qt5"
|
||||
MAINTAINER="Larry Hajali"
|
||||
EMAIL="larryhaja[at]gmail[dot]com"
|
||||
|
|
Loading…
Reference in a new issue