From 3e626757b35bce68e31ca25883b6dc0c77359787 Mon Sep 17 00:00:00 2001 From: Gabriel Magno Date: Thu, 13 Mar 2014 08:20:42 +0700 Subject: games/higan: Updated for version 094. Signed-off-by: Willy Sudiarto Raharjo --- games/higan/higan.SlackBuild | 24 +++++++++++++++--------- 1 file changed, 15 insertions(+), 9 deletions(-) (limited to 'games/higan/higan.SlackBuild') diff --git a/games/higan/higan.SlackBuild b/games/higan/higan.SlackBuild index 2692f2526a99..947516a35c51 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 -- cgit v1.2.3