aboutsummaryrefslogtreecommitdiff
path: root/emulators/rpcs3/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/rpcs3/Makefile')
-rw-r--r--emulators/rpcs3/Makefile31
1 files changed, 13 insertions, 18 deletions
diff --git a/emulators/rpcs3/Makefile b/emulators/rpcs3/Makefile
index 2a8781edac4a..1ddffd7839de 100644
--- a/emulators/rpcs3/Makefile
+++ b/emulators/rpcs3/Makefile
@@ -1,7 +1,7 @@
PORTNAME= rpcs3
DISTVERSIONPREFIX= v
-DISTVERSION= 0.0.37 # git rev-list --count HEAD
-DISTVERSIONSUFFIX= -17986-g68d2573344
+DISTVERSION= 0.0.38 # git rev-list --count HEAD
+DISTVERSIONSUFFIX= -18170-g23b339d410
CATEGORIES= emulators wayland
MAINTAINER= jbeich@FreeBSD.org
@@ -13,10 +13,15 @@ LICENSE_COMB= multi
LICENSE_FILE_ISCL= ${WRKSRC_cubeb}/LICENSE
LICENSE_FILE_ZLIB= ${WRKSRC_asmjit}/LICENSE.md
-BUILD_DEPENDS= flatc:devel/flatbuffers
-LIB_DEPENDS= libcurl.so:ftp/curl \
+BUILD_DEPENDS= flatc:devel/flatbuffers \
+ glslang>0:graphics/glslang
+LIB_DEPENDS= libzstd.so:archivers/zstd \
+ librtmidi.so:audio/rtmidi \
+ libhidapi.so:comms/hidapi \
+ libcurl.so:ftp/curl \
libpng.so:graphics/png \
libavcodec.so:multimedia/ffmpeg \
+ libminiupnpc.so:net/miniupnpc \
libpugixml.so:textproc/pugixml
ONLY_FOR_ARCHS= aarch64 amd64
@@ -24,16 +29,12 @@ ONLY_FOR_ARCHS_REASON= requires int128 and SSE2
USE_GITHUB= yes
GH_ACCOUNT= RPCS3
-GH_TUPLE= RPCS3:hidapi:hidapi-0.14.0-53-gf424236:hidapi/3rdparty/hidapi/hidapi \
- RPCS3:soundtouch:2.3.1-78-g3982730:soundtouch/3rdparty/SoundTouch/soundtouch \
+GH_TUPLE= RPCS3:soundtouch:2.3.1-78-g3982730:soundtouch/3rdparty/SoundTouch/soundtouch \
asmjit:asmjit:416f735:asmjit/3rdparty/asmjit/asmjit \
- facebook:zstd:v1.5.7:zstd/3rdparty/zstd/zstd \
jbeder:yaml-cpp:0.8.0-11-g456c68f:yamlcpp/3rdparty/yaml-cpp/yaml-cpp \
- KhronosGroup:glslang:15.3.0:glslang/3rdparty/glslang/glslang \
kcat:openal-soft:1.23.1:openal_soft/3rdparty/OpenAL/openal-soft \
- kinetiknz:cubeb:cubeb-0.2-1425-g88585b6:cubeb/3rdparty/cubeb/cubeb \
+ kinetiknz:cubeb:cubeb-0.2-1617-ge495bee:cubeb/3rdparty/cubeb/cubeb \
Megamouse:VulkanMemoryAllocator:1d8f600:vkalloc/3rdparty/GPUOpen/VulkanMemoryAllocator \
- miniupnp:miniupnp:miniupnpd_2_3_9:miniupnp/3rdparty/miniupnp/miniupnp \
nothings:stb:013ac3b:stb/3rdparty/stblib/stb \
wolfSSL:wolfssl:v5.8.0-stable:wolfssl/3rdparty/wolfssl/wolfssl \
xioTechnologies:Fusion:v1.2.8:fusion/3rdparty/fusion/fusion
@@ -43,7 +44,8 @@ USES= cmake gl iconv:wchar_t llvm:min=19,lib localbase:ldflags \
USE_GL= gl glew
USE_QT= base multimedia svg
USE_XORG= x11
-CMAKE_ON= CMAKE_SKIP_RPATH ${CURL FFMPEG FLATBUFFERS LIBPNG PUGIXML XXHASH:L:S/^/USE_SYSTEM_/}
+CMAKE_ON= CMAKE_SKIP_RPATH
+CMAKE_ON+= ${GLSLANG FFMPEG FLATBUFFERS HIDAPI LIBPNG LIBUSB MINIUPNPC PUGIXML RTMIDI XXHASH ZSTD:L:S/^/USE_SYSTEM_/}
CMAKE_ON+= BUNDLE_SPEEX # only used by cubeb tests
CMAKE_OFF= USE_NATIVE_INSTRUCTIONS USE_PRECOMPILED_HEADERS
LDFLAGS+= -Wl,--as-needed # GLU
@@ -87,13 +89,6 @@ VULKAN_BUILD_DEPENDS= ${LOCALBASE}/include/vulkan/vulkan.h:graphics/vulkan-heade
VULKAN_LIB_DEPENDS= libvulkan.so:graphics/vulkan-loader
VULKAN_CMAKE_BOOL= USE_VULKAN
-# XXX Unbundle audio/rtmidi
-GH_TUPLE+= thestk:rtmidi:6.0.0:rtmidi/3rdparty/rtmidi/rtmidi
-ALSA_LIB_DEPENDS+= libasound.so:audio/alsa-lib
-ALSA_CMAKE_BOOL+= RTMIDI_API_ALSA
-JACK_LIB_DEPENDS+= libjack.so:audio/jack
-JACK_CMAKE_BOOL+= RTMIDI_API_JACK
-
post-patch:
@${REINPLACE_CMD} -e '/GIT_BRANCH/s/local_build/master/' \
-e '/GIT_FULL_BRANCH/s/local_build/${GH_ACCOUNT}\/${GH_PROJECT}\/master/' \