emulators/emu64: update to 5.0.19

Release notes (in german):
	https://github.com/ThKattanek/emu64/releases/tag/5.0.19

PR:	257097
This commit is contained in:
Felix Palmen 2021-07-10 11:05:01 +02:00 committed by Tobias C. Berner
parent 291bf56652
commit 74fab2f577
7 changed files with 29 additions and 40 deletions

View File

@ -1,8 +1,7 @@
# Created by: Felix Palmen <felix@palmen-it.de>
PORTNAME= emu64
PORTVERSION= 5.0.18
PORTREVISION= 3
PORTVERSION= 5.0.19
CATEGORIES= emulators
MAINTAINER= felix@palmen-it.de
@ -20,8 +19,7 @@ USES= compiler:c++11-lang desktop-file-utils dos2unix gl pkgconfig \
USE_GL= gl glu
USE_QT= core gui widgets buildtools_build linguisttools_build
DOS2UNIX_FILES= src/c64_class.cpp \
src/widget_file_browse.h
DOS2UNIX_FILES= src/widget_file_browse.h
USE_SDL= sdl2 image2
USE_GITHUB= yes

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1583170010
SHA256 (ThKattanek-emu64-5.0.18_GH0.tar.gz) = 3457f6cb37b99c597e0698ba4b5c2466bf6a0993cc9b8f343ab950a07a853717
SIZE (ThKattanek-emu64-5.0.18_GH0.tar.gz) = 1630546
TIMESTAMP = 1625814662
SHA256 (ThKattanek-emu64-5.0.19_GH0.tar.gz) = 225d66d17f5e803137b373df3905063abcf7f77a5c914f7307913b18f6d51315
SIZE (ThKattanek-emu64-5.0.19_GH0.tar.gz) = 1641017

View File

@ -1,23 +0,0 @@
--- src/c64_class.cpp.orig 2020-04-11 10:05:13 UTC
+++ src/c64_class.cpp
@@ -27,9 +27,9 @@ int SDLThreadWarp(void *userdat);
#define C64Takt 985248 // 50,124542Hz (Original C64 PAL)
#ifdef _WIN32
- #define AudioPufferSize (882) // 882 bei 44.100 Khz
+ #define AudioPufferSize (1024) // 882 bei 44.100 Khz
#else
- #define AudioPufferSize (882) // 882 bei 44.100 Khz
+ #define AudioPufferSize (1024) // 882 bei 44.100 Khz
#endif
#define RecPollingWaitStart 20
@@ -1757,7 +1757,7 @@ void C64Class::SetFullscreenAspectRatio(bool enable)
void C64Class::AnalyzeSDLEvent(SDL_Event *event)
{
static bool joy_center_flag = true;
- static char joy_axis_tbl[5] = {1,1,0,0,-1};
+ static signed char joy_axis_tbl[5] = {1,1,0,0,-1};
SDL_Keymod keymod;

View File

@ -1,11 +1,11 @@
--- src/src.pro.orig 2020-11-08 17:21:01 UTC
--- src/src.pro.orig 2021-07-08 16:55:15 UTC
+++ src/src.pro
@@ -73,7 +73,7 @@ DEFINES += ZIP_SUPPORT=true
win32 {
PKGCONFIG += quazip
} else {
- LIBS += -lquazip5
+ PKGCONFIG += quazip1-qt5
}
@@ -84,7 +84,7 @@ equals(QT_MAJOR_VERSION, 5) {
win32 {
PKGCONFIG += quazip
} else {
- LIBS += -lquazip5
+ PKGCONFIG += quazip1-qt5
}
# Quelltexte
message("QT5 is active")

View File

@ -1,4 +1,4 @@
--- src/widget_file_browse.h.orig 2020-11-08 17:22:47 UTC
--- src/widget_file_browse.h.orig 2021-07-09 07:30:04 UTC
+++ src/widget_file_browse.h
@@ -26,8 +26,8 @@
#include "quazip/quazip.h"

View File

@ -0,0 +1,13 @@
[
{
type: upgrade
maximum_version: "5.0.19"
message: <<EOM
Due to a breaking change, emu64 might crash when you open the user color
palette window. This should happen only once.
To prevent it from happening at all, you could also remove your
~/.config/emu64/emu64.ini file containing your user's configuration.
EOM
}
]

View File

@ -1,6 +1,7 @@
bin/emu64
share/applications/emu64.desktop
%%PORTDOCS%%%%DOCSDIR%%/LICENSE
%%PORTDOCS%%%%DOCSDIR%%/hotkeys.txt
%%PORTDOCS%%%%DOCSDIR%%/kommandozeilenparameter.txt
%%PORTDOCS%%%%DOCSDIR%%/änderungen.txt
%%DATADIR%%/floppy_sounds/anschlag.raw