tibia/templates/lv2/data/manifest.ttl

58 lines
1.4 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}}" ;
2024-01-09 10:47:25 +00:00
lv2:minorVersion {{=/^([0-9]+)\./.exec(it.lv2.version)[1]}} ;
lv2:microVersion {{=/^[0-9]+\.([0-9]+)/.exec(it.lv2.version)[1]}} ;
2024-01-02 17:38:46 +00:00
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}}" ;
2024-01-09 10:47:25 +00:00
{{?"shortName" in p}}
lv2:shortName "{{=p.shortName.substring(0, 16)}}" ;
{{?}}
2024-01-02 17:38:46 +00:00
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-09 10:47:25 +00:00
{{?}}
{{?p.isBypass}}
lv2:designation lv2:enabled ;
{{?}}
{{?p.isLatency}}
lv2:designation lv2:latency ;
{{?}}
{{?p.toggled}}
lv2:portProperty lv2:toggled ;
{{?}}
{{?p.optional}}
lv2:portProperty lv2:connectionOptional ;
2024-01-02 17:38:46 +00:00
{{?}}
lv2:index {{=i}}
{{?i < it.tibia.lv2.ports.length - 1}}
] , [
{{??}}
] .
{{?}}
{{~}}