Prepare your compile environment,
Grab the source of VLC media player,
Bootstrap, using the ./bootstrap script, if you took the code from repository,
Prepare the extras libraries needed for VLC media player, read the list,
Configure,
Build, using make,
and Profit!