summaryrefslogtreecommitdiff
path: root/games/higan/higan.SlackBuild
diff options
context:
space:
mode:
authorGabriel Magno <gabrielmagno1@gmail.com>2014-03-13 08:20:42 +0700
committerErik Hanson <erik@slackbuilds.org>2014-03-21 13:01:14 -0500
commit3e626757b35bce68e31ca25883b6dc0c77359787 (patch)
tree68f2e2ef7f6cc49510b1200e162419ba83cc8e80 /games/higan/higan.SlackBuild
parent92b93c47140a7ae97c170a3634f6298836a2bc6a (diff)
downloadslackbuilds-3e626757b35bce68e31ca25883b6dc0c77359787.tar.gz
games/higan: Updated for version 094.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/higan/higan.SlackBuild')
-rw-r--r--games/higan/higan.SlackBuild24
1 files changed, 15 insertions, 9 deletions
diff --git a/games/higan/higan.SlackBuild b/games/higan/higan.SlackBuild
index 2692f2526a..947516a35c 100644
--- a/games/higan/higan.SlackBuild
+++ b/games/higan/higan.SlackBuild
@@ -26,8 +26,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=higan
-VERSION=${VERSION:-093}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-094}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -74,7 +74,7 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
# Apply the patch to allow proper install on Slackware as root
-patch -p1 -i $CWD/higan-v093.patch
+patch -p1 -i $CWD/higan-v094.patch
# Fix building with QT >= 4.8.0.
moc -i -Iphoenix/qt/ -o phoenix/qt/platform.moc phoenix/qt/platform.moc.hpp
@@ -86,25 +86,31 @@ INTERFACE=${INTERFACE:-qt}
# Possible values for PROFILE: accuracy, balanced, and performance.
PROFILE=${PROFILE:-balanced}
+# Options to build with additional audio driver support
+OPENAL=${OPENAL:-no}
+PULSEAUDIO=${PULSEAUDIO:-no}
+
CXXFLAGS="$SLKCFLAGS" \
make \
compiler=g++ \
- cppflags="-std=gnu++11" \
+ cppflags="-std=c++11" \
prefix=/usr \
- platform=x \
+ platform=linux \
+ with_openal="$OPENAL" \
+ with_pulseaudio="$PULSEAUDIO" \
phoenix="$INTERFACE" \
profile="$PROFILE"
-make install DESTDIR=$PKG prefix=/usr platform=x profile=$PROFILE
+make install DESTDIR=$PKG prefix=/usr platform=linux profile=$PROFILE
# Compile ananke (tool to import ROM game files into the higan library).
make -C ananke \
compiler=g++ \
- cppflags="-std=gnu++11" \
- platform=x \
+ cppflags="-std=c++11" \
+ platform=linux \
phoenix="$INTERFACE" \
profile="$PROFILE"
-make -C ananke install path=$PKG/usr/lib${LIBDIRSUFFIX} platform=x
+make -C ananke install path=$PKG/usr/lib${LIBDIRSUFFIX} platform=linux
# Copy shaders
mkdir $PKG/usr/share/higan/Video\ Shaders