From 4ff544a97243fe5c2639f1c81998e2c8bf2fbc62 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 25 Mar 2012 23:06:13 +0000 Subject: Add pkgconfig file for all of LV2. --- lv2.pc.in | 7 +++++++ wscript | 9 +++++++++ 2 files changed, 16 insertions(+) create mode 100644 lv2.pc.in diff --git a/lv2.pc.in b/lv2.pc.in new file mode 100644 index 0000000..bfc1d14 --- /dev/null +++ b/lv2.pc.in @@ -0,0 +1,7 @@ +prefix=@PREFIX@ +includedir=@INCLUDEDIR@ + +Name: LV2 +Version: @VERSION@ +Description: An extensible audio plugin interface. +Cflags: -I${includedir} diff --git a/wscript b/wscript index 22a4452..f370ee9 100644 --- a/wscript +++ b/wscript @@ -211,6 +211,15 @@ def build(bld): for i in bld.env['LV2_SUBDIRS']: bld.recurse(i) + # LV2 pkgconfig file + obj = bld(features = 'subst', + source = 'lv2.pc.in', + target = 'lv2.pc', + install_path = '${LIBDIR}/pkgconfig', + PREFIX = bld.env['PREFIX'], + INCLUDEDIR = bld.env['INCLUDEDIR'], + VERSION = VERSION) + if bld.env['DOCS']: # Build Doxygen documentation (and tags file) autowaf.build_dox(bld, 'LV2', VERSION, top, out) -- cgit v1.2.1