diff options
author | McCabe Maxsted | 2010-10-03 18:04:24 -0700 |
---|---|---|
committer | McCabe Maxsted | 2010-10-03 18:04:24 -0700 |
commit | 8cbee720243e75711ec14dd627ddf08db0fbfcd5 (patch) | |
tree | 199f4c25c3b7882c13335314508d985f46da0196 /linden/indra | |
parent | RED-560: Add support for STANDALONE to OPENAL.cmake (diff) | |
parent | Merge remote branch 'aleric/weekly' into weekly-rebase (diff) | |
download | meta-impy-8cbee720243e75711ec14dd627ddf08db0fbfcd5.zip meta-impy-8cbee720243e75711ec14dd627ddf08db0fbfcd5.tar.gz meta-impy-8cbee720243e75711ec14dd627ddf08db0fbfcd5.tar.bz2 meta-impy-8cbee720243e75711ec14dd627ddf08db0fbfcd5.tar.xz |
Merge branch 'weekly-rebase' into weekly
Diffstat (limited to 'linden/indra')
-rw-r--r-- | linden/indra/cmake/GStreamer.cmake | 18 | ||||
-rw-r--r-- | linden/indra/cmake/LLMedia.cmake | 1 | ||||
-rw-r--r-- | linden/indra/llmedia/CMakeLists.txt | 2 |
3 files changed, 18 insertions, 3 deletions
diff --git a/linden/indra/cmake/GStreamer.cmake b/linden/indra/cmake/GStreamer.cmake index f5f9c03..9c5e9f7 100644 --- a/linden/indra/cmake/GStreamer.cmake +++ b/linden/indra/cmake/GStreamer.cmake | |||
@@ -1,12 +1,22 @@ | |||
1 | # -*- cmake -*- | 1 | # -*- cmake -*- |
2 | include(Prebuilt) | 2 | include(Prebuilt) |
3 | 3 | ||
4 | # Maybe libxml and glib should have their own .cmake files | 4 | if (STANDALONE) |
5 | include(FindPkgConfig) | ||
6 | |||
7 | pkg_check_modules(GSTREAMER REQUIRED gstreamer-0.10) | ||
8 | pkg_check_modules(GSTREAMER_PLUGINS_BASE REQUIRED gstreamer-plugins-base-0.10) | ||
9 | pkg_check_modules(GSTREAMER_VIDEO REQUIRED gstreamer-video-0.10) | ||
10 | |||
11 | else (STANDALONE) | ||
12 | |||
13 | # libxml and glib should have their own .cmake files | ||
5 | use_prebuilt_binary(libxml) | 14 | use_prebuilt_binary(libxml) |
6 | use_prebuilt_binary(glib) | 15 | use_prebuilt_binary(glib) |
7 | 16 | ||
8 | set(GSTREAMER_FOUND ON FORCE BOOL) | 17 | set(GSTREAMER_FOUND ON FORCE BOOL) |
9 | set(GSTREAMER_PLUGINS_BASE_FOUND ON FORCE BOOL) | 18 | set(GSTREAMER_PLUGINS_BASE_FOUND ON FORCE BOOL) |
19 | set(GSTREAMER_VIDEO_FOUND ON FORCE BOOL) | ||
10 | 20 | ||
11 | use_prebuilt_binary(gstreamer) | 21 | use_prebuilt_binary(gstreamer) |
12 | use_prebuilt_binary(gstreamer-plugins) | 22 | use_prebuilt_binary(gstreamer-plugins) |
@@ -105,9 +115,11 @@ else (WINDOWS) | |||
105 | 115 | ||
106 | endif (WINDOWS) | 116 | endif (WINDOWS) |
107 | 117 | ||
108 | if (GSTREAMER_FOUND AND GSTREAMER_PLUGINS_BASE_FOUND) | 118 | endif (STANDALONE) |
119 | |||
120 | if (GSTREAMER_FOUND AND GSTREAMER_PLUGINS_BASE_FOUND AND GSTREAMER_VIDEO_FOUND) | ||
109 | set(GSTREAMER ON CACHE BOOL "Build with GStreamer streaming media support.") | 121 | set(GSTREAMER ON CACHE BOOL "Build with GStreamer streaming media support.") |
110 | endif (GSTREAMER_FOUND AND GSTREAMER_PLUGINS_BASE_FOUND) | 122 | endif (GSTREAMER_FOUND AND GSTREAMER_PLUGINS_BASE_FOUND AND GSTREAMER_VIDEO_FOUND) |
111 | 123 | ||
112 | if (GSTREAMER) | 124 | if (GSTREAMER) |
113 | add_definitions(-DLL_GSTREAMER_ENABLED=1) | 125 | add_definitions(-DLL_GSTREAMER_ENABLED=1) |
diff --git a/linden/indra/cmake/LLMedia.cmake b/linden/indra/cmake/LLMedia.cmake index 8a36a69..e7769db 100644 --- a/linden/indra/cmake/LLMedia.cmake +++ b/linden/indra/cmake/LLMedia.cmake | |||
@@ -10,4 +10,5 @@ set(LLMEDIA_LIBRARIES | |||
10 | llmedia | 10 | llmedia |
11 | ${GSTREAMER_LIBRARIES} | 11 | ${GSTREAMER_LIBRARIES} |
12 | ${GSTREAMER_PLUGINS_BASE_LIBRARIES} | 12 | ${GSTREAMER_PLUGINS_BASE_LIBRARIES} |
13 | ${GSTREAMER_VIDEO_LIBRARIES} | ||
13 | ) | 14 | ) |
diff --git a/linden/indra/llmedia/CMakeLists.txt b/linden/indra/llmedia/CMakeLists.txt index c7b5cd1..f3c8e30 100644 --- a/linden/indra/llmedia/CMakeLists.txt +++ b/linden/indra/llmedia/CMakeLists.txt | |||
@@ -15,6 +15,7 @@ include(Mozlib) | |||
15 | include_directories( | 15 | include_directories( |
16 | ${GSTREAMER_INCLUDE_DIRS} | 16 | ${GSTREAMER_INCLUDE_DIRS} |
17 | ${GSTREAMER_PLUGINS_BASE_INCLUDE_DIRS} | 17 | ${GSTREAMER_PLUGINS_BASE_INCLUDE_DIRS} |
18 | ${GSTREAMER_VIDEO_INCLUDE_DIRS} | ||
18 | ${LLAUDIO_INCLUDE_DIRS} | 19 | ${LLAUDIO_INCLUDE_DIRS} |
19 | ${LLCOMMON_INCLUDE_DIRS} | 20 | ${LLCOMMON_INCLUDE_DIRS} |
20 | ${LLIMAGE_INCLUDE_DIRS} | 21 | ${LLIMAGE_INCLUDE_DIRS} |
@@ -75,5 +76,6 @@ target_link_libraries( | |||
75 | llmedia | 76 | llmedia |
76 | ${GSTREAMER_LIBRARIES} | 77 | ${GSTREAMER_LIBRARIES} |
77 | ${GSTREAMER_PLUGINS_BASE_LIBRARIES} | 78 | ${GSTREAMER_PLUGINS_BASE_LIBRARIES} |
79 | ${GSTREAMER_VIDEO_LIBRARIES} | ||
78 | ${QUICKTIME_LIBRARY} | 80 | ${QUICKTIME_LIBRARY} |
79 | ) | 81 | ) |