diff options
author | McCabe Maxsted | 2010-11-02 21:32:04 -0700 |
---|---|---|
committer | McCabe Maxsted | 2010-11-02 21:32:04 -0700 |
commit | b5074f1a8e3306f1be9e93172d26c97ff088cea0 (patch) | |
tree | a53d5cc54a1f339b7637a9d7d8248eca42995af2 /linden/indra/cmake/GStreamer010Plugin.cmake | |
parent | Revert "Fix Bug #671 (aka VWR-1603): Duckwalk is too fast" (diff) | |
parent | Uploaded the linux64 libraries created by Aleric to imprudenceviewer.org (diff) | |
download | meta-impy-b5074f1a8e3306f1be9e93172d26c97ff088cea0.zip meta-impy-b5074f1a8e3306f1be9e93172d26c97ff088cea0.tar.gz meta-impy-b5074f1a8e3306f1be9e93172d26c97ff088cea0.tar.bz2 meta-impy-b5074f1a8e3306f1be9e93172d26c97ff088cea0.tar.xz |
Merged webkit_plugins into weekly. Huzzah! The weekly branch now has browser/media plugin support
Diffstat (limited to 'linden/indra/cmake/GStreamer010Plugin.cmake')
-rw-r--r-- | linden/indra/cmake/GStreamer010Plugin.cmake | 66 |
1 files changed, 66 insertions, 0 deletions
diff --git a/linden/indra/cmake/GStreamer010Plugin.cmake b/linden/indra/cmake/GStreamer010Plugin.cmake new file mode 100644 index 0000000..90ed35c --- /dev/null +++ b/linden/indra/cmake/GStreamer010Plugin.cmake | |||
@@ -0,0 +1,66 @@ | |||
1 | # -*- cmake -*- | ||
2 | include(Prebuilt) | ||
3 | |||
4 | if (STANDALONE) | ||
5 | include(FindPkgConfig) | ||
6 | |||
7 | pkg_check_modules(GSTREAMER010 REQUIRED gstreamer-0.10) | ||
8 | pkg_check_modules(GSTREAMER010_PLUGINS_BASE REQUIRED gstreamer-plugins-base-0.10) | ||
9 | |||
10 | else (STANDALONE) | ||
11 | |||
12 | # Possibly libxml and glib should have their own .cmake file instead... | ||
13 | use_prebuilt_binary(glib) # gstreamer needs glib | ||
14 | use_prebuilt_binary(libxml) | ||
15 | use_prebuilt_binary(gstreamer) | ||
16 | set(GSTREAMER010_FOUND ON FORCE BOOL) | ||
17 | set(GSTREAMER010_PLUGINS_BASE_FOUND ON FORCE BOOL) | ||
18 | set(GSTREAMER010_INCLUDE_DIRS | ||
19 | ${LIBS_PREBUILT_DIR}/${LL_ARCH_DIR}/include/gstreamer-0.10 | ||
20 | ${LIBS_PREBUILT_DIR}/${LL_ARCH_DIR}/include/glib-2.0 | ||
21 | ${LIBS_PREBUILT_DIR}/${LL_ARCH_DIR}/include/libxml2 | ||
22 | ) | ||
23 | |||
24 | endif (STANDALONE) | ||
25 | |||
26 | if (WINDOWS) | ||
27 | # We don't need to explicitly link against gstreamer itself, because | ||
28 | # LLMediaImplGStreamer probes for the system's copy at runtime. | ||
29 | set(GSTREAMER010_LIBRARIES | ||
30 | libgstvideo | ||
31 | libgstaudio | ||
32 | libgstbase-0.10 | ||
33 | libgstreamer-0.10 | ||
34 | gobject-2.0 | ||
35 | gmodule-2.0 | ||
36 | gthread-2.0 | ||
37 | glib-2.0 | ||
38 | ) | ||
39 | else (WINDOWS) | ||
40 | # We don't need to explicitly link against gstreamer itself, because | ||
41 | # LLMediaImplGStreamer probes for the system's copy at runtime. | ||
42 | set(GSTREAMER010_LIBRARIES | ||
43 | gstvideo-0.10 | ||
44 | gstaudio-0.10 | ||
45 | gstbase-0.10 | ||
46 | gstreamer-0.10 | ||
47 | gobject-2.0 | ||
48 | gmodule-2.0 | ||
49 | dl | ||
50 | gthread-2.0 | ||
51 | rt | ||
52 | glib-2.0 | ||
53 | ) | ||
54 | |||
55 | |||
56 | endif (WINDOWS) | ||
57 | |||
58 | |||
59 | if (GSTREAMER010_FOUND AND GSTREAMER010_PLUGINS_BASE_FOUND) | ||
60 | set(GSTREAMER010 ON CACHE BOOL "Build with GStreamer-0.10 streaming media support.") | ||
61 | add_definitions(-DLL_GSTREAMER010_ENABLED=1) | ||
62 | endif (GSTREAMER010_FOUND AND GSTREAMER010_PLUGINS_BASE_FOUND) | ||
63 | |||
64 | |||
65 | |||
66 | |||