# Building XJadeo from source

Here be dragons.

## Basic building

The usual autotools spell applies:

    ./configure
    make
    sudo make install

However xjadeo requires quite a few build dependencies:

Development packages for the following software must be available to compile xjadeo:

- `ffmpeg` (various libraries from ffmpeg.org, at least version 1.0)
- `jack-audio-connection-kit` (jackaudio.org)
- `libX11` (on Linux only, X.org)
- `glu` (mandatory on OSX and Windows only, highly recommended on GNU/Linux, opengl.org)

Recommended optional dependencies:

- `glu` (opengl display, if you don't have it already)
- `freetype2` (on-screen-display, freetype.org)
- `asound` (ALSA MIDI [MTC] support, alsa-project.org)
- `portmidi, porttime` (windows/OSX MIDI [MTC] support, portmedia.sf.net)
- `libltc` (LTC synchronization, x42.github.io/libltc)
- `liblo` (OSC remote control, liblo.sf.net)

Options: (fall-back and legacy video outputs)

- `libXv` (on Linux, X11-video acceleration, X.org)
- `imlib2` (Linux RGB display, enlightenment.org)
- `SDL-1.2` (meant for windows only, really - but works on Linux, OSX too, libsdl.org)

Deprecated:

- QT3 or QT4 (for external remote-control GUI)

## Cross compilation, static binaries and bundles

Please see the variety of `x-*.sh` scripts in the source's root folder in the git repository.