pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/emulators/yabause Update yabause to 0.9.14.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/acb280d70600
branches:  trunk
changeset: 646642:acb280d70600
user:      snj <snj%pkgsrc.org@localhost>
date:      Fri Feb 13 05:45:09 2015 +0000

description:
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

diffstat:

 emulators/yabause/Makefile                               |   5 +-
 emulators/yabause/PLIST                                  |   6 +-
 emulators/yabause/distinfo                               |  11 ++-
 emulators/yabause/options.mk                             |  19 ++----
 emulators/yabause/patches/patch-src_CMakeLists.txt       |  44 ++++++++++++++++
 emulators/yabause/patches/patch-src_qt_YabauseThread.cpp |  22 ++++---
 6 files changed, 77 insertions(+), 30 deletions(-)

diffs (163 lines):

diff -r 6a15ebd87387 -r acb280d70600 emulators/yabause/Makefile
--- a/emulators/yabause/Makefile        Fri Feb 13 04:44:40 2015 +0000
+++ b/emulators/yabause/Makefile        Fri Feb 13 05:45:09 2015 +0000
@@ -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 -r 6a15ebd87387 -r acb280d70600 emulators/yabause/PLIST
--- a/emulators/yabause/PLIST   Fri Feb 13 04:44:40 2015 +0000
+++ b/emulators/yabause/PLIST   Fri Feb 13 05:45:09 2015 +0000
@@ -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/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 -r 6a15ebd87387 -r acb280d70600 emulators/yabause/distinfo
--- a/emulators/yabause/distinfo        Fri Feb 13 04:44:40 2015 +0000
+++ b/emulators/yabause/distinfo        Fri Feb 13 05:45:09 2015 +0000
@@ -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 -r 6a15ebd87387 -r acb280d70600 emulators/yabause/options.mk
--- a/emulators/yabause/options.mk      Fri Feb 13 04:44:40 2015 +0000
+++ b/emulators/yabause/options.mk      Fri Feb 13 05:45:09 2015 +0000
@@ -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 @@
 
 .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 -r 6a15ebd87387 -r acb280d70600 emulators/yabause/patches/patch-src_CMakeLists.txt
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/yabause/patches/patch-src_CMakeLists.txt        Fri Feb 13 05:45:09 2015 +0000
@@ -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 -r 6a15ebd87387 -r acb280d70600 emulators/yabause/patches/patch-src_qt_YabauseThread.cpp
--- a/emulators/yabause/patches/patch-src_qt_YabauseThread.cpp  Fri Feb 13 04:44:40 2015 +0000
+++ b/emulators/yabause/patches/patch-src_qt_YabauseThread.cpp  Fri Feb 13 05:45:09 2015 +0000
@@ -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 )



Home | Main Index | Thread Index | Old Index