1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00

emulators/fceux: Update to 2.6.2

Also remove a superflous USE_QT entry.

Changes: https://fceux.com/web/help/WhatsNew262.html

PR:		261844
This commit is contained in:
Robert Clausecker 2022-02-14 01:11:39 +08:00 committed by Li-Wen Hsu
parent fee7c34884
commit 5b9dabc1d0
No known key found for this signature in database
GPG Key ID: 82B261B14D3BC7AF
3 changed files with 5 additions and 17 deletions

View File

@ -1,5 +1,5 @@
PORTNAME= fceux
DISTVERSION= 2.6.1
DISTVERSION= 2.6.2
CATEGORIES= emulators games
MASTER_SITES= SF/fceultra/Source%20Code/${DISTVERSION}%20src/
@ -13,7 +13,7 @@ LIB_DEPENDS= libminizip.so:archivers/minizip
USES= cmake desktop-file-utils gl lua:51 pkgconfig qt:5 sdl
USE_GL= gl glu
USE_QT= buildtools_build core gui opengl qmake_build sql widgets
USE_QT= buildtools_build core gui opengl qmake_build widgets
USE_SDL= sdl2
CFLAGS+= -DPUBLIC_RELEASE

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1642789615
SHA256 (fceux-2.6.1.tar.gz) = 3a845dfe97975b5c5fd2e9637fe31e79ddc2f337d99a61296134d82c641d02d6
SIZE (fceux-2.6.1.tar.gz) = 23326768
TIMESTAMP = 1644250746
SHA256 (fceux-2.6.2.tar.gz) = 2dc943cf9719919c61752c8f4d00cb911ecddbc9e9ef239eb65b5dcd3b9d9707
SIZE (fceux-2.6.2.tar.gz) = 23334976

View File

@ -1,12 +0,0 @@
--- src/drivers/Qt/sdl-sound.cpp.orig 2022-01-21 20:48:31 UTC
+++ src/drivers/Qt/sdl-sound.cpp
@@ -219,8 +219,7 @@ InitSound()
spec.freq = s_SampleRate = soundrate;
spec.format = AUDIO_S16SYS;
spec.channels = 1;
- //spec.samples = 512;
- spec.samples = (int)( ( (double)s_SampleRate / getBaseFrameRate() ) );
+ spec.samples = 512;
spec.callback = fillaudio;
spec.userdata = 0;