summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--games/fceux/enable-recording.patch12
-rw-r--r--games/fceux/fceux-2.1.5-underlink.patch22
-rw-r--r--games/fceux/fceux.SlackBuild10
-rw-r--r--games/fceux/fceux.info8
4 files changed, 31 insertions, 21 deletions
diff --git a/games/fceux/enable-recording.patch b/games/fceux/enable-recording.patch
deleted file mode 100644
index 9f27f5fbef..0000000000
--- a/games/fceux/enable-recording.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -up fceu2.1.4a/SConstruct.00 fceu2.1.4a/SConstruct
---- fceu2.1.4a/SConstruct.00 2010-06-05 20:53:37.621706694 -0700
-+++ fceu2.1.4a/SConstruct 2010-06-05 20:53:51.370717520 -0700
-@@ -10,7 +10,7 @@ opts.AddVariables(
- BoolVariable('DEBUG', 'Build with debugging symbols', 1),
- BoolVariable('LUA', 'Enable Lua support', 1),
- BoolVariable('NEWPPU', 'Enable new PPU core', 1),
-- BoolVariable('CREATE_AVI', 'Enable avi creation support (SDL only)', 0),
-+ BoolVariable('CREATE_AVI', 'Enable avi creation support (SDL only)', 1),
- BoolVariable('LOGO', 'Enable a logoscreen when creating avis (SDL only)', '1'),
- BoolVariable('GTK', 'Enable GTK2 GUI (SDL only)', 1),
- BoolVariable('GTK_LITE', 'Enable GTK2 for dialogs only', 0)
diff --git a/games/fceux/fceux-2.1.5-underlink.patch b/games/fceux/fceux-2.1.5-underlink.patch
new file mode 100644
index 0000000000..0a09440838
--- /dev/null
+++ b/games/fceux/fceux-2.1.5-underlink.patch
@@ -0,0 +1,22 @@
+diff -up fceu2.1.5/SConstruct.00 fceu2.1.5/SConstruct
+--- fceu2.1.5/SConstruct.00 2011-06-11 08:32:32.807001855 -0700
++++ fceu2.1.5/SConstruct 2011-06-11 08:33:05.347001851 -0700
+@@ -11,7 +11,7 @@ opts.AddVariables(
+ BoolVariable('LUA', 'Enable Lua support', 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 (BROKEN/EXPERIMENTAL)', 0),
+ )
+@@ -70,6 +70,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"])
++
+ ### Lua platform defines
+ ### Applies to all files even though only lua needs it, but should be ok
+ if env['LUA']:
diff --git a/games/fceux/fceux.SlackBuild b/games/fceux/fceux.SlackBuild
index 5458d8fa1d..fe285aac5a 100644
--- a/games/fceux/fceux.SlackBuild
+++ b/games/fceux/fceux.SlackBuild
@@ -5,8 +5,8 @@
# Written by M.Dinslage (daedra1980@gmail.com)
PRGNAM=fceux
-VERSION=${VERSION:-2.1.4a}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-2.1.5}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -44,7 +44,7 @@ cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.src.tar.bz2
cd fceu$VERSION
-patch -p1 < $CWD/enable-recording.patch
+patch -p1 < $CWD/fceux-2.1.5-underlink.patch
chown -R root:root .
find . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
@@ -54,7 +54,7 @@ find . \
scons
-#Dont use scons install, we'll take care of install ourselves
+#Install binary
mkdir -p $PKG/usr/games
install -m 0755 bin/fceux $PKG/usr/games
@@ -70,7 +70,7 @@ for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; r
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- bin/fceux.chm COPYING INSTALL NEWS README-SDL TODO-PROJECT \
+ bin/fceux.chm COPYING INSTALL README-SDL TODO-PROJECT \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/games/fceux/fceux.info b/games/fceux/fceux.info
index 1a28a6bfb9..b9346f39c4 100644
--- a/games/fceux/fceux.info
+++ b/games/fceux/fceux.info
@@ -1,10 +1,10 @@
PRGNAM="fceux"
-VERSION="2.1.4a"
+VERSION="2.1.5"
HOMEPAGE="http://fceux.com/web/home.html"
-DOWNLOAD="http://downloads.sourceforge.net/fceultra/fceux-2.1.4a.src.tar.bz2"
-MD5SUM="a1252a888cdc8b2c42ae031211f2fad6"
+DOWNLOAD="http://downloads.sourceforge.net/fceultra/fceux-2.1.5.src.tar.bz2"
+MD5SUM="e8b20e62bbbb061b1a59d51b47c827bd"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="M.Dinslage"
EMAIL="daedra1980@gmail.com"
-APPROVED="Erik Hanson,Niels Horn"
+APPROVED="dsomero"