mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-02 06:03:50 +00:00
75c6b5ff17
This update is require to unbreak the port under FreeBSD. The issue was reported to upstream and the fix will be available in future releases. Background: In the upstream issue, it was revealed that the whole C64 emulation depends on the audio stream (for best sync) and initializing the audio stream failed when the SDL backend was OSS, because it needs a fragment size that is a power of two. The attached patch is the minimal change to 5.0.18 from the upstream commit that solved the problem. PR: 245395 Submitted by: Ingo <hylaios@online.de> Approved by: Felix Palmen <felix@palmen-it.de> (maintainer) MFH: 2020Q2
33 lines
673 B
Makefile
33 lines
673 B
Makefile
# Created by: Felix Palmen <felix@palmen-it.de>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= emu64
|
|
PORTVERSION= 5.0.18
|
|
PORTREVISION= 1
|
|
CATEGORIES= emulators
|
|
|
|
MAINTAINER= felix@palmen-it.de
|
|
COMMENT= Commodore 64 emulator
|
|
|
|
LICENSE= GPLv2
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
LIB_DEPENDS= libquazip5.so:archivers/quazip \
|
|
libpng.so:graphics/png \
|
|
libavcodec.so:multimedia/ffmpeg
|
|
|
|
USES= compiler:c++11-lang desktop-file-utils dos2unix gl pkgconfig \
|
|
qmake:outsource qt:5 sdl
|
|
USE_GL= gl glu
|
|
USE_QT= core gui widgets buildtools_build linguisttools_build
|
|
|
|
DOS2UNIX_FILES= src/c64_class.cpp
|
|
|
|
USE_SDL= sdl2 image2
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= ThKattanek
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
.include <bsd.port.mk>
|