games/fceux: Updated for version 2.2.2.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
M.Dinslage 2013-12-05 17:46:44 +07:00 committed by Willy Sudiarto Raharjo
parent 289b5857dd
commit 9991cf2be6
3 changed files with 24 additions and 30 deletions

View File

@ -1,22 +0,0 @@
diff -up fceux/SConstruct.00 fceux/SConstruct
--- fceux/SConstruct.00 2013-01-05 01:02:40.508959444 -0600
+++ fceux/SConstruct 2013-01-05 01:05:40.071959252 -0600
@@ -22,7 +22,7 @@ opts.AddVariables(
BoolVariable('SYSTEM_LUA','Use system lua instead of static lua provided with fceux', 1),
BoolVariable('NEWPPU', 'Enable new PPU core', 1),
BoolVariable('CREATE_AVI', 'Enable avi creation support (SDL only)', 1),
- BoolVariable('LOGO', 'Enable a logoscreen when creating avis (SDL only)', 1),
+ BoolVariable('LOGO', 'Enable a logoscreen when creating avis (SDL only)', 0),
BoolVariable('GTK', 'Enable GTK2 GUI (SDL only)', 1),
BoolVariable('GTK3', 'Enable GTK3 GUI (SDL only)', 0),
BoolVariable('CLANG', 'Compile with llvm-clang instead of gcc', 0)
@@ -100,6 +100,9 @@ else:
env.ParseConfig('pkg-config --cflags --libs gtk+-3.0')
env.Append(CPPDEFINES=["_GTK3"])
env.Append(CCFLAGS = ["-D_GTK"])
+ env.Append(LIBS =["-lz"])
+ env.Append(LIBS =["-ldl"])
+ env.Append(LIBS =["-lX11"])
### Lua platform defines
### Applies to all files even though only lua needs it, but should be ok

View File

@ -2,10 +2,29 @@
# Slackware build script for fceux
# Written by M.Dinslage (daedra1980@gmail.com)
# Copyright 2013 Matt Dinslage (daedra1980@gmail.com), Springfield, MO, USA
# 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=fceux
VERSION=${VERSION:-2.2.1}
VERSION=${VERSION:-2.2.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -51,9 +70,6 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
# Fix underlinking and disable debug with a patch
patch -p1 < $CWD/fceux-2.2.0-underlink.patch
# Default prefix is /usr, set our CFLAGS
sed -i \
-e "s|/local||" \

View File

@ -1,8 +1,8 @@
PRGNAM="fceux"
VERSION="2.2.1"
VERSION="2.2.2"
HOMEPAGE="http://fceux.com/web/home.html"
DOWNLOAD="http://downloads.sourceforge.net/fceultra/fceux-2.2.1.src.tar.gz"
MD5SUM="696d0186afb17f3b70d4aa9e9f5cf1d1"
DOWNLOAD="http://downloads.sourceforge.net/fceultra/fceux-2.2.2.src.tar.gz"
MD5SUM="eb6b01218f56fc28cb31b3a836b65918"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="lua scons"