lv2-c++-tools is a package containing a couple of libraries and programs
that may come in handy when writing LV2 plugins. These tools are
* libpaq - a basic RDF/Turtle parsing and querying library. You
probably don't want to use it, it's rather big and inefficient.
It's just here because it's used by...
* lv2peg - a program that reads RDF data files for LV2 plugins and
generates C header files with enums and static data for the port
indices/symbols/min/max/default values/common hints etc. Can be
useful to embed in your build system while you're hacking on a
plugin so you don't have to keep the RDF data and the code in sync
manually.
* liblv2-plugin - a library of C++ classes that you can inherit from
to create LV2 plugins. The base classes take care of all the
low-level LV2 interfacing with the host so you can implement your
plugin by overriding a couple of member functions.
* liblv2-gui - same thing for LV2 plugin GUIs.
Both these libraries are tiny static libraries that you link into your
plugins so using them will not add any runtime dependencies.
The build dependencies are the Boost headers (more particularly the
Boost.Spirit parsing framework), for libpaq, and gtkmm >= 2.8.8, for
liblv2-gui.
Get the whole thing here:
http://download.savannah.nongnu.org/releases/ll-plugins/lv2-c++-tools-0.1.6…
Once you have installed it you can read the tutorial at
http://ll-plugins.nongnu.org/lv2pftci/
and the API reference at
http://ll-plugins.nongnu.org/dox/lv2-c++-tools/0.1.666/
There may be typos, redundancies or even (gasp!) bugs in the code and
documentation, but that's what alpha testing is for!
--ll