diff options
-rw-r--r-- | test/core.lv2/lv2core.ttl | 30 | ||||
-rw-r--r-- | test/core.lv2/manifest.ttl | 9 | ||||
-rw-r--r-- | wscript | 8 |
3 files changed, 47 insertions, 0 deletions
diff --git a/test/core.lv2/lv2core.ttl b/test/core.lv2/lv2core.ttl new file mode 100644 index 0000000..5659487 --- /dev/null +++ b/test/core.lv2/lv2core.ttl @@ -0,0 +1,30 @@ +@prefix lv2: <http://lv2plug.in/ns/lv2core#> . +@prefix owl: <http://www.w3.org/2002/07/owl#> . +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . + +<http://lv2plug.in/ns/lv2core> + a owl:Ontology . + +lv2:PluginBase + a rdfs:Class , + owl:Class ; + rdfs:label "Plugin Base" . + +lv2:Plugin + a rdfs:Class , + owl:Class ; + rdfs:subClassOf lv2:PluginBase ; + rdfs:label "Plugin" . + +lv2:DynamicsPlugin + a rdfs:Class , + owl:Class ; + rdfs:subClassOf lv2:Plugin ; + rdfs:label "Dynamics" . + +lv2:CompressorPlugin + a rdfs:Class , + owl:Class ; + rdfs:subClassOf lv2:DynamicsPlugin ; + rdfs:label "Compressor" . + diff --git a/test/core.lv2/manifest.ttl b/test/core.lv2/manifest.ttl new file mode 100644 index 0000000..a77ad71 --- /dev/null +++ b/test/core.lv2/manifest.ttl @@ -0,0 +1,9 @@ +@prefix doap: <http://usefulinc.com/ns/doap#> . +@prefix lv2: <http://lv2plug.in/ns/lv2core#> . +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . + +<http://lv2plug.in/ns/lv2core> + a lv2:Specification ; + lv2:minorVersion 16 ; + lv2:microVersion 0 ; + rdfs:seeAlso <lv2core.ttl> . @@ -282,6 +282,14 @@ def build(bld): test_cflags += ['--coverage'] test_linkflags += ['--coverage'] + # Copy skeleton LV2 bundle for tests + for name in ('manifest.ttl', 'lv2core.ttl'): + bld(features = 'subst', + is_copy = True, + source = 'test/core.lv2/' + name, + target = 'test_lv2_path/core.lv2/' + name, + install_path = None) + # Make a pattern for shared objects without the 'lib' prefix module_pattern = re.sub('^lib', '', bld.env.cshlib_PATTERN) shlib_ext = module_pattern[module_pattern.rfind('.'):] |