tibia/templates/lv2/data/manifest.ttl

41 lines
1.0 KiB
Turtle
Raw Normal View History

2024-01-02 17:38:46 +00:00
{{~it.tibia.lv2.prefixes :p}}
@prefix {{=p.id}}: <{{=p.uri}}> .
{{~}}
{{=it.tibia.lv2.ttlURI(it.lv2.uri)}}
a lv2:Plugin ;
{{~it.lv2.types :t}}
a {{=it.tibia.lv2.ttlURI(t)}} ;
{{~}}
{{?it.lv2.project}}
lv2:project {{=it.tibia.lv2.ttlURI(it.lv2.project)}} ;
{{?}}
lv2:binary <{{=it.product.bundleName}}.so> ;
doap:name "{{=it.product.name}}" ;
lv2:optionalFeature lv2:hardRTCapable ;
lv2:port [
{{~it.tibia.lv2.ports :p:i}}
2024-01-08 15:10:31 +00:00
a {{?p.type == "control"}}lv2:ControlPort{{??}}{{?p.cv}}lv2:CVPort{{??}}lv2:AudioPort{{?}}{{?}} ,
2024-01-02 17:38:46 +00:00
{{?p.direction == "input"}}lv2:InputPort{{??}}lv2:OutputPort{{?}} ;
lv2:name "{{=p.name}}" ;
lv2:symbol "{{=p.symbol}}" ;
2024-01-05 14:35:39 +00:00
{{?"defaultValue" in p}}
2024-01-02 17:38:46 +00:00
lv2:default {{=p.defaultValue.toExponential()}} ;
2024-01-05 14:35:39 +00:00
{{?}}
{{?"minimum" in p}}
lv2:minimum {{=p.minimum.toExponential()}} ;
{{?}}
{{?"maximum" in p}}
lv2:maximum {{=p.maximum.toExponential()}} ;
2024-01-08 15:10:31 +00:00
{{?}}
{{?p.sidechain}}
lv2:portProperty lv2:isSideChain ;
2024-01-02 17:38:46 +00:00
{{?}}
lv2:index {{=i}}
{{?i < it.tibia.lv2.ports.length - 1}}
] , [
{{??}}
] .
{{?}}
{{~}}