upgpkg: ufw 0.36.2-1
[ArchLinux/community.git] / python-pytorch-rocm / trunk / ffmpeg4.4.patch
blob6a0a70e3d23ed558746b8f7d1fbbc4481ef74b3d
1 diff --git a/cmake/Modules/FindFFmpeg.cmake b/cmake/Modules/FindFFmpeg.cmake
2 index 04437562ee..dc8fe4aa5c 100644
3 --- a/cmake/Modules/FindFFmpeg.cmake
4 +++ b/cmake/Modules/FindFFmpeg.cmake
5 @@ -14,34 +14,40 @@ else (FFMPEG_LIBRARIES AND FFMPEG_INCLUDE_DIR)
7 find_path(FFMPEG_AVCODEC_INCLUDE_DIR
8 NAMES libavcodec/avcodec.h
9 - PATHS ${_FFMPEG_AVCODEC_INCLUDE_DIRS} /usr/include /usr/local/include /opt/local/include /sw/include
10 + PATHS /usr/include/ffmpeg4.4 /usr/local/include /opt/local/include /sw/include
11 PATH_SUFFIXES ffmpeg libav
12 + NO_DEFAULT_PATH
15 find_library(FFMPEG_LIBAVCODEC
16 NAMES avcodec
17 - PATHS ${_FFMPEG_AVCODEC_LIBRARY_DIRS} /usr/lib /usr/local/lib /opt/local/lib /sw/lib
18 + PATHS /usr/lib/ffmpeg4.4 /usr/local/lib /opt/local/lib /sw/lib
19 + NO_DEFAULT_PATH
22 find_library(FFMPEG_LIBAVFORMAT
23 NAMES avformat
24 - PATHS ${_FFMPEG_AVFORMAT_LIBRARY_DIRS} /usr/lib /usr/local/lib /opt/local/lib /sw/lib
25 + PATHS /usr/lib/ffmpeg4.4 /usr/local/lib /opt/local/lib /sw/lib
26 + NO_DEFAULT_PATH
29 find_library(FFMPEG_LIBAVUTIL
30 NAMES avutil
31 - PATHS ${_FFMPEG_AVUTIL_LIBRARY_DIRS} /usr/lib /usr/local/lib /opt/local/lib /sw/lib
32 + PATHS /usr/lib/ffmpeg4.4 /usr/local/lib /opt/local/lib /sw/lib
33 + NO_DEFAULT_PATH
37 find_library(FFMPEG_LIBSWSCALE
38 NAMES swscale
39 - PATHS ${_FFMPEG_SWSCALE_LIBRARY_DIRS} /usr/lib /usr/local/lib /opt/local/lib /sw/lib
40 + PATHS /usr/lib/ffmpeg4.4 /usr/local/lib /opt/local/lib /sw/lib
41 + NO_DEFAULT_PATH
44 find_library(FFMPEG_LIBSWRESAMPLE
45 NAMES swresample
46 - PATHS ${_FFMPEG_SWSCALE_LIBRARY_DIRS} /usr/lib /usr/local/lib /opt/local/lib /sw/lib
47 + PATHS /usr/lib/ffmpeg4.4 /usr/local/lib /opt/local/lib /sw/lib
48 + NO_DEFAULT_PATH
51 if (FFMPEG_LIBAVCODEC AND FFMPEG_LIBAVFORMAT)