diff options
author | snj <snj@pkgsrc.org> | 2015-02-13 05:45:09 +0000 |
---|---|---|
committer | snj <snj@pkgsrc.org> | 2015-02-13 05:45:09 +0000 |
commit | cd3065ea609d29b2b3aa72d501baac50fb8d77a0 (patch) | |
tree | 89e14175febbfe4fecfa1487dde247ff933b43f4 | |
parent | ba4fb84087d3c014a7e983650c92a8c2d95fb6f4 (diff) | |
download | pkgsrc-cd3065ea609d29b2b3aa72d501baac50fb8d77a0.tar.gz |
Update yabause to 0.9.14.
Changes:
general:
- Fixed crash when bin is not found in a bin/cue.
- Added Traditional Chinese translation.
- Added Japanese translation.
- Added Russian translation.
- Updated German translation.
- Added inline SH2 assembler function to main emulation code.
- Fixed miscellaneous memory leak/uninitialized variables.
- Added Stunner/Virtua Gun emulation
- Added USB Dev cartridge emulation
- Added SDL2 support
emulated bios:
- Work around fix for games trying to change scu mask from slave sh2
when using hle bios. Fixes Astal.
gtk port:
- Added extra checks to resolution setting to avoid potential leaks
or crashing.
qt port:
- Fixed an issue where coff/elf files weren't selectable when using
memory transfer function.
- Fixed a bug where qt volume slider wasn't showing the saved value
on startup.
- Mouse will now optionally auto-hide with no movement
- Added gui for inline assembler.
- Revised Mouse emulation handling, added sensitivity setting.
- Other fixes
video:
- Fixed a bug where coordinate y increment wasn't being initialized under
a specific set of circumstances. Should fix hang in Radiant Silvergun
using OpenGL rendering.
- Fixed Special Color Calculation mode 2
-rw-r--r-- | emulators/yabause/Makefile | 5 | ||||
-rw-r--r-- | emulators/yabause/PLIST | 6 | ||||
-rw-r--r-- | emulators/yabause/distinfo | 11 | ||||
-rw-r--r-- | emulators/yabause/options.mk | 19 | ||||
-rw-r--r-- | emulators/yabause/patches/patch-src_CMakeLists.txt | 44 | ||||
-rw-r--r-- | emulators/yabause/patches/patch-src_qt_YabauseThread.cpp | 22 |
6 files changed, 77 insertions, 30 deletions
diff --git a/emulators/yabause/Makefile b/emulators/yabause/Makefile index 6076ca9c874..84cb99bc843 100644 --- a/emulators/yabause/Makefile +++ b/emulators/yabause/Makefile @@ -1,7 +1,6 @@ -# $NetBSD: Makefile,v 1.37 2014/05/05 00:47:50 ryoon Exp $ +# $NetBSD: Makefile,v 1.38 2015/02/13 05:45:09 snj Exp $ -DISTNAME= yabause-0.9.13 -PKGREVISION= 2 +DISTNAME= yabause-0.9.14 CATEGORIES= emulators MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=yabause/} diff --git a/emulators/yabause/PLIST b/emulators/yabause/PLIST index 88e4a07ea73..75e48b3afc0 100644 --- a/emulators/yabause/PLIST +++ b/emulators/yabause/PLIST @@ -1,8 +1,9 @@ -@comment $NetBSD: PLIST,v 1.5 2014/01/06 04:44:16 rodent Exp $ +@comment $NetBSD: PLIST,v 1.6 2015/02/13 05:45:09 snj Exp $ bin/yabause man/man1/yabause.1 share/applications/yabause.desktop share/pixmaps/yabause.png +share/yabause/yts/ar.yts share/yabause/yts/de.yts share/yabause/yts/es.yts share/yabause/yts/fr.yts @@ -11,4 +12,7 @@ share/yabause/yts/lt.yts share/yabause/yts/nl.yts share/yabause/yts/pt.yts share/yabause/yts/pt_BR.yts +share/yabause/yts/ru.yts share/yabause/yts/sv.yts +share/yabause/yts/zh_CN.yts +share/yabause/yts/zh_TW.yts diff --git a/emulators/yabause/distinfo b/emulators/yabause/distinfo index d2e468d8a5e..698c80e64dc 100644 --- a/emulators/yabause/distinfo +++ b/emulators/yabause/distinfo @@ -1,6 +1,7 @@ -$NetBSD: distinfo,v 1.8 2014/01/10 20:02:56 joerg Exp $ +$NetBSD: distinfo,v 1.9 2015/02/13 05:45:09 snj Exp $ -SHA1 (yabause-0.9.13.tar.gz) = ecba2399a1cae8b641b726a828c393655975fcdf -RMD160 (yabause-0.9.13.tar.gz) = 73b3fa5a8550012aed7abae3c1ee7825fd7ea23e -Size (yabause-0.9.13.tar.gz) = 1635104 bytes -SHA1 (patch-src_qt_YabauseThread.cpp) = 32aa6a27d8379471ee06358bbb65fa68a7d465d3 +SHA1 (yabause-0.9.14.tar.gz) = abd7936234f47f9568809b6bf955940c7a3ad447 +RMD160 (yabause-0.9.14.tar.gz) = 545eea2280b881ae4ddcea2b8b189301bea4176d +Size (yabause-0.9.14.tar.gz) = 1662762 bytes +SHA1 (patch-src_CMakeLists.txt) = 382d8004222ff9f5235ddce35fa41e6196469ba0 +SHA1 (patch-src_qt_YabauseThread.cpp) = 1dc06681cd04b6d5eb26b818120724ccdb89fd25 diff --git a/emulators/yabause/options.mk b/emulators/yabause/options.mk index bb502e96d5d..d1f3f09d5f7 100644 --- a/emulators/yabause/options.mk +++ b/emulators/yabause/options.mk @@ -1,12 +1,12 @@ -# $NetBSD: options.mk,v 1.4 2014/01/06 15:28:35 rodent Exp $ +# $NetBSD: options.mk,v 1.5 2015/02/13 05:45:09 snj Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.yabause PKG_SUPPORTED_OPTIONS= openal opengl sdl -PKG_OPTIONS_OPTIONAL_GROUPS= GUI #SDL +PKG_OPTIONS_OPTIONAL_GROUPS= GUI SDL PKG_OPTIONS_GROUP.GUI= gtk qt -#PKG_OPTIONS_GROUP.SDL= sdl sdl2 +PKG_OPTIONS_GROUP.SDL= sdl sdl2 -PKG_SUGGESTED_OPTIONS= qt sdl +PKG_SUGGESTED_OPTIONS= qt sdl2 .include "../../mk/bsd.options.mk" @@ -44,11 +44,8 @@ CMAKE_ARGS+= -DYAB_WANT_OPENGL=OFF .if !empty(PKG_OPTIONS:Msdl) .include "../../devel/SDL/buildlink3.mk" -CMAKE_ARGS+= -DYAB_WANT_SDL=ON -#.elif !empty(PKG_OPTIONS:Msdl2) -#.include "../../devel/SDL2/buildlink3.mk" -#CMAKE_ARGS+= -DYAB_WANT_SDL=ON -#BUILDLINK_TRANSFORM+= l:SDL:SDL2 -.else -CMAKE_ARGS+= -DYAB_WANT_SDL=OFF +CMAKE_ARGS+= -DYAB_WANT_SDL1=ON +.elif !empty(PKG_OPTIONS:Msdl2) +.include "../../devel/SDL2/buildlink3.mk" +CMAKE_ARGS+= -DYAB_WANT_SDL2=ON .endif diff --git a/emulators/yabause/patches/patch-src_CMakeLists.txt b/emulators/yabause/patches/patch-src_CMakeLists.txt new file mode 100644 index 00000000000..9cde8f23711 --- /dev/null +++ b/emulators/yabause/patches/patch-src_CMakeLists.txt @@ -0,0 +1,44 @@ +$NetBSD: patch-src_CMakeLists.txt,v 1.1 2015/02/13 05:45:10 snj Exp $ + +This is needed to keep boneheaded cmake crap from picking up SDL2 +from /usr/pkg/lib if it's installed but not wanted. + +--- src/CMakeLists.txt.orig 2015-02-12 21:09:30.000000000 -0800 ++++ src/CMakeLists.txt 2015-02-12 21:11:25.000000000 -0800 +@@ -134,23 +134,27 @@ if (YAB_WANT_OPENGL AND (YAB_RGB STREQUA + endif(OPENGL_FOUND) + endif () + +-# SDL +-option(YAB_WANT_SDL "use SDL cores if available" ON) +-if (YAB_WANT_SDL) +- include(FindSDL2 OPTIONAL) ++# SDL2 ++option(YAB_WANT_SDL2 "use SDL2 if available" OFF) ++if (YAB_WANT_SDL2) ++ include(FindSDL2) + + if (SDL2_FOUND) + include_directories(${SDL2_INCLUDE_DIR}) + set(YABAUSE_LIBRARIES ${YABAUSE_LIBRARIES} ${SDL2_LIBRARY}) +- else() ++ add_definitions(-DHAVE_LIBSDL=1) ++ set(yabause_SOURCES ${yabause_SOURCES} persdljoy.c sndsdl.c) ++ endif() ++endif() ++ ++# SDL ++option(YAB_WANT_SDL1 "use SDL1 if available" OFF) ++if (YAB_WANT_SDL1) + include(FindSDL) ++ + if (SDL_FOUND) + include_directories(${SDL_INCLUDE_DIR}) + set(YABAUSE_LIBRARIES ${YABAUSE_LIBRARIES} ${SDL_LIBRARY}) +- endif() +- endif() +- +- if (SDL_FOUND OR SDL2_FOUND) + add_definitions(-DHAVE_LIBSDL=1) + set(yabause_SOURCES ${yabause_SOURCES} persdljoy.c sndsdl.c) + endif() diff --git a/emulators/yabause/patches/patch-src_qt_YabauseThread.cpp b/emulators/yabause/patches/patch-src_qt_YabauseThread.cpp index d2d7a7d3ad5..ff2bed1c833 100644 --- a/emulators/yabause/patches/patch-src_qt_YabauseThread.cpp +++ b/emulators/yabause/patches/patch-src_qt_YabauseThread.cpp @@ -1,12 +1,14 @@ -$NetBSD: patch-src_qt_YabauseThread.cpp,v 1.1 2014/01/10 20:02:56 joerg Exp $ +$NetBSD: patch-src_qt_YabauseThread.cpp,v 1.2 2015/02/13 05:45:10 snj Exp $ ---- src/qt/YabauseThread.cpp.orig 2014-01-10 11:41:07.000000000 +0000 -+++ src/qt/YabauseThread.cpp +Add missing include for struct tm. + +--- src/qt/YabauseThread.cpp.orig 2014-11-12 09:48:47.000000000 -0800 ++++ src/qt/YabauseThread.cpp 2015-02-08 22:53:26.000000000 -0800 @@ -29,6 +29,7 @@ - #include <QDateTime> - #include <QStringList> - #include <QDebug> -+#include <time.h> - - YabauseThread::YabauseThread( QObject* o ) - : QObject( o ) + #include <QDateTime>
+ #include <QStringList>
+ #include <QDebug>
++#include <time.h>
+
+ YabauseThread::YabauseThread( QObject* o )
+ : QObject( o )
|