summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorLarry Hajali <larryhaja[at]gmail[dot]com>2013-04-23 20:47:21 -0400
committerNiels Horn <niels.horn@slackbuilds.org>2013-04-28 12:28:19 -0300
commitd1f066e911f88bf3a418f476593a92a48b30e424 (patch)
treea65be6dfc1ef95b92c8b4078a940be7d895e1644 /games
parent33166156dbc0b9bf06a150e8098d768a0210c665 (diff)
downloadslackbuilds-d1f066e911f88bf3a418f476593a92a48b30e424.tar.gz
games/yabause: Updated for version 0.9.12.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'games')
-rw-r--r--games/yabause/README6
-rw-r--r--games/yabause/slack-desc10
-rw-r--r--games/yabause/yabause.SlackBuild31
-rw-r--r--games/yabause/yabause.info8
4 files changed, 37 insertions, 18 deletions
diff --git a/games/yabause/README b/games/yabause/README
index 0910ece81d..93591ea128 100644
--- a/games/yabause/README
+++ b/games/yabause/README
@@ -9,11 +9,11 @@ Yabause is a Sega Saturn emulator. It has the following features:
* joystick support
* region select
-mini18n and OpenAL, as well as mini18n (for translation support) are
-optional dependencies.
+gtkglext, mini18n and OpenAL are optional dependencies.
By default the QT version of yabause is built. To use the GTK
-version then pass USE_GUI=gtk to the slackbuild.
+version, first install gtkglext then pass USE_GUI=gtk to the
+slackbuild.
USE_GUI=gtk ./yabause.SlackBuild
diff --git a/games/yabause/slack-desc b/games/yabause/slack-desc
index e1b3493e6a..4b11537647 100644
--- a/games/yabause/slack-desc
+++ b/games/yabause/slack-desc
@@ -1,9 +1,9 @@
# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description. Line
-# up the first '|' above the ':' following the base package name, and the '|' on
-# the right side marks the last column you can put a character in. You must make
-# exactly 11 lines for the formatting to be correct. It's also customary to
-# leave one space after the ':'.
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
yabause: yabause (Sega Saturn emulator)
diff --git a/games/yabause/yabause.SlackBuild b/games/yabause/yabause.SlackBuild
index 5ee718adac..90c7637092 100644
--- a/games/yabause/yabause.SlackBuild
+++ b/games/yabause/yabause.SlackBuild
@@ -2,10 +2,28 @@
# Slackware build script for yabause
-# Written by Larry Hajali <larryhaja[at]gmail[dot]com>
+# Copyright 2011-2013 Larry Hajali <larryhaja[at]gmail[dot]com>
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=yabause
-VERSION=${VERSION:-0.9.11}
+VERSION=${VERSION:-0.9.12}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -54,13 +72,14 @@ find . \
# Variable to determine gtk/qt interface. Default is qt.
USE_GUI=${USE_GUI:-qt}
-# Fix location of man file and use SLKCFLAGS.
-sed -i 's|share/man|man|' src/${USE_GUI}/CMakeLists.txt
-sed -i "s|-O3|$SLKCFLAGS|" src/CMakeLists.txt
+# Fix location of man file.
+sed -i 's|share/man|man|' src/CMakeLists.txt
+# Fix hard linked lib directory for gtkglext detection.
+sed -i "s|lib/|lib${LIBDIRSUFFIX}/|" src/gtk/CMakeLists.txt
mkdir build
cd build
- cmake "Unix Makefiles" \
+ cmake -G "Unix Makefiles" \
-DCMAKE_INSTALL_PREFIX:PATH=/usr \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
diff --git a/games/yabause/yabause.info b/games/yabause/yabause.info
index 2e2b7fa70e..f1264c3e2b 100644
--- a/games/yabause/yabause.info
+++ b/games/yabause/yabause.info
@@ -1,10 +1,10 @@
PRGNAM="yabause"
-VERSION="0.9.11"
+VERSION="0.9.12"
HOMEPAGE="http://yabause.org/"
-DOWNLOAD="http://downloads.sourceforge.net/yabause/yabause-0.9.11.tar.gz"
-MD5SUM="b0c70080b07db3b709f252b9988701b5"
+DOWNLOAD="http://downloads.sourceforge.net/yabause/yabause-0.9.12.tar.gz"
+MD5SUM="c7876c04489f8a1b59b3166598084cb8"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="gtkglext"
+REQUIRES=""
MAINTAINER="Larry Hajali"
EMAIL="larryhaja[at]gmail[dot]com"