new_contents: import cffi
  from pathlib import Path
  
  base = Path(__file__).parent
  
  ffibuilder = cffi.FFI()
  
  ffibuilder.set_source("robotd.native._cvcapture", """
      int cvcapture(void* buffer, size_t width, size_t height);
  """, sources=[
      base / 'cvcapture.cpp',
  ])
  
  ffibuilder.cdef("""
      int cvcapture(void* buffer, size_t width, size_t height);
  """)
  
  if __name__ == '__main__':
      ffibuilder.compile(verbose=True)
  
subject: Add CFFI build script