Linux Studio Plugins Project

# Building

You may build plugins from scratch.

For successful build you need the following packages to be installed:

- gcc >= 4.7 OR clang >= 10.0.1
- gcc-c++ >= 4.7 OR clang-c++ >= 10.0.1
- libgcc_s1 >= 5.2
- libstdc++-devel >= 4.7
- jack-devel >= 1.9.5
- lv2-devel >= 1.10
- ladspa-devel >= 1.13
- libsndfile-devel >= 1.0.25
- libcairo-devel >= 1.14
- php >= 5.5.14
- libGL-devel >= 11.2.2

To build the project from archive with source code, the following sequence of commands should be performed:

      make clean

      make config

      make

      make install

To build the project from GIT repository, the additional 'make fetch' command should be issued to obtain all source code dependencies:

      make clean

      make config

      make fetch

      make

      make install

By default, all supported formats of plugins are built except XDG. Several DEs like GNOME don't support XDG format well, so desktop icon installations are disabled by default. The list of modules for build can be adjusted by specifying FEATURES variable at the configuration stage:

      make config FEATURES='lv2 vst2 doc'

Available modules are:

- doc - HTML documentation;
- jack - JACK plugin binaries;
- ladspa - LADSPA plugin binaries;
- lv2 - LV2 plugin binaries;
- vst2 - VST2 plugin binaries;
- xdg - the X11 desktop integration icons/

By default plugins use '/usr/local' path as a target directory for installation. To override this path, the PREFIX variable can be overridden:

      make config PREFIX=/usr

To build binaries for debugging, use the following commands:

      make config DEBUG=1

To build binaries for testing (developers only), use the following commands:

      make config TEST=1

To install plugins at the desired root directory, the DESTDIR variable can be specified:

      make install DESTDIR=<installation-root>

To build standalone source code package, the following commands can be issued:

      make config

      make distsrc

After that, a stanalone archive with source code will be created in the `.build` directory.

For more build options, issue:

      make help