2010-09-04 Lucas De Marchi <lucas.demarchi@profusion.mobi>
[WebKit-https.git] / WebKit / efl / CMakeListsEfl.txt
index e5fb9ef..cff1822 100644 (file)
@@ -21,12 +21,23 @@ LIST(APPEND WebKit_INCLUDE_DIRECTORIES
     ${SQLITE_INCLUDE_DIRS}
 )
 
+IF (ENABLE_VIDEO)
+LIST(APPEND WebKit_INCLUDE_DIRECTORIES
+    "${WEBCORE_DIR}/platform/graphics/gstreamer"
+    ${Gstreamer-App_INCLUDE_DIRS}
+    ${Gstreamer-Interfaces_INCLUDE_DIRS}
+    ${Gstreamer-Pbutils_INCLUDE_DIRS}
+    ${Gstreamer-Video_INCLUDE_DIRS}
+)
+ENDIF()
+
 LIST(APPEND WebKit_SOURCES
     efl/WebCoreSupport/ChromeClientEfl.cpp
     efl/WebCoreSupport/ContextMenuClientEfl.cpp
     efl/WebCoreSupport/DragClientEfl.cpp
     efl/WebCoreSupport/EditorClientEfl.cpp
     efl/WebCoreSupport/FrameLoaderClientEfl.cpp
+    efl/WebCoreSupport/FullscreenVideoControllerEfl.cpp
     efl/WebCoreSupport/InspectorClientEfl.cpp
 
     efl/ewk/ewk_contextmenu.cpp
@@ -49,12 +60,17 @@ LIST(APPEND WebKit_LIBRARIES
     ${LIBXML2_LIBRARIES}
     ${Pango_LIBRARIES}
     ${SQLITE_LIBRARIES}
+    ${FONTCONFIG_LIBRARIES}
+    ${PNG_LIBRARY}
+    ${JPEG_LIBRARY}
+    ${CMAKE_DL_LIBS}
 )
 
 IF (ENABLE_GLIB_SUPPORT)
   LIST(APPEND WebKit_INCLUDE_DIRECTORIES
     ${Gdk_INCLUDE_DIRS}
     ${Glib_INCLUDE_DIRS}
+    ${JAVASCRIPTCORE_DIR}/wtf/gobject
   )
   LIST(APPEND WebKit_LIBRARIES
     ${Glib_LIBRARIES}
@@ -143,54 +159,6 @@ ADD_CUSTOM_COMMAND(
   VERBATIM
 )
 
-SET(EWebLauncher_SOURCES
-    efl/DefaultTheme/default.edj
-    efl/EWebLauncher/main.c
-)
-
-SET(EWebLauncher_LIBRARIES
-    ${JavaScriptCore_LIBRARY_NAME}
-    ${WebCore_LIBRARY_NAME}
-    ${WebKit_LIBRARY_NAME}
-    ${Cairo_LIBRARIES}
-    ${ECORE_X_LIBRARIES}
-    ${EDJE_LIBRARIES}
-    ${EFLDEPS_LIBRARIES}
-    ${EVAS_LIBRARIES}
-    ${LIBXML2_LIBRARIES}
-    ${LIBXSLT_LIBRARIES}
-    ${SQLITE_LIBRARIES}
-)
-
-SET(EWebLauncher_LINK_FLAGS
-    ${ECORE_X_LDFLAGS}
-    ${EDJE_LDFLAGS}
-    ${EFLDEPS_LDFLAGS}
-    ${EVAS_LDFLAGS}
-)
-
-IF (ENABLE_GLIB_SUPPORT)
-  LIST(APPEND EWebLauncher_LIBRARIES
-    ${Gdk_LIBRARIES}
-    ${Glib_LIBRARIES}
-    ${GTHREAD_LIBRARIES}
-  )
-ENDIF ()
-
-IF (WTF_USE_SOUP)
-  LIST(APPEND EWebLauncher_LIBRARIES ${LIBSOUP24_LIBRARIES})
-  LIST(APPEND EWebLauncher_LINK_FLAGS ${LIBSOUP24_LDFLAGS})
-ENDIF ()
-
-IF (WTF_USE_CURL)
-  LIST(APPEND EWebLauncher_LIBRARIES ${CURL_LIBRARIES})
-  LIST(APPEND EWebLauncher_LINK_FLAGS ${CURL_LDFLAGS})
-ENDIF ()
-
-ADD_EXECUTABLE(../Programs/EWebLauncher ${EWebLauncher_SOURCES})
-TARGET_LINK_LIBRARIES(../Programs/EWebLauncher ${EWebLauncher_LIBRARIES})
-ADD_TARGET_PROPERTIES(../Programs/EWebLauncher LINK_FLAGS "${EWebLauncher_LINK_FLAGS}")
-
 IF (SHARED_CORE)
     SET(LIBS_PRIVATE "-l${WTF_LIBRARY_NAME} -l${JavaScriptCore_LIBRARY_NAME} -l${WebCore_LIBRARY_NAME}")
 ELSE ()
@@ -210,4 +178,7 @@ FILE(GLOB EWebKit_HEADERS "${CMAKE_CURRENT_SOURCE_DIR}/efl/ewk/*.h")
 LIST(REMOVE_ITEM EWebKit_HEADERS "${CMAKE_CURRENT_SOURCE_DIR}/efl/ewk/ewk_private.h")
 
 INSTALL(FILES ${EWebKit_HEADERS}
-        DESTINATION include/EWebKit)
+        DESTINATION include/${WebKit_LIBRARY_NAME}-${PROJECT_VERSION_MAJOR})
+
+INSTALL(FILES ${WebKit_THEME}
+        DESTINATION share/${WebKit_LIBRARY_NAME}-${PROJECT_VERSION_MAJOR}/themes)