summaryrefslogtreecommitdiff
path: root/emulators/flycast/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/flycast/Makefile')
-rw-r--r--emulators/flycast/Makefile18
1 files changed, 10 insertions, 8 deletions
diff --git a/emulators/flycast/Makefile b/emulators/flycast/Makefile
index f5eeae7d7f79..cf5a8593268d 100644
--- a/emulators/flycast/Makefile
+++ b/emulators/flycast/Makefile
@@ -1,7 +1,6 @@
PORTNAME= flycast
DISTVERSIONPREFIX= v
-DISTVERSION= 2.4
-PORTREVISION= 4
+DISTVERSION= 2.5
CATEGORIES= emulators
MAINTAINER= bsdcode@disroot.org
@@ -11,19 +10,21 @@ WWW= https://github.com/flyinghead/flycast
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/LICENSE
+BUILD_DEPENDS= asio>0:net/asio
LIB_DEPENDS= libchdr.so:devel/libchdr \
libcurl.so:ftp/curl \
libminiupnpc.so:net/miniupnpc \
- libzip.so:archivers/libzip \
- libzstd.so:archivers/zstd
+ libzip.so:archivers/libzip
-USES= cmake compiler:c++17-lang pkgconfig sdl
+USES= cmake compiler:c++20-lang pkgconfig sdl
USE_GITHUB= yes
GH_ACCOUNT= flyinghead
USE_SDL= sdl2
.include "${.CURDIR}/Makefile.tuples"
+CMAKE_ON= USE_HOST_LIBCHDR
+
OPTIONS_DEFINE= DOCS LUA OPENMP VULKAN
OPTIONS_DEFAULT= ALSA AO LUA OPENMP OSS VULKAN
OPTIONS_GROUP= AUDIO
@@ -39,7 +40,7 @@ ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib
ALSA_CMAKE_BOOL= USE_ALSA
AO_LIB_DEPENDS= libao.so:audio/libao
-AO_CMAKE_BOOL= USE_AO
+AO_CMAKE_BOOL= USE_LIBAO
LUA_USES= lua:52+
LUA_CMAKE_BOOL= USE_LUA
@@ -51,9 +52,10 @@ OSS_CMAKE_BOOL= USE_OSS
PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio
PULSEAUDIO_CMAKE_BOOL= USE_PULSEAUDIO
-VULKAN_BUILD_DEPENDS= glslang:graphics/glslang \
+VULKAN_BUILD_DEPENDS= glslang>0:graphics/glslang \
vulkan-headers>0:graphics/vulkan-headers
-VULKAN_CMAKE_BOOL= USE_HOST_GLSLANG USE_VULKAN
+VULKAN_CMAKE_BOOL= USE_HOST_GLSLANG \
+ USE_VULKAN
post-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}