games/yabause: Updated for version 0.9.12.

Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
This commit is contained in:
Larry Hajali 2013-04-23 20:47:21 -04:00 committed by Niels Horn
parent 33166156db
commit d1f066e911
4 changed files with 37 additions and 18 deletions

View file

@ -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

View file

@ -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)

View file

@ -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" \

View file

@ -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"