- update stella to 3.2

ok benoit@ (MAINTAINER)
This commit is contained in:
jasper 2010-08-25 10:13:33 +00:00
parent f43dae90ae
commit aada3cb869
4 changed files with 27 additions and 11 deletions

View File

@ -1,8 +1,8 @@
# $OpenBSD: Makefile,v 1.13 2009/09/28 09:18:08 benoit Exp $
# $OpenBSD: Makefile,v 1.14 2010/08/25 10:13:33 jasper Exp $
COMMENT = Atari 2600 VCS emulator
DISTNAME = stella-3.0
DISTNAME = stella-3.2
CATEGORIES = emulators
DISTFILES = ${DISTNAME}-src.tar.gz
@ -16,14 +16,16 @@ PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
WANTLIB = c stdc++ m z pthread
WANTLIB = c stdc++ m z pthread SDL.>=1.2 png
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=stella/}
LIB_DEPENDS = SDL.>=1.2::devel/sdl
LIB_DEPENDS = ::devel/sdl \
::graphics/png
CXXFLAGS += -I${LOCALBASE}/include/libpng \
-I${X11BASE}/include
-I${X11BASE}/include \
-L${LOCALBASE}/lib
CONFIGURE_STYLE = simple
CONFIGURE_ARGS += --disable-gl

View File

@ -1,5 +1,5 @@
MD5 (stella-3.0-src.tar.gz) = CQwlvERvlMQkJHmuQwE8eQ==
RMD160 (stella-3.0-src.tar.gz) = hpy3hq6mFwTYPCEeTcNO7xyASwE=
SHA1 (stella-3.0-src.tar.gz) = llt6uPUfYMCeiULyY222J+aJyuU=
SHA256 (stella-3.0-src.tar.gz) = iBLNWuFooVEFzTnmKT3DE4oKf1T4/sNVdFkKtt+0psA=
SIZE (stella-3.0-src.tar.gz) = 1506447
MD5 (stella-3.2-src.tar.gz) = eiVxvOfj8OGYVb9AVZWE4g==
RMD160 (stella-3.2-src.tar.gz) = 6EkW3WFXEnuSCbkwp6qy2M+BjYU=
SHA1 (stella-3.2-src.tar.gz) = 0jlQTfwzjCyDW9jf/3mBb4d2JvE=
SHA256 (stella-3.2-src.tar.gz) = 6PPSZxrxs4+y6FnE4pZQy2q2xHhXca/WJCFx5Yuv0hw=
SIZE (stella-3.2-src.tar.gz) = 1893105

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-configure,v 1.1 2010/08/25 10:13:33 jasper Exp $
--- configure.orig Wed Aug 11 23:53:19 2010
+++ configure Tue Aug 24 14:15:43 2010
@@ -519,7 +519,7 @@ if test "$_libpng" = auto ; then
#include <png.h>
int main(void) { return printf("%s\n", PNG_HEADER_VERSION_STRING); }
EOF
- cc_check $LDFLAGS $CXXFLAGS $LIBPNG_CFLAGS $LIBPNG_LIBS -lpng && _libpng=yes
+ cc_check $LDFLAGS $CXXFLAGS $LIBPNG_CFLAGS $LIBPNG_LIBS `pkg-config --libs libpng` && _libpng=yes
fi
if test "$_libpng" = yes ; then
echo "$_libpng"

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.6 2009/06/10 12:41:46 benoit Exp $
@comment $OpenBSD: PLIST,v 1.7 2010/08/25 10:13:33 jasper Exp $
@bin bin/stella
share/doc/stella/
share/doc/stella/debugger.html
@ -24,6 +24,7 @@ share/doc/stella/graphics/debugger_tiatab.png
share/doc/stella/graphics/debugger_tiazoomcmenu.png
share/doc/stella/graphics/developer_stats.png
share/doc/stella/graphics/eventmapping.png
share/doc/stella/graphics/eventmapping_combo.png
share/doc/stella/graphics/eventmapping_remap.png
share/doc/stella/graphics/eventmapping_virtualdevs.png
share/doc/stella/graphics/jr_pacman.png
@ -48,5 +49,6 @@ share/doc/stella/graphics/rominfo_1x_large.png
share/doc/stella/graphics/rominfo_1x_small.png
share/doc/stella/graphics/rominfo_2x_small.png
share/doc/stella/graphics/secret_quest.png
share/doc/stella/graphics/select_romdir.png
share/doc/stella/graphics/space_invaders.png
share/doc/stella/index.html