mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-18 22:06:04 +01:00
games/fceux: Updated for version 2.1.5.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
This commit is contained in:
parent
dbe994aba1
commit
2af8007e4b
4 changed files with 31 additions and 21 deletions
|
@ -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)
|
22
games/fceux/fceux-2.1.5-underlink.patch
Normal file
22
games/fceux/fceux-2.1.5-underlink.patch
Normal file
|
@ -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']:
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue