ports/emulators/ppsspp/files/patch-no-egl
Kevin Reinholz eca93dbd6d emulators/ppsspp: Update to 1.19
* Fix build with system miniupnpc
* Properly use ${LOCALBASE} instead of hardcoding /usr/local
  for multimedia/ffmpeg3 build dependency
* Misc cleanup (missing USES= flag for desktop-file-utils, correct typo
  in rapidjson external module commit tag)

Changelog: https://www.ppsspp.org/news/release-1.19/
2025-06-06 18:51:54 +02:00

27 lines
701 B
Text

EGL hangs on X11 and doesn't build without GLESv2.
https://github.com/hrydgard/ppsspp/issues/10626
--- CMakeLists.txt.orig 2025-05-30 21:23:20 UTC
+++ CMakeLists.txt
@@ -83,12 +83,6 @@ endif()
set(USE_SYSTEM_FFMPEG ON)
endif()
-if(NOT ANDROID AND NOT IOS)
- if(ARM_DEVICE OR SIMULATOR)
- set(USING_EGL ON)
- endif()
-endif()
-
if(${CMAKE_SYSTEM_NAME} MATCHES "Linux" AND NOT USE_LIBNX)
set(LINUX ON)
add_compile_definitions(__STDC_CONSTANT_MACROS)
@@ -1009,6 +1003,8 @@ if(USE_FFMPEG)
elseif(X86)
set(PLATFORM_ARCH "Windows/x86")
endif()
+ else()
+ set(PLATFORM_ARCH "FreeBSD/%%ARCH%%")
endif()
if(PLATFORM_ARCH)
set(FFMPEG_DIR "ffmpeg/${PLATFORM_ARCH}")