aboutsummaryrefslogtreecommitdiffstats
path: root/lv2/core
diff options
context:
space:
mode:
Diffstat (limited to 'lv2/core')
-rw-r--r--lv2/core/meson.build44
-rw-r--r--lv2/core/meta.ttl2
2 files changed, 46 insertions, 0 deletions
diff --git a/lv2/core/meson.build b/lv2/core/meson.build
new file mode 100644
index 0000000..a629d0a
--- /dev/null
+++ b/lv2/core/meson.build
@@ -0,0 +1,44 @@
+# Copyright 2022 David Robillard <d@drobilla.net>
+# SPDX-License-Identifier: CC0-1.0 OR ISC
+
+name = 'core'
+path = 'ns' / 'lv2core'
+
+core_data = files(
+ 'lv2core.meta.ttl',
+ 'lv2core.ttl',
+ 'manifest.ttl',
+ 'meta.ttl',
+ 'people.ttl',
+)
+
+headers = files(
+ 'attributes.h',
+ 'lv2.h',
+ 'lv2_util.h',
+)
+
+# Install specification bundle
+install_data(core_data, install_dir: lv2dir / name + '.lv2')
+install_headers(headers, subdir: 'lv2' / name)
+if get_option('old_headers')
+ install_headers(headers, subdir: 'lv2' / 'lv2plug.in' / 'ns' / 'lv2core')
+endif
+
+# Build documentation
+if build_docs
+ lv2_core_docs = custom_target(
+ 'lv2core.html',
+ command: lv2specgen_command_prefix + [
+ '--docdir=../html',
+ '--style-uri=../aux/style.css',
+ '@INPUT@',
+ '@OUTPUT@',
+ ],
+ depends: doc_deps,
+ input: files('lv2core.ttl'),
+ install: true,
+ install_dir: lv2_docdir / 'ns',
+ output: 'lv2core.html',
+ )
+endif
diff --git a/lv2/core/meta.ttl b/lv2/core/meta.ttl
index d85f539..34cfa4f 100644
--- a/lv2/core/meta.ttl
+++ b/lv2/core/meta.ttl
@@ -46,6 +46,8 @@ THIS SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH R
rdfs:label "Remove archaic properties from foaf vocabulary."
] , [
rdfs:label "Replace canonical dcs ontology with a minimal version for LV2."
+ ] , [
+ rdfs:label "Switch to Meson build system."
]
]
] , [