Thursday, March 01, 2018

Update: emulators/stella 3.9 -> 5.1.1

Hi,

Many thanks to sthen@ for the 5.0.2 patch to work with, I've updated this
to 5.1.1.

Thanks,
Tom


Index: Makefile
===================================================================
RCS file: /cvs/ports/emulators/stella/Makefile,v
retrieving revision 1.28
diff -u -p -r1.28 Makefile
--- Makefile 26 Jul 2017 22:45:20 -0000 1.28
+++ Makefile 1 Mar 2018 20:03:20 -0000
@@ -2,11 +2,11 @@

COMMENT = Atari 2600 VCS emulator

-V = 3.9
-DISTNAME = stella-${V}
-REVISION = 2
+V = 5.1.1
+DISTNAME = stella-$V
CATEGORIES = emulators
-DISTFILES = ${DISTNAME}-src.tar.gz
+EXTRACT_SUFX = -src.tar.xz
+WRKDIST = ${WRKDIR}/${DISTNAME}-src

HOMEPAGE = https://stella-emu.github.io/

@@ -15,18 +15,19 @@ MAINTAINER = Benoit Lecocq <benoit@open
# GPLv2
PERMIT_PACKAGE_CDROM = Yes

-WANTLIB = c ${COMPILER_LIBCXX} m z pthread SDL>=1.2 png
+WANTLIB = ${COMPILER_LIBCXX} c m z pthread SDL2 png

-MASTER_SITES = https://github.com/stella-emu/stella/releases/download/release-${V}/
+MASTER_SITES = https://github.com/stella-emu/stella/releases/download/$V/

-LIB_DEPENDS = devel/sdl \
+LIB_DEPENDS = devel/sdl2 \
graphics/png

CXXFLAGS += -I${X11BASE}/include -I${LOCALBASE}/include
LDFLAGS += -L${LOCALBASE}/lib

CONFIGURE_STYLE = simple
-CONFIGURE_ARGS += --disable-gl
+CONFIGURE_ARGS += --disable-gl \
+ --with-libpng-prefix=${LOCALBASE}/lib

USE_GMAKE = Yes

Index: distinfo
===================================================================
RCS file: /cvs/ports/emulators/stella/distinfo,v
retrieving revision 1.16
diff -u -p -r1.16 distinfo
--- distinfo 4 Jul 2013 12:44:29 -0000 1.16
+++ distinfo 1 Mar 2018 20:03:20 -0000
@@ -1,2 +1,2 @@
-SHA256 (stella-3.9-src.tar.gz) = nrPpOacj+jwFjMBRdlaH3AcAi4nQSaFEji3yx3MHqUE=
-SIZE (stella-3.9-src.tar.gz) = 2223230
+SHA256 (stella-5.1.1-src.tar.xz) = PeathuTogdGiM5XDbFRT64oRYNDzoCGZL+mQoAmpM9o=
+SIZE (stella-5.1.1-src.tar.xz) = 1827240
Index: patches/patch-Makefile
===================================================================
RCS file: /cvs/ports/emulators/stella/patches/patch-Makefile,v
retrieving revision 1.1
diff -u -p -r1.1 patch-Makefile
--- patches/patch-Makefile 13 May 2017 20:28:37 -0000 1.1
+++ patches/patch-Makefile 1 Mar 2018 20:03:20 -0000
@@ -1,9 +1,9 @@
-$OpenBSD: patch-Makefile,v 1.1 2017/05/13 20:28:37 espie Exp $
+$OpenBSD$

Index: Makefile
--- Makefile.orig
+++ Makefile
-@@ -142,7 +142,7 @@ CXX_UPDATE_DEP_FLAG = -Wp,-MMD,"$(*D)/$(DEPDIR)/$(*F).
+@@ -147,7 +147,7 @@ CXX_UPDATE_DEP_FLAG = -Wp,-MMD,"$(*D)/$(DEPDIR)/$(*F).

.c.o:
$(MKDIR) $(*D)/$(DEPDIR)
@@ -12,7 +12,7 @@ Index: Makefile
$(ECHO) "$(*D)/" > $(*D)/$(DEPDIR)/$(*F).d
$(CAT) "$(*D)/$(DEPDIR)/$(*F).d2" >> "$(*D)/$(DEPDIR)/$(*F).d"
$(RM) "$(*D)/$(DEPDIR)/$(*F).d2"
-@@ -157,7 +157,7 @@ else
+@@ -162,7 +162,7 @@ else

.c.o:
$(MKDIR) $(*D)/$(DEPDIR)
Index: patches/patch-configure
===================================================================
RCS file: /cvs/ports/emulators/stella/patches/patch-configure,v
retrieving revision 1.3
diff -u -p -r1.3 patch-configure
--- patches/patch-configure 4 Jul 2013 12:44:30 -0000 1.3
+++ patches/patch-configure 1 Mar 2018 20:03:20 -0000
@@ -1,7 +1,9 @@
-$OpenBSD: patch-configure,v 1.3 2013/07/04 12:44:30 benoit Exp $
---- configure.orig Wed Apr 17 17:00:32 2013
-+++ configure Thu Jul 4 11:49:38 2013
-@@ -589,7 +589,7 @@ if test "$_libpng" = auto ; then
+$OpenBSD$
+
+Index: configure
+--- configure.orig
++++ configure
+@@ -574,7 +574,7 @@ if test "$_libpng" = auto ; then
#include <png.h>
int main(void) { return printf("%s\n", PNG_HEADER_VERSION_STRING); }
EOF
@@ -9,4 +11,4 @@ $OpenBSD: patch-configure,v 1.3 2013/07/
+ cc_check $LDFLAGS $CXXFLAGS $LIBPNG_CFLAGS $LIBPNG_LIBS `pkg-config --libs libpng` && _libpng=yes
fi
if test "$_libpng" = yes ; then
- echo "$_libpng"
+ _zlib=auto
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/emulators/stella/pkg/PLIST,v
retrieving revision 1.11
diff -u -p -r1.11 PLIST
--- pkg/PLIST 4 Jul 2013 12:44:30 -0000 1.11
+++ pkg/PLIST 1 Mar 2018 20:03:20 -0000
@@ -8,6 +8,7 @@ share/doc/stella/graphics/chucky_cheese.
share/doc/stella/graphics/circuit.png
share/doc/stella/graphics/commandmenu.png
share/doc/stella/graphics/console.png
+share/doc/stella/graphics/debugger_audiotab.png
share/doc/stella/graphics/debugger_bankcomplex.png
share/doc/stella/graphics/debugger_banksimple.png
share/doc/stella/graphics/debugger_bpstatus.png
@@ -16,6 +17,9 @@ share/doc/stella/graphics/debugger_datao
share/doc/stella/graphics/debugger_globalbuttons.png
share/doc/stella/graphics/debugger_iotab.png
share/doc/stella/graphics/debugger_main.png
+share/doc/stella/graphics/debugger_options.png
+share/doc/stella/graphics/debugger_ram-dpc.png
+share/doc/stella/graphics/debugger_ram-f8sc.png
share/doc/stella/graphics/debugger_ram.png
share/doc/stella/graphics/debugger_ramsearch.png
share/doc/stella/graphics/debugger_rom.png
@@ -38,14 +42,24 @@ share/doc/stella/graphics/launcher_overr
share/doc/stella/graphics/logs.png
share/doc/stella/graphics/options.png
share/doc/stella/graphics/options_audio.png
-share/doc/stella/graphics/options_debugger.png
+share/doc/stella/graphics/options_developer.png
+share/doc/stella/graphics/options_developer_debugger.png
+share/doc/stella/graphics/options_developer_emulation.png
+share/doc/stella/graphics/options_developer_timemachine.png
+share/doc/stella/graphics/options_developer_video.png
share/doc/stella/graphics/options_gameinfo.png
-share/doc/stella/graphics/options_input.png
+share/doc/stella/graphics/options_gameinfo_console.png
+share/doc/stella/graphics/options_gameinfo_controller.png
+share/doc/stella/graphics/options_gameinfo_display.png
share/doc/stella/graphics/options_misc.png
+share/doc/stella/graphics/options_misc_classic.png
+share/doc/stella/graphics/options_misc_light.png
share/doc/stella/graphics/options_ui.png
share/doc/stella/graphics/options_video.png
+share/doc/stella/graphics/options_video_dbgcolors.png
share/doc/stella/graphics/options_video_tv.png
share/doc/stella/graphics/pacman.png
+share/doc/stella/graphics/qwertz.png
share/doc/stella/graphics/rom_browser.png
share/doc/stella/graphics/romaudit.png
share/doc/stella/graphics/rominfo_1x_large.png
@@ -54,4 +68,5 @@ share/doc/stella/graphics/rominfo_2x_sma
share/doc/stella/graphics/secret_quest.png
share/doc/stella/graphics/select_romdir.png
share/doc/stella/graphics/space_invaders.png
+share/doc/stella/graphics/timemachine.png
share/doc/stella/index.html

No comments:

Post a Comment