Browse Source

Add pkgconfig file for all of LV2.

zrythm_meson
David Robillard 10 years ago
parent
commit
4ff544a972
  1. 7
      lv2.pc.in
  2. 9
      wscript

7
lv2.pc.in

@ -0,0 +1,7 @@ @@ -0,0 +1,7 @@
prefix=@PREFIX@
includedir=@INCLUDEDIR@
Name: LV2
Version: @VERSION@
Description: An extensible audio plugin interface.
Cflags: -I${includedir}

9
wscript

@ -211,6 +211,15 @@ def build(bld): @@ -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)

Loading…
Cancel
Save