From 9991cf2be689c20a9b3a905e1bce82d3ff308a4a Mon Sep 17 00:00:00 2001 From: "M.Dinslage" Date: Thu, 5 Dec 2013 17:46:44 +0700 Subject: [PATCH] games/fceux: Updated for version 2.2.2. Signed-off-by: Willy Sudiarto Raharjo --- games/fceux/fceux-2.2.0-underlink.patch | 22 --------------------- games/fceux/fceux.SlackBuild | 26 ++++++++++++++++++++----- games/fceux/fceux.info | 6 +++--- 3 files changed, 24 insertions(+), 30 deletions(-) delete mode 100644 games/fceux/fceux-2.2.0-underlink.patch diff --git a/games/fceux/fceux-2.2.0-underlink.patch b/games/fceux/fceux-2.2.0-underlink.patch deleted file mode 100644 index bdd25d3227..0000000000 --- a/games/fceux/fceux-2.2.0-underlink.patch +++ /dev/null @@ -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 diff --git a/games/fceux/fceux.SlackBuild b/games/fceux/fceux.SlackBuild index 57551803e9..f45d4d9f32 100644 --- a/games/fceux/fceux.SlackBuild +++ b/games/fceux/fceux.SlackBuild @@ -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||" \ diff --git a/games/fceux/fceux.info b/games/fceux/fceux.info index 837f46db2e..99b5e97ee8 100644 --- a/games/fceux/fceux.info +++ b/games/fceux/fceux.info @@ -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"