summaryrefslogtreecommitdiff
blob: 5089661021904cf77a4cf16ee990c55eac88e26a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
Index: kdenlive-0.7/cmake/modules/FindLIBFFMPEG.cmake
===================================================================
--- kdenlive-0.7.orig/cmake/modules/FindLIBFFMPEG.cmake
+++ kdenlive-0.7/cmake/modules/FindLIBFFMPEG.cmake
@@ -33,6 +33,13 @@ FIND_LIBRARY(LIBFFMPEG_LIBRARY
   NO_DEFAULT_PATH
 )
 
+FIND_LIBRARY(LIBAVCODEC_LIBRARY
+  NAMES avcodec
+  PATHS ${FFMPEG_LIBS_PATH}
+  /usr/lib /usr/local/lib
+  NO_DEFAULT_PATH
+)
+
 IF (LIBFFMPEG_LIBRARY)
   MESSAGE(STATUS "Found FFmpeg Libavformat library: ${LIBFFMPEG_LIBRARY}")
 ELSE (LIBFFMPEG_LIBRARY)
Index: kdenlive-0.7/src/CMakeLists.txt
===================================================================
--- kdenlive-0.7.orig/src/CMakeLists.txt
+++ kdenlive-0.7/src/CMakeLists.txt
@@ -17,6 +17,7 @@ LINK_LIBRARIES(
 ${LIBMLT_LIBRARY}
 ${LIBMLTPLUS_LIBRARY}
 ${LIBFFMPEG_LIBRARY}
+${LIBAVCODEC_LIBRARY}
 ${NEPOMUK_LIBRARIES}
 )