From d4a970f6962dda28133290194832b726b566ddab Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 7 Jul 2022 18:59:06 -0400 Subject: Switch to meson build system --- lv2/parameters/meson.build | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 lv2/parameters/meson.build (limited to 'lv2/parameters') diff --git a/lv2/parameters/meson.build b/lv2/parameters/meson.build new file mode 100644 index 0000000..ae50866 --- /dev/null +++ b/lv2/parameters/meson.build @@ -0,0 +1,40 @@ +# Copyright 2022 David Robillard +# SPDX-License-Identifier: CC0-1.0 OR ISC + +name = 'parameters' +path = 'ns' / 'ext' / 'parameters' + +parameters_data = files( + 'parameters.meta.ttl', + 'parameters.ttl', + 'manifest.ttl', +) + +headers = files( + 'parameters.h', +) + +# Install specification bundle +install_data(parameters_data, install_dir: lv2dir / name + '.lv2') +install_headers(headers, subdir: 'lv2' / name) +if get_option('old_headers') + install_headers(headers, subdir: 'lv2' / 'lv2plug.in' / path) +endif + +# Build documentation +if build_docs + lv2_parameters_docs = custom_target( + name + '.html', + command: lv2specgen_command_prefix + [ + '--docdir=../../html', + '--style-uri=../../aux/style.css', + '@INPUT@', + '@OUTPUT@', + ], + depends: doc_deps, + input: files('parameters.ttl'), + install: true, + install_dir: lv2_docdir / 'ns' / 'ext', + output: name + '.html', + ) +endif -- cgit v1.2.1