$OpenBSD: patch-remoting_remoting_gyp,v 1.2 2011/03/15 11:38:05 robert Exp $ --- remoting/remoting.gyp.orig Fri Mar 11 10:01:06 2011 +++ remoting/remoting.gyp Mon Mar 14 10:55:37 2011 @@ -16,7 +16,7 @@ }, 'conditions': [ - ['OS=="linux" or OS=="mac"', { + ['OS=="linux" or OS=="openbsd" or OS=="mac"', { 'targets': [ # Simple webserver for testing chromoting client plugin. { @@ -40,6 +40,8 @@ 'chromoting_base', 'chromoting_client', 'chromoting_jingle_glue', + '../build/linux/system.gyp:x11', + '../build/linux/system.gyp:xext', ], 'link_settings': { 'libraries': [ @@ -221,7 +223,11 @@ 'host/event_executor_win.h', ], }], - ['OS=="linux"', { + ['OS=="linux" or OS=="openbsd"', { + 'dependencies': [ + '../build/linux/system.gyp:x11', + '../build/linux/system.gyp:xext', + ], 'sources': [ 'host/capturer_linux.cc', 'host/capturer_linux.h', @@ -233,6 +239,7 @@ '-lX11', '-lXdamage', '-lXtst', + '-lvpx', ], }, }], @@ -500,7 +507,7 @@ 'host/capturer_gdi_unittest.cc', ], }], - ['OS=="linux"', { + ['OS=="linux" or OS=="openbsd"', { 'dependencies': [ # Needed for the following #include chain: # base/run_all_unittests.cc