diff options
Diffstat (limited to 'util')
| -rwxr-xr-x | util/lv2_validate.in | 111 | ||||
| -rw-r--r-- | util/meson.build | 12 |
2 files changed, 56 insertions, 67 deletions
diff --git a/util/lv2_validate.in b/util/lv2_validate.in index 2295f98..5b9d8ec 100755 --- a/util/lv2_validate.in +++ b/util/lv2_validate.in @@ -1,5 +1,8 @@ #!/bin/sh +# Copyright 2017-2025 David Robillard <d@drobilla.net> +# SPDX-License-Identifier: ISC + LV2DIR="@LV2DIR@" if [ "$#" -eq "0" ]; then @@ -11,87 +14,61 @@ if [ "$#" -eq "0" ]; then fi sord_validate \ - "$LV2DIR/patch.lv2/manifest.ttl" \ - "$LV2DIR/patch.lv2/patch.meta.ttl" \ - "$LV2DIR/patch.lv2/patch.ttl" \ - "$LV2DIR/port-props.lv2/manifest.ttl" \ - "$LV2DIR/port-props.lv2/port-props.meta.ttl" \ - "$LV2DIR/port-props.lv2/port-props.ttl" \ - "$LV2DIR/worker.lv2/worker.meta.ttl" \ - "$LV2DIR/worker.lv2/manifest.ttl" \ - "$LV2DIR/worker.lv2/worker.ttl" \ - "$LV2DIR/buf-size.lv2/manifest.ttl" \ - "$LV2DIR/buf-size.lv2/buf-size.meta.ttl" \ + "$LV2DIR/atom.lv2/atom.ttl" \ + "$LV2DIR/atom.lv2/manifest.ttl" \ "$LV2DIR/buf-size.lv2/buf-size.ttl" \ - "$LV2DIR/midi.lv2/midi.meta.ttl" \ + "$LV2DIR/buf-size.lv2/manifest.ttl" \ + "$LV2DIR/core.lv2/lv2core.ttl" \ + "$LV2DIR/core.lv2/manifest.ttl" \ + "$LV2DIR/core.lv2/people.ttl" \ + "$LV2DIR/data-access.lv2/data-access.ttl" \ + "$LV2DIR/data-access.lv2/manifest.ttl" \ + "$LV2DIR/dynmanifest.lv2/dynmanifest.ttl" \ + "$LV2DIR/dynmanifest.lv2/manifest.ttl" \ + "$LV2DIR/event.lv2/event.ttl" \ + "$LV2DIR/event.lv2/manifest.ttl" \ + "$LV2DIR/instance-access.lv2/instance-access.ttl" \ + "$LV2DIR/instance-access.lv2/manifest.ttl" \ + "$LV2DIR/log.lv2/log.ttl" \ + "$LV2DIR/log.lv2/manifest.ttl" \ "$LV2DIR/midi.lv2/manifest.ttl" \ "$LV2DIR/midi.lv2/midi.ttl" \ - "$LV2DIR/atom.lv2/manifest.ttl" \ - "$LV2DIR/atom.lv2/atom.ttl" \ - "$LV2DIR/atom.lv2/atom.meta.ttl" \ - "$LV2DIR/dynmanifest.lv2/dynmanifest.meta.ttl" \ - "$LV2DIR/dynmanifest.lv2/manifest.ttl" \ - "$LV2DIR/dynmanifest.lv2/dynmanifest.ttl" \ + "$LV2DIR/morph.lv2/manifest.ttl" \ + "$LV2DIR/morph.lv2/morph.ttl" \ "$LV2DIR/options.lv2/manifest.ttl" \ - "$LV2DIR/options.lv2/options.meta.ttl" \ "$LV2DIR/options.lv2/options.ttl" \ "$LV2DIR/parameters.lv2/manifest.ttl" \ "$LV2DIR/parameters.lv2/parameters.ttl" \ - "$LV2DIR/parameters.lv2/parameters.meta.ttl" \ - "$LV2DIR/instance-access.lv2/instance-access.ttl" \ - "$LV2DIR/instance-access.lv2/manifest.ttl" \ - "$LV2DIR/instance-access.lv2/instance-access.meta.ttl" \ - "$LV2DIR/state.lv2/manifest.ttl" \ - "$LV2DIR/state.lv2/state.meta.ttl" \ - "$LV2DIR/state.lv2/state.ttl" \ + "$LV2DIR/patch.lv2/manifest.ttl" \ + "$LV2DIR/patch.lv2/patch.ttl" \ "$LV2DIR/port-groups.lv2/manifest.ttl" \ "$LV2DIR/port-groups.lv2/port-groups.ttl" \ - "$LV2DIR/port-groups.lv2/port-groups.meta.ttl" \ - "$LV2DIR/ui.lv2/manifest.ttl" \ - "$LV2DIR/ui.lv2/ui.ttl" \ - "$LV2DIR/ui.lv2/ui.meta.ttl" \ - "$LV2DIR/morph.lv2/manifest.ttl" \ - "$LV2DIR/morph.lv2/morph.ttl" \ - "$LV2DIR/morph.lv2/morph.meta.ttl" \ - "$LV2DIR/event.lv2/manifest.ttl" \ - "$LV2DIR/event.lv2/event.meta.ttl" \ - "$LV2DIR/event.lv2/event.ttl" \ - "$LV2DIR/resize-port.lv2/manifest.ttl" \ - "$LV2DIR/resize-port.lv2/resize-port.ttl" \ - "$LV2DIR/resize-port.lv2/resize-port.meta.ttl" \ - "$LV2DIR/log.lv2/log.ttl" \ - "$LV2DIR/log.lv2/manifest.ttl" \ - "$LV2DIR/log.lv2/log.meta.ttl" \ - "$LV2DIR/core.lv2/manifest.ttl" \ - "$LV2DIR/core.lv2/lv2core.ttl" \ - "$LV2DIR/core.lv2/lv2core.doap.ttl" \ - "$LV2DIR/core.lv2/meta.ttl" \ - "$LV2DIR/core.lv2/people.ttl" \ + "$LV2DIR/port-props.lv2/manifest.ttl" \ + "$LV2DIR/port-props.lv2/port-props.ttl" \ "$LV2DIR/presets.lv2/manifest.ttl" \ "$LV2DIR/presets.lv2/presets.ttl" \ - "$LV2DIR/presets.lv2/presets.meta.ttl" \ - "$LV2DIR/urid.lv2/manifest.ttl" \ - "$LV2DIR/urid.lv2/urid.ttl" \ - "$LV2DIR/urid.lv2/urid.meta.ttl" \ - "$LV2DIR/time.lv2/time.meta.ttl" \ + "$LV2DIR/resize-port.lv2/manifest.ttl" \ + "$LV2DIR/resize-port.lv2/resize-port.ttl" \ + "$LV2DIR/schemas.lv2/dcterms.ttl" \ + "$LV2DIR/schemas.lv2/doap.ttl" \ + "$LV2DIR/schemas.lv2/foaf.ttl" \ + "$LV2DIR/schemas.lv2/manifest.ttl" \ + "$LV2DIR/schemas.lv2/owl.ttl" \ + "$LV2DIR/schemas.lv2/rdf.ttl" \ + "$LV2DIR/schemas.lv2/rdfs.ttl" \ + "$LV2DIR/schemas.lv2/xsd.ttl" \ + "$LV2DIR/state.lv2/manifest.ttl" \ + "$LV2DIR/state.lv2/state.ttl" \ "$LV2DIR/time.lv2/manifest.ttl" \ "$LV2DIR/time.lv2/time.ttl" \ - "$LV2DIR/data-access.lv2/manifest.ttl" \ - "$LV2DIR/data-access.lv2/data-access.meta.ttl" \ - "$LV2DIR/data-access.lv2/data-access.ttl" \ + "$LV2DIR/ui.lv2/manifest.ttl" \ + "$LV2DIR/ui.lv2/ui.ttl" \ "$LV2DIR/units.lv2/manifest.ttl" \ "$LV2DIR/units.lv2/units.ttl" \ - "$LV2DIR/units.lv2/units.meta.ttl" \ - "$LV2DIR/schemas.lv2/xsd.ttl" \ - "$LV2DIR/schemas.lv2/manifest.ttl" \ - "$LV2DIR/schemas.lv2/rdf.ttl" \ - "$LV2DIR/schemas.lv2/dct.ttl" \ - "$LV2DIR/schemas.lv2/doap.ttl" \ - "$LV2DIR/schemas.lv2/rdfs.ttl" \ - "$LV2DIR/schemas.lv2/dcs.ttl" \ - "$LV2DIR/schemas.lv2/foaf.ttl" \ - "$LV2DIR/schemas.lv2/owl.ttl" \ "$LV2DIR/uri-map.lv2/manifest.ttl" \ "$LV2DIR/uri-map.lv2/uri-map.ttl" \ - "$LV2DIR/uri-map.lv2/uri-map.meta.ttl" \ - $@ + "$LV2DIR/urid.lv2/manifest.ttl" \ + "$LV2DIR/urid.lv2/urid.ttl" \ + "$LV2DIR/worker.lv2/manifest.ttl" \ + "$LV2DIR/worker.lv2/worker.ttl" \ + "$@" diff --git a/util/meson.build b/util/meson.build new file mode 100644 index 0000000..759a993 --- /dev/null +++ b/util/meson.build @@ -0,0 +1,12 @@ +# Copyright 2022-2025 David Robillard <d@drobilla.net> +# SPDX-License-Identifier: 0BSD OR ISC + +config = configuration_data({'LV2DIR': lv2dir}) + +lv2_validate = configure_file( + configuration: config, + input: files('lv2_validate.in'), + install_dir: get_option('bindir'), + install_mode: 'rwxr-xr-x', + output: 'lv2_validate', +) |