gtk+3: update to 3.24.48
[oi-userland.git] / components / multimedia / openal / patches / 03-disable-ffmpeg.patch
bloba657ad5c1d38cec69de68ad48f3949a1ea7813e8
1 --- openal-soft-1.16.0/CMakeLists.txt.1 2017-03-06 20:28:29.522762930 +0300
2 +++ openal-soft-1.16.0/CMakeLists.txt 2017-03-06 20:29:41.657713043 +0300
3 @@ -997,10 +997,10 @@
4 IF(SDL_SOUND_FOUND AND CMAKE_VERSION VERSION_LESS "2.8.8")
5 INCLUDE_DIRECTORIES(${SDL2_INCLUDE_DIR} ${SDL_SOUND_INCLUDE_DIR})
6 ENDIF()
7 - FIND_PACKAGE(FFmpeg COMPONENTS AVFORMAT AVCODEC AVUTIL SWSCALE SWRESAMPLE)
8 - IF(FFMPEG_FOUND AND CMAKE_VERSION VERSION_LESS "2.8.8")
9 - INCLUDE_DIRECTORIES(${FFMPEG_INCLUDE_DIRS})
10 - ENDIF()
11 +# FIND_PACKAGE(FFmpeg COMPONENTS AVFORMAT AVCODEC AVUTIL SWSCALE SWRESAMPLE)
12 +# IF(FFMPEG_FOUND AND CMAKE_VERSION VERSION_LESS "2.8.8")
13 +# INCLUDE_DIRECTORIES(${FFMPEG_INCLUDE_DIRS})
14 +# ENDIF()
15 ENDIF()
16 ENDIF()
18 @@ -1206,29 +1206,29 @@
21 SET(FFVER_OK FALSE)
22 - IF(FFMPEG_FOUND)
23 - SET(FFVER_OK TRUE)
24 - IF(AVFORMAT_VERSION VERSION_LESS "55.33.100")
25 - MESSAGE(STATUS "libavformat is too old! (${AVFORMAT_VERSION}, wanted 55.33.100)")
26 - SET(FFVER_OK FALSE)
27 - ENDIF()
28 - IF(AVCODEC_VERSION VERSION_LESS "55.52.102")
29 - MESSAGE(STATUS "libavcodec is too old! (${AVCODEC_VERSION}, wanted 55.52.102)")
30 - SET(FFVER_OK FALSE)
31 - ENDIF()
32 - IF(AVUTIL_VERSION VERSION_LESS "52.66.100")
33 - MESSAGE(STATUS "libavutil is too old! (${AVUTIL_VERSION}, wanted 52.66.100)")
34 - SET(FFVER_OK FALSE)
35 - ENDIF()
36 - IF(SWSCALE_VERSION VERSION_LESS "2.5.102")
37 - MESSAGE(STATUS "libswscale is too old! (${SWSCALE_VERSION}, wanted 2.5.102)")
38 - SET(FFVER_OK FALSE)
39 - ENDIF()
40 - IF(SWRESAMPLE_VERSION VERSION_LESS "0.18.100")
41 - MESSAGE(STATUS "libswresample is too old! (${SWRESAMPLE_VERSION}, wanted 0.18.100)")
42 - SET(FFVER_OK FALSE)
43 - ENDIF()
44 - ENDIF()
45 +# IF(FFMPEG_FOUND)
46 +# SET(FFVER_OK TRUE)
47 +# IF(AVFORMAT_VERSION VERSION_LESS "55.33.100")
48 +# MESSAGE(STATUS "libavformat is too old! (${AVFORMAT_VERSION}, wanted 55.33.100)")
49 +# SET(FFVER_OK FALSE)
50 +# ENDIF()
51 +# IF(AVCODEC_VERSION VERSION_LESS "55.52.102")
52 +# MESSAGE(STATUS "libavcodec is too old! (${AVCODEC_VERSION}, wanted 55.52.102)")
53 +# SET(FFVER_OK FALSE)
54 +# ENDIF()
55 +# IF(AVUTIL_VERSION VERSION_LESS "52.66.100")
56 +# MESSAGE(STATUS "libavutil is too old! (${AVUTIL_VERSION}, wanted 52.66.100)")
57 +# SET(FFVER_OK FALSE)
58 +# ENDIF()
59 +# IF(SWSCALE_VERSION VERSION_LESS "2.5.102")
60 +# MESSAGE(STATUS "libswscale is too old! (${SWSCALE_VERSION}, wanted 2.5.102)")
61 +# SET(FFVER_OK FALSE)
62 +# ENDIF()
63 +# IF(SWRESAMPLE_VERSION VERSION_LESS "0.18.100")
64 +# MESSAGE(STATUS "libswresample is too old! (${SWRESAMPLE_VERSION}, wanted 0.18.100)")
65 +# SET(FFVER_OK FALSE)
66 +# ENDIF()
67 +# ENDIF()
68 IF(FFVER_OK AND NOT MSVC)
69 ADD_EXECUTABLE(alffplay examples/alffplay.c)
70 TARGET_LINK_LIBRARIES(alffplay common ex-common ${SDL2_LIBRARY} ${LIBNAME} ${FFMPEG_LIBRARIES})