summaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
authorkamil <kamil@pkgsrc.org>2019-10-28 09:33:29 +0000
committerkamil <kamil@pkgsrc.org>2019-10-28 09:33:29 +0000
commit3de706178f67b3512b192bb280f084e98d3668a0 (patch)
treed353967fd8d679d752b4440941005cf8058afbf9 /emulators
parent27cd57a54c2fc1f9ab7640c76aceb8cd1058036f (diff)
downloadpkgsrc-3de706178f67b3512b192bb280f084e98d3668a0.tar.gz
yabause: Upgrade to 0.9.15
Switch from qt4 to qt5. CHANGELOG ========= Yabause 0.9.15 August 24, 2016 - guillaume.duhamel - Release Following our strict release schedule, here's a new Yabause version. This new version includes so many new stuff, I cannot list them all. (If you really want the full list, it's on our repository) Arguably, the most notable features of this release are: - Low-level CD Block emulation - CloneCD file format support - High resolution for the software renderer We also included code from other great projects: - Musashi 68K core (code by Karl Stenerud) - SSF sound format playing (code by R. Belmont, Richard Bannister, Neil Corlett) As many of you should already be aware, Yabause was forked into a new project, uoYabause, by devmiyax. We included some of his fixes back into Yabause. Due to lack of maintainer, this release will be the last to include a gtk port. Since our last release, we also improved our tools: - Automated builds for linux, mac and windows - Development builds pushed after each commit - Translations on Transifex - Compatibility reports on our wiki And finally, we had to move from Paypal to Patreon
Diffstat (limited to 'emulators')
-rw-r--r--emulators/yabause/Makefile7
-rw-r--r--emulators/yabause/PLIST8
-rw-r--r--emulators/yabause/distinfo22
-rw-r--r--emulators/yabause/options.mk5
-rw-r--r--emulators/yabause/patches/patch-CMakeLists.txt16
-rw-r--r--emulators/yabause/patches/patch-l10n_CMakeLists.txt13
-rw-r--r--emulators/yabause/patches/patch-src_CMakeLists.txt44
-rw-r--r--emulators/yabause/patches/patch-src_persdljoy.c17
-rw-r--r--emulators/yabause/patches/patch-src_qt_CMakeLists.txt21
-rw-r--r--emulators/yabause/patches/patch-src_qt_YabauseThread.cpp14
-rw-r--r--emulators/yabause/patches/patch-src_qt_ui_UICheatRaw.cpp15
-rw-r--r--emulators/yabause/patches/patch-src_qt_ui_UICheatRaw.h15
-rw-r--r--emulators/yabause/patches/patch-src_qt_ui_UICheats.cpp15
-rw-r--r--emulators/yabause/patches/patch-src_qt_ui_UIHexInput.h15
-rw-r--r--emulators/yabause/patches/patch-src_sndsdl.c13
-rw-r--r--emulators/yabause/patches/patch-src_yabause.c13
16 files changed, 82 insertions, 171 deletions
diff --git a/emulators/yabause/Makefile b/emulators/yabause/Makefile
index f735b8e9ac7..8ca776927cb 100644
--- a/emulators/yabause/Makefile
+++ b/emulators/yabause/Makefile
@@ -1,9 +1,8 @@
-# $NetBSD: Makefile,v 1.48 2019/07/21 22:24:47 wiz Exp $
+# $NetBSD: Makefile,v 1.49 2019/10/28 09:33:29 kamil Exp $
-DISTNAME= yabause-0.9.14
-PKGREVISION= 10
+DISTNAME= yabause-0.9.15
CATEGORIES= emulators
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=yabause/}
+MASTER_SITES= https://download.tuxfamily.org/yabause/releases/${PKGVERSION_NOREV}/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://yabause.sourceforge.net/
diff --git a/emulators/yabause/PLIST b/emulators/yabause/PLIST
index 75e48b3afc0..d12ea1d25ac 100644
--- a/emulators/yabause/PLIST
+++ b/emulators/yabause/PLIST
@@ -1,18 +1,24 @@
-@comment $NetBSD: PLIST,v 1.6 2015/02/13 05:45:09 snj Exp $
+@comment $NetBSD: PLIST,v 1.7 2019/10/28 09:33:29 kamil Exp $
bin/yabause
man/man1/yabause.1
share/applications/yabause.desktop
share/pixmaps/yabause.png
share/yabause/yts/ar.yts
+share/yabause/yts/da.yts
share/yabause/yts/de.yts
+share/yabause/yts/el.yts
share/yabause/yts/es.yts
share/yabause/yts/fr.yts
share/yabause/yts/it.yts
+share/yabause/yts/ja.yts
+share/yabause/yts/ko.yts
share/yabause/yts/lt.yts
share/yabause/yts/nl.yts
+share/yabause/yts/pl_PL.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/tr.yts
share/yabause/yts/zh_CN.yts
share/yabause/yts/zh_TW.yts
diff --git a/emulators/yabause/distinfo b/emulators/yabause/distinfo
index f6de84965f5..47ad2e5ece3 100644
--- a/emulators/yabause/distinfo
+++ b/emulators/yabause/distinfo
@@ -1,14 +1,10 @@
-$NetBSD: distinfo,v 1.11 2016/10/16 10:10:02 bsiegert Exp $
+$NetBSD: distinfo,v 1.12 2019/10/28 09:33:29 kamil Exp $
-SHA1 (yabause-0.9.14.tar.gz) = abd7936234f47f9568809b6bf955940c7a3ad447
-RMD160 (yabause-0.9.14.tar.gz) = 545eea2280b881ae4ddcea2b8b189301bea4176d
-SHA512 (yabause-0.9.14.tar.gz) = 8b14d9146cf12d104fcf43369cd949f1f47e7891a54241914f6141facf871bcc158f4e80a8c5b61fdeefe6f1b8d425ff301ba653df134a030c323c9e3ccf3a58
-Size (yabause-0.9.14.tar.gz) = 1662762 bytes
-SHA1 (patch-CMakeLists.txt) = c500a586921a537b021cf83e024865c78c8ef2f8
-SHA1 (patch-l10n_CMakeLists.txt) = ef32472ba02a57f08568ac9d31d6dd6f965db448
-SHA1 (patch-src_CMakeLists.txt) = 382d8004222ff9f5235ddce35fa41e6196469ba0
-SHA1 (patch-src_persdljoy.c) = d64977e79fc41935feeec8bc6dafba3fdd362ffb
-SHA1 (patch-src_qt_CMakeLists.txt) = 0fc3eaf95bcde28158b661303671a10ae56c94d7
-SHA1 (patch-src_qt_YabauseThread.cpp) = 1dc06681cd04b6d5eb26b818120724ccdb89fd25
-SHA1 (patch-src_sndsdl.c) = fe8b4432804ebcf62d3df713cd4fe371deb5c579
-SHA1 (patch-src_yabause.c) = 2780aae8d7f70f12e8691fb3a656beb7eb17ce8f
+SHA1 (yabause-0.9.15.tar.gz) = bc828a2db1275a20f24868ef527029ef5e7c1e1c
+RMD160 (yabause-0.9.15.tar.gz) = 1df9103ca844cae0ab3a7476f8093fac7bb144e4
+SHA512 (yabause-0.9.15.tar.gz) = f7e992e3326e68aca1c0ce6dd0d382eea00cd3e47492c045d17526909356198448c533b00568af3ab311307e6b3d47a28708a8c0ff74e5b6c98d62da8c01a3c7
+Size (yabause-0.9.15.tar.gz) = 2481650 bytes
+SHA1 (patch-src_qt_ui_UICheatRaw.cpp) = 1656ffbf04f3c92f7ac8b065dc6db4902c683aad
+SHA1 (patch-src_qt_ui_UICheatRaw.h) = e93ddcbff583c53e06bec1a1d9d33b7d1b638df8
+SHA1 (patch-src_qt_ui_UICheats.cpp) = 48df9bd8e06d3c1d0d5752d0be4dc5c7f9d9e740
+SHA1 (patch-src_qt_ui_UIHexInput.h) = 5c8e59bd6db984ab97a9ea1bb05436bd51824964
diff --git a/emulators/yabause/options.mk b/emulators/yabause/options.mk
index 28104f71b35..1cd308d2628 100644
--- a/emulators/yabause/options.mk
+++ b/emulators/yabause/options.mk
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.7 2019/08/30 17:01:32 nia Exp $
+# $NetBSD: options.mk,v 1.8 2019/10/28 09:33:29 kamil Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.yabause
PKG_SUPPORTED_OPTIONS= openal opengl sdl
@@ -17,7 +17,8 @@ PKG_SUGGESTED_OPTIONS= qt sdl2
.if !empty(PKG_OPTIONS:Mqt)
CONFIGURE_ENV+= YAB_PORTS=qt
CMAKE_ARGS+= -DYAB_PORTS=qt
-.include "../../x11/qt4-tools/buildlink3.mk"
+.include "../../x11/qt5-qtbase/buildlink3.mk"
+.include "../../x11/qt5-qtmultimedia/buildlink3.mk"
.elif !empty(PKG_OPTIONS:Mgtk)
CONFIGURE_ENV+= YAB_PORTS=gtk
CMAKE_ARGS+= -DYAB_PORTS=gtk
diff --git a/emulators/yabause/patches/patch-CMakeLists.txt b/emulators/yabause/patches/patch-CMakeLists.txt
deleted file mode 100644
index a03894be3a3..00000000000
--- a/emulators/yabause/patches/patch-CMakeLists.txt
+++ /dev/null
@@ -1,16 +0,0 @@
-$NetBSD: patch-CMakeLists.txt,v 1.1 2016/10/16 10:10:02 bsiegert Exp $
-
---- CMakeLists.txt.orig 2014-11-22 14:23:18.000000000 +0000
-+++ CMakeLists.txt
-@@ -16,11 +16,6 @@ set(CPACK_PACKAGE_VENDOR "Yabause team")
- set(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_CURRENT_SOURCE_DIR}/COPYING")
- set(CPACK_SOURCE_PACKAGE_FILE_NAME "yabause-${YAB_VERSION}")
-
--if (APPLE)
-- set(CPACK_GENERATOR DragNDrop)
-- set(CPACK_PACKAGE_FILE_NAME yabause-${YAB_VERSION}-mac)
--endif ()
--
- if (WIN32)
- SET(CPACK_NSIS_INSTALLED_ICON_NAME yabause.exe)
- set(CPACK_NSIS_MENU_LINKS yabause.exe;Yabause)
diff --git a/emulators/yabause/patches/patch-l10n_CMakeLists.txt b/emulators/yabause/patches/patch-l10n_CMakeLists.txt
deleted file mode 100644
index 8f1e9fb28dc..00000000000
--- a/emulators/yabause/patches/patch-l10n_CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-l10n_CMakeLists.txt,v 1.1 2016/10/16 10:10:02 bsiegert Exp $
-
---- l10n/CMakeLists.txt.orig 2014-08-18 14:56:49.000000000 +0000
-+++ l10n/CMakeLists.txt
-@@ -2,7 +2,7 @@ project(yabause-l10n)
-
- set(LANGS ar de es fr it lt nl pt pt_BR ru sv zh_CN zh_TW)
-
--if (UNIX AND NOT APPLE)
-+if (UNIX)
- foreach(LANG ${LANGS})
- install(FILES "yabause_${LANG}.yts" DESTINATION "share/yabause/yts" RENAME "${LANG}.yts")
- endforeach()
diff --git a/emulators/yabause/patches/patch-src_CMakeLists.txt b/emulators/yabause/patches/patch-src_CMakeLists.txt
deleted file mode 100644
index 9cde8f23711..00000000000
--- a/emulators/yabause/patches/patch-src_CMakeLists.txt
+++ /dev/null
@@ -1,44 +0,0 @@
-$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_persdljoy.c b/emulators/yabause/patches/patch-src_persdljoy.c
deleted file mode 100644
index 1105abcbfa5..00000000000
--- a/emulators/yabause/patches/patch-src_persdljoy.c
+++ /dev/null
@@ -1,17 +0,0 @@
-$NetBSD: patch-src_persdljoy.c,v 1.1 2016/10/16 10:10:02 bsiegert Exp $
-
---- src/persdljoy.c.orig 2014-11-12 17:48:47.000000000 +0000
-+++ src/persdljoy.c
-@@ -24,11 +24,7 @@
- */
-
- #ifdef HAVE_LIBSDL
--#ifdef __APPLE__
-- #include <SDL/SDL.h>
--#else
-- #include "SDL.h"
--#endif
-+#include "SDL.h"
-
- #include "debug.h"
- #include "persdljoy.h"
diff --git a/emulators/yabause/patches/patch-src_qt_CMakeLists.txt b/emulators/yabause/patches/patch-src_qt_CMakeLists.txt
deleted file mode 100644
index c7a70274812..00000000000
--- a/emulators/yabause/patches/patch-src_qt_CMakeLists.txt
+++ /dev/null
@@ -1,21 +0,0 @@
-$NetBSD: patch-src_qt_CMakeLists.txt,v 1.1 2016/10/16 10:10:02 bsiegert Exp $
-
---- src/qt/CMakeLists.txt.orig 2014-11-12 17:48:47.000000000 +0000
-+++ src/qt/CMakeLists.txt
-@@ -214,16 +214,6 @@ include_directories(
- ${QT_QTOPENGL_INCLUDE_DIR} )
- endif()
-
--# APPLE // not necessary mac os x, but i don't care ;)
--if (APPLE)
-- set_target_properties( yabause-qt PROPERTIES MACOSX_BUNDLE true )
-- set_target_properties( yabause-qt PROPERTIES MACOSX_BUNDLE_ICON_FILE yabause.icns )
-- set_target_properties( yabause-qt PROPERTIES MACOSX_BUNDLE_LONG_VERSION_STRING "${YAB_VERSION}" )
-- set_target_properties( yabause-qt PROPERTIES MACOSX_BUNDLE_BUNDLE_NAME Yabause )
-- set_target_properties( yabause-qt PROPERTIES MACOSX_BUNDLE_SHORT_VERSION_STRING "${YAB_VERSION}" )
-- set_target_properties( yabause-qt PROPERTIES MACOSX_BUNDLE_COPYRIGHT "(c) Yabause Team" )
--endif (APPLE)
--
- target_link_libraries( yabause-qt yabause )
- target_link_libraries( yabause-qt ${YABAUSE_LIBRARIES} )
- target_link_libraries( yabause-qt ${PORT_LIBRARIES} )
diff --git a/emulators/yabause/patches/patch-src_qt_YabauseThread.cpp b/emulators/yabause/patches/patch-src_qt_YabauseThread.cpp
deleted file mode 100644
index ff2bed1c833..00000000000
--- a/emulators/yabause/patches/patch-src_qt_YabauseThread.cpp
+++ /dev/null
@@ -1,14 +0,0 @@
-$NetBSD: patch-src_qt_YabauseThread.cpp,v 1.2 2015/02/13 05:45:10 snj Exp $
-
-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 )
diff --git a/emulators/yabause/patches/patch-src_qt_ui_UICheatRaw.cpp b/emulators/yabause/patches/patch-src_qt_ui_UICheatRaw.cpp
new file mode 100644
index 00000000000..5d668209dca
--- /dev/null
+++ b/emulators/yabause/patches/patch-src_qt_ui_UICheatRaw.cpp
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_qt_ui_UICheatRaw.cpp,v 1.1 2019/10/28 09:33:29 kamil Exp $
+
+Fix Qt 5.11.
+
+--- src/qt/ui/UICheatRaw.cpp.orig 2016-08-19 15:31:13.000000000 +0000
++++ src/qt/ui/UICheatRaw.cpp
+@@ -20,8 +20,6 @@
+ #include "UIHexInput.h"
+ #include "../QtYabause.h"
+
+-#include <QButtonGroup>
+-
+ UICheatRaw::UICheatRaw( QWidget* p )
+ : QDialog( p )
+ {
diff --git a/emulators/yabause/patches/patch-src_qt_ui_UICheatRaw.h b/emulators/yabause/patches/patch-src_qt_ui_UICheatRaw.h
new file mode 100644
index 00000000000..676efdc6dfb
--- /dev/null
+++ b/emulators/yabause/patches/patch-src_qt_ui_UICheatRaw.h
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_qt_ui_UICheatRaw.h,v 1.1 2019/10/28 09:33:29 kamil Exp $
+
+Fix Qt 5.11.
+
+--- src/qt/ui/UICheatRaw.h.orig 2016-08-19 15:31:13.000000000 +0000
++++ src/qt/ui/UICheatRaw.h
+@@ -21,7 +21,7 @@
+
+ #include "ui_UICheatRaw.h"
+
+-class QButtonGroup;
++#include <QButtonGroup>
+
+ class UICheatRaw : public QDialog, public Ui::UICheatRaw
+ {
diff --git a/emulators/yabause/patches/patch-src_qt_ui_UICheats.cpp b/emulators/yabause/patches/patch-src_qt_ui_UICheats.cpp
new file mode 100644
index 00000000000..c38bdce9b04
--- /dev/null
+++ b/emulators/yabause/patches/patch-src_qt_ui_UICheats.cpp
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_qt_ui_UICheats.cpp,v 1.1 2019/10/28 09:33:29 kamil Exp $
+
+Fix Qt 5.11.
+
+--- src/qt/ui/UICheats.cpp.orig 2016-08-19 15:31:13.000000000 +0000
++++ src/qt/ui/UICheats.cpp
+@@ -21,6 +21,8 @@
+ #include "UICheatRaw.h"
+ #include "../CommonDialogs.h"
+
++#include <QButtonGroup>
++
+ UICheats::UICheats( QWidget* p )
+ : QDialog( p )
+ {
diff --git a/emulators/yabause/patches/patch-src_qt_ui_UIHexInput.h b/emulators/yabause/patches/patch-src_qt_ui_UIHexInput.h
new file mode 100644
index 00000000000..26436076a43
--- /dev/null
+++ b/emulators/yabause/patches/patch-src_qt_ui_UIHexInput.h
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_qt_ui_UIHexInput.h,v 1.1 2019/10/28 09:33:29 kamil Exp $
+
+Fix Qt 5.11.
+
+--- src/qt/ui/UIHexInput.h.orig 2016-08-19 15:31:13.000000000 +0000
++++ src/qt/ui/UIHexInput.h
+@@ -22,6 +22,8 @@
+ #include "ui_UIHexInput.h"
+ #include "../QtYabause.h"
+
++#include <QValidator>
++
+ class HexValidator : public QValidator
+ {
+ Q_OBJECT
diff --git a/emulators/yabause/patches/patch-src_sndsdl.c b/emulators/yabause/patches/patch-src_sndsdl.c
deleted file mode 100644
index 5b3c651cbea..00000000000
--- a/emulators/yabause/patches/patch-src_sndsdl.c
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-src_sndsdl.c,v 1.1 2016/10/16 10:10:02 bsiegert Exp $
-
---- src/sndsdl.c.orig 2014-11-12 17:48:48.000000000 +0000
-+++ src/sndsdl.c
-@@ -25,7 +25,7 @@
-
- #include <stdlib.h>
-
--#if defined(__APPLE__) || defined(GEKKO)
-+#if defined(GEKKO)
- #include <SDL/SDL.h>
- #else
- #include "SDL.h"
diff --git a/emulators/yabause/patches/patch-src_yabause.c b/emulators/yabause/patches/patch-src_yabause.c
deleted file mode 100644
index 2fbaae348a2..00000000000
--- a/emulators/yabause/patches/patch-src_yabause.c
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-src_yabause.c,v 1.1 2016/10/16 10:10:02 bsiegert Exp $
-
---- src/yabause.c.orig 2014-11-12 17:48:48.000000000 +0000
-+++ src/yabause.c
-@@ -48,7 +48,7 @@
- #include "movie.h"
- #include "osdcore.h"
- #ifdef HAVE_LIBSDL
-- #if defined(__APPLE__) || defined(GEKKO)
-+ #if defined(GEKKO)
- #include <SDL/SDL.h>
- #else
- #include "SDL.h"