aboutsummaryrefslogtreecommitdiff
path: root/games/higan/higan.SlackBuild
diff options
context:
space:
mode:
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 2692f2526a992..947516a35c51f 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