diff options
author | Robin Cornelius | 2010-10-10 15:48:32 +0100 |
---|---|---|
committer | Robin Cornelius | 2010-10-10 15:48:32 +0100 |
commit | f001c10b78553fe3a59a2a71c223d094118bf8a8 (patch) | |
tree | 2eca1d683699e27f64629b8a3862895e016e1d23 /linden/indra/newview | |
parent | one more poke on trees+grass + fix the windlight water (diff) | |
download | meta-impy-f001c10b78553fe3a59a2a71c223d094118bf8a8.zip meta-impy-f001c10b78553fe3a59a2a71c223d094118bf8a8.tar.gz meta-impy-f001c10b78553fe3a59a2a71c223d094118bf8a8.tar.bz2 meta-impy-f001c10b78553fe3a59a2a71c223d094118bf8a8.tar.xz |
Let the gstreamer plugin build on windows
Diffstat (limited to 'linden/indra/newview')
-rw-r--r-- | linden/indra/newview/CMakeLists.txt | 20 | ||||
-rwxr-xr-x | linden/indra/newview/viewer_manifest.py | 6 |
2 files changed, 21 insertions, 5 deletions
diff --git a/linden/indra/newview/CMakeLists.txt b/linden/indra/newview/CMakeLists.txt index 3dabb3b..8b1d59a 100644 --- a/linden/indra/newview/CMakeLists.txt +++ b/linden/indra/newview/CMakeLists.txt | |||
@@ -1336,7 +1336,7 @@ if (WINDOWS) | |||
1336 | DEPENDS ${VIEWER_BINARY_NAME} ${CMAKE_CURRENT_SOURCE_DIR}/viewer_manifest.py | 1336 | DEPENDS ${VIEWER_BINARY_NAME} ${CMAKE_CURRENT_SOURCE_DIR}/viewer_manifest.py |
1337 | ) | 1337 | ) |
1338 | 1338 | ||
1339 | add_dependencies(${VIEWER_BINARY_NAME} SLPlugin media_plugin_quicktime media_plugin_webkit) | 1339 | add_dependencies(${VIEWER_BINARY_NAME} SLPlugin media_plugin_quicktime media_plugin_webkit media_plugin_gstreamer) |
1340 | 1340 | ||
1341 | if (PACKAGE) | 1341 | if (PACKAGE) |
1342 | add_custom_target(package ALL DEPENDS ${CMAKE_CFG_INTDIR}/touched.bat) | 1342 | add_custom_target(package ALL DEPENDS ${CMAKE_CFG_INTDIR}/touched.bat) |
@@ -1456,7 +1456,7 @@ if (DARWIN) | |||
1456 | DEPENDS ${VIEWER_BINARY_NAME} ${CMAKE_CURRENT_SOURCE_DIR}/viewer_manifest.py | 1456 | DEPENDS ${VIEWER_BINARY_NAME} ${CMAKE_CURRENT_SOURCE_DIR}/viewer_manifest.py |
1457 | ) | 1457 | ) |
1458 | 1458 | ||
1459 | add_dependencies(${VIEWER_BINARY_NAME} SLPlugin media_plugin_quicktime media_plugin_webkit) | 1459 | add_dependencies(${VIEWER_BINARY_NAME} SLPlugin media_plugin_quicktime media_plugin_webkit media_plugin_gstreamer010) |
1460 | 1460 | ||
1461 | if (PACKAGE) | 1461 | if (PACKAGE) |
1462 | add_custom_target(package ALL DEPENDS ${VIEWER_BINARY_NAME}) | 1462 | add_custom_target(package ALL DEPENDS ${VIEWER_BINARY_NAME}) |
@@ -1481,7 +1481,7 @@ if (DARWIN) | |||
1481 | ${CMAKE_CURRENT_SOURCE_DIR}/viewer_manifest.py | 1481 | ${CMAKE_CURRENT_SOURCE_DIR}/viewer_manifest.py |
1482 | ) | 1482 | ) |
1483 | 1483 | ||
1484 | add_dependencies(${VIEWER_BINARY_NAME} SLPlugin media_plugin_quicktime media_plugin_webkit) | 1484 | add_dependencies(${VIEWER_BINARY_NAME} SLPlugin media_plugin_quicktime media_plugin_webkit media_plugin_gstreamer010) |
1485 | add_custom_command( | 1485 | add_custom_command( |
1486 | TARGET package POST_BUILD | 1486 | TARGET package POST_BUILD |
1487 | COMMAND ${PYTHON_EXECUTABLE} | 1487 | COMMAND ${PYTHON_EXECUTABLE} |
@@ -1534,7 +1534,19 @@ if (WINDOWS) | |||
1534 | ${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_CFG_INTDIR}/llplugin | 1534 | ${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_CFG_INTDIR}/llplugin |
1535 | COMMENT "Copying WebKit Plugin to the runtime folder." | 1535 | COMMENT "Copying WebKit Plugin to the runtime folder." |
1536 | ) | 1536 | ) |
1537 | 1537 | ||
1538 | get_target_property(BUILT_GSTREAMER_PLUGIN media_plugin_gstreamer010 LOCATION) | ||
1539 | add_custom_command( | ||
1540 | TARGET ${VIEWER_BINARY_NAME} POST_BUILD | ||
1541 | COMMAND ${CMAKE_COMMAND} | ||
1542 | ARGS | ||
1543 | -E | ||
1544 | copy_if_different | ||
1545 | ${BUILT_GSTREAMER_PLUGIN} | ||
1546 | ${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_CFG_INTDIR}/llplugin | ||
1547 | COMMENT "Copying Gstreamer Plugin to the runtime folder." | ||
1548 | ) | ||
1549 | |||
1538 | get_target_property(BUILT_QUICKTIME_PLUGIN media_plugin_quicktime LOCATION) | 1550 | get_target_property(BUILT_QUICKTIME_PLUGIN media_plugin_quicktime LOCATION) |
1539 | add_custom_command( | 1551 | add_custom_command( |
1540 | TARGET ${VIEWER_BINARY_NAME} POST_BUILD | 1552 | TARGET ${VIEWER_BINARY_NAME} POST_BUILD |
diff --git a/linden/indra/newview/viewer_manifest.py b/linden/indra/newview/viewer_manifest.py index 4c95f00..9c2dbed 100755 --- a/linden/indra/newview/viewer_manifest.py +++ b/linden/indra/newview/viewer_manifest.py | |||
@@ -257,7 +257,6 @@ class WindowsManifest(ViewerManifest): | |||
257 | self.path("alut.dll") | 257 | self.path("alut.dll") |
258 | self.end_prefix() | 258 | self.end_prefix() |
259 | 259 | ||
260 | |||
261 | # Media plugins - QuickTime | 260 | # Media plugins - QuickTime |
262 | if self.prefix(src='../media_plugins/quicktime/%s' % self.args['configuration'], dst="llplugin"): | 261 | if self.prefix(src='../media_plugins/quicktime/%s' % self.args['configuration'], dst="llplugin"): |
263 | self.path("media_plugin_quicktime.dll") | 262 | self.path("media_plugin_quicktime.dll") |
@@ -268,6 +267,11 @@ class WindowsManifest(ViewerManifest): | |||
268 | self.path("media_plugin_webkit.dll") | 267 | self.path("media_plugin_webkit.dll") |
269 | self.end_prefix() | 268 | self.end_prefix() |
270 | 269 | ||
270 | # Media plugins - Gstreamer | ||
271 | if self.prefix(src='../media_plugins/gstreamer/%s' % self.args['configuration'], dst="llplugin"): | ||
272 | self.path("media_plugin_gstreamer010.dll") | ||
273 | self.end_prefix() | ||
274 | |||
271 | # For WebKit/Qt plugin runtimes | 275 | # For WebKit/Qt plugin runtimes |
272 | if self.prefix(src="../../libraries/i686-win32/lib/release", dst="llplugin"): | 276 | if self.prefix(src="../../libraries/i686-win32/lib/release", dst="llplugin"): |
273 | self.path("libeay32.dll") | 277 | self.path("libeay32.dll") |