mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 09:36:41 -04:00
* Use to multimedia/ffmpeg3 for compatibility and stability * Submitter becomes maintainer Changelog: https://www.ppsspp.org/news/release-1.18/ Reset PORTREVISION for slave ports, emulators/libretro-ppsspp and emulators/ppsspp-qt5 PR: 282792
36 lines
955 B
CMake
36 lines
955 B
CMake
--- cmake/Modules/FindFFmpeg.cmake.orig 2024-02-04 13:08:02 UTC
|
|
+++ cmake/Modules/FindFFmpeg.cmake
|
|
@@ -56,9 +56,7 @@ function(find_ffmpeg LIBNAME)
|
|
set(_FFmpeg_HEADER_swscale swscale)
|
|
|
|
function(find_ffmpeg LIBNAME)
|
|
- if(DEFINED ENV{FFMPEG_DIR})
|
|
- set(FFMPEG_DIR $ENV{FFMPEG_DIR})
|
|
- endif()
|
|
+ set(FFMPEG_DIR /usr/local/ffmpeg3)
|
|
|
|
if(FFMPEG_DIR)
|
|
list(APPEND INCLUDE_PATHS
|
|
@@ -79,17 +77,13 @@ function(find_ffmpeg LIBNAME)
|
|
NO_CMAKE_FIND_ROOT_PATH
|
|
)
|
|
else()
|
|
- list(APPEND INCLUDE_PATHS
|
|
- /usr/local/include/ffmpeg
|
|
- /usr/local/include/lib${LIBNAME}
|
|
- /usr/include/ffmpeg
|
|
- /usr/include/lib${LIBNAME}
|
|
- /usr/include/ffmpeg/lib${LIBNAME}
|
|
+ list(SET INCLUDE_PATHS
|
|
+ /usr/local/ffmpeg3/include/ffmpeg
|
|
+ /usr/local/ffmpeg3/include/lib${LIBNAME}
|
|
)
|
|
|
|
- list(APPEND LIB_PATHS
|
|
- /usr/local/lib
|
|
- /usr/lib
|
|
+ list(SET LIB_PATHS
|
|
+ /usr/local/ffmpeg3/lib
|
|
)
|
|
endif()
|
|
|