aboutsummaryrefslogtreecommitdiff
path: root/games/nestopia
diff options
context:
space:
mode:
authorDugan Chen <thedoogster@gmail.com>2014-03-24 13:44:56 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-03-24 13:44:56 +0700
commit4d04310d8d9932c64d02ba70ba1302ca9d26b228 (patch)
tree2a05fd9b895c625bdc08b927ca78cf6b1947b1ce /games/nestopia
parenteaab8286169b24f850898931b558e6e2222325b5 (diff)
games/nestopia: Updated for version 1.45.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/nestopia')
-rw-r--r--games/nestopia/Makefile.patch41
-rw-r--r--games/nestopia/nestopia.SlackBuild4
-rw-r--r--games/nestopia/nestopia.info6
3 files changed, 8 insertions, 43 deletions
diff --git a/games/nestopia/Makefile.patch b/games/nestopia/Makefile.patch
index 6f4920699b52e..26bf7391d2e3f 100644
--- a/games/nestopia/Makefile.patch
+++ b/games/nestopia/Makefile.patch
@@ -1,41 +1,6 @@
---- Makefile.old 2013-02-12 20:16:28.270982024 -0800
-+++ Makefile 2013-02-12 20:30:14.685976331 -0800
-@@ -6,8 +6,8 @@
-
- CC = @gcc
- CXX = @g++
--CFLAGS ?= -O3 -g3
--CXXFLAGS ?= -O3 -g3
-+CFLAGS ?= -g3 -O3 -fPIC
-+CXXFLAGS ?= -g3 -O3 -fPIC
- CPPFLAGS += -DNST_PRAGMA_ONCE_SUPPORT -D_SZ_ONE_DIRECTORY
- CPPFLAGS += -Isource -Isource/core -Isource/zlib -Isource/core/api -Isource/core/board -Isource/core/input -Isource/unix/unzip
- CPPFLAGS += -Isource/core/vssystem -Isource/unix -Isource/nes_ntsc -I.. -I../nes_ntsc -Isource/unix/7zip
-@@ -48,12 +48,12 @@
- CPPFLAGS += -DDATADIR=\"$(DATADIR)\"
-
- # Linux objs
--OBJS = objs/unix/main.o objs/unix/oss.o objs/unix/interface.o objs/unix/settings.o
-+OBJS = objs/unix/main.o objs/unix/oss.o objs/unix/interface.o objs/unix/settings.o
- OBJS += objs/unix/auxio.o objs/unix/input.o objs/unix/kentry.o objs/unix/controlconfig.o objs/unix/cheats.o
- OBJS += objs/unix/seffect.o objs/unix/uihelp.o
-
- # 7-zip decoder (from LZMA SDK 4.58 beta)
--OBJS += objs/unix/7zip/7zAlloc.o objs/unix/7zip/7zBuf.o objs/unix/7zip/7zCrc.o objs/unix/7zip/7zDecode.o objs/unix/7zip/7zExtract.o
-+OBJS += objs/unix/7zip/7zAlloc.o objs/unix/7zip/7zBuf.o objs/unix/7zip/7zCrc.o objs/unix/7zip/7zDecode.o objs/unix/7zip/7zExtract.o
- OBJS += objs/unix/7zip/7zHeader.o objs/unix/7zip/7zIn.o objs/unix/7zip/7zItem.o objs/unix/7zip/LzmaDec.o
- OBJS += objs/unix/7zip/Alloc.o objs/unix/7zip/Bcj2.o objs/unix/7zip/Bra.o objs/unix/7zip/Bra86.o objs/unix/7zip/BraIA64.o
-
-@@ -164,7 +164,7 @@
- OBJS += objs/core/vssystem/NstVsRbiBaseball.o objs/core/vssystem/NstVsSuperXevious.o objs/core/vssystem/NstVsSystem.o objs/core/vssystem/NstVsTkoBoxing.o
-
- # object dirs
--OBJDIRS = objs objs/core objs/core/api objs/core/board objs/core/input objs/core/vssystem objs/nes_ntsc
-+OBJDIRS = objs objs/core objs/core/api objs/core/board objs/core/input objs/core/vssystem objs/nes_ntsc
- OBJDIRS += objs/unix objs/unix/7zip objs/unix/unzip
-
- # build rules
-@@ -191,14 +191,13 @@
+--- Makefile.orig 2013-07-29 16:43:11.000000000 -0700
++++ Makefile 2014-03-23 23:09:17.353715034 -0700
+@@ -181,14 +181,13 @@
install:
mkdir -p $(DATADIR)/icons
diff --git a/games/nestopia/nestopia.SlackBuild b/games/nestopia/nestopia.SlackBuild
index 6a9649869e01c..b341ab41541b8 100644
--- a/games/nestopia/nestopia.SlackBuild
+++ b/games/nestopia/nestopia.SlackBuild
@@ -5,7 +5,7 @@
# Written by Dugan Chen (thedoogster@gmail.com)
PRGNAM=nestopia
-VERSION=${VERSION:-1.44}
+VERSION=${VERSION:-1.45}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -46,7 +46,7 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.t?z*
cd $PRGNAM-$VERSION
-#chown -R root:root .
+chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
-exec chmod 755 {} \; -o \
diff --git a/games/nestopia/nestopia.info b/games/nestopia/nestopia.info
index 573705ed01edf..739c5c3203afa 100644
--- a/games/nestopia/nestopia.info
+++ b/games/nestopia/nestopia.info
@@ -1,8 +1,8 @@
PRGNAM="nestopia"
-VERSION="1.44"
+VERSION="1.45"
HOMEPAGE="http://0ldsk00l.ca/nestopia.html"
-DOWNLOAD="http://downloads.sourceforge.net/project/nestopiaue/1.44/nestopia-1.44.tgz"
-MD5SUM="5ab9dcca6c1a667bbef7edd626bd08c9"
+DOWNLOAD="http://downloads.sourceforge.net/project/nestopiaue/1.45/nestopia-1.45.tgz"
+MD5SUM="efef045895b8eaa78ed537dbb17c04f7"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""