aboutsummaryrefslogtreecommitdiffstats
path: root/lv2
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2013-12-27 19:39:06 +0000
committerDavid Robillard <d@drobilla.net>2013-12-27 19:39:06 +0000
commit939bd6476157c2110cb5fa658ad8b4145ce7a236 (patch)
tree5f87a0787184df069f054713b6e7960ccfc9b516 /lv2
parent8b1275387c758c1ee894647517e5fb30adaa3ea4 (diff)
downloadlv2-939bd6476157c2110cb5fa658ad8b4145ce7a236.tar.xz
Add lv2:prototype.
Diffstat (limited to 'lv2')
-rw-r--r--lv2/lv2plug.in/ns/lv2core/lv2.h3
-rw-r--r--lv2/lv2plug.in/ns/lv2core/lv2core.doap.ttl9
-rw-r--r--lv2/lv2plug.in/ns/lv2core/lv2core.ttl18
-rw-r--r--lv2/lv2plug.in/ns/lv2core/manifest.ttl2
-rw-r--r--lv2/lv2plug.in/ns/lv2core/wscript2
5 files changed, 31 insertions, 3 deletions
diff --git a/lv2/lv2plug.in/ns/lv2core/lv2.h b/lv2/lv2plug.in/ns/lv2core/lv2.h
index fb4df4d..dd69d6d 100644
--- a/lv2/lv2plug.in/ns/lv2core/lv2.h
+++ b/lv2/lv2plug.in/ns/lv2core/lv2.h
@@ -21,7 +21,7 @@
/**
@file lv2.h
API for the LV2 specification <http://lv2plug.in/ns/lv2core>.
- Revision: 6.5
+ Revision: 11.0
*/
#ifndef LV2_H_INCLUDED
@@ -109,6 +109,7 @@
#define LV2_CORE__port LV2_CORE_PREFIX "port"
#define LV2_CORE__portProperty LV2_CORE_PREFIX "portProperty"
#define LV2_CORE__project LV2_CORE_PREFIX "project"
+#define LV2_CORE__prototype LV2_CORE_PREFIX "prototype"
#define LV2_CORE__reportsLatency LV2_CORE_PREFIX "reportsLatency"
#define LV2_CORE__requiredFeature LV2_CORE_PREFIX "requiredFeature"
#define LV2_CORE__sampleRate LV2_CORE_PREFIX "sampleRate"
diff --git a/lv2/lv2plug.in/ns/lv2core/lv2core.doap.ttl b/lv2/lv2plug.in/ns/lv2core/lv2core.doap.ttl
index 0c3df5c..47d6254 100644
--- a/lv2/lv2plug.in/ns/lv2core/lv2core.doap.ttl
+++ b/lv2/lv2plug.in/ns/lv2core/lv2core.doap.ttl
@@ -16,6 +16,15 @@
<http://drobilla.net/drobilla#me> ;
doap:maintainer <http://drobilla.net/drobilla#me> ;
doap:release [
+ doap:revision "11.0" ;
+ doap:created "2013-12-27" ;
+ dcs:blame <http://drobilla.net/drobilla#me> ;
+ dcs:changeset [
+ dcs:item [
+ rdfs:label "Add lv2:prototype for property inheritance."
+ ]
+ ]
+ ] , [
doap:revision "10.0" ;
doap:created "2013-02-17" ;
doap:file-release <http://lv2plug.in/spec/lv2-1.4.0.tar.bz2> ;
diff --git a/lv2/lv2plug.in/ns/lv2core/lv2core.ttl b/lv2/lv2plug.in/ns/lv2core/lv2core.ttl
index dba01ca..7fbffd4 100644
--- a/lv2/lv2plug.in/ns/lv2core/lv2core.ttl
+++ b/lv2/lv2plug.in/ns/lv2core/lv2core.ttl
@@ -306,6 +306,24 @@ nice quasi-global identifiers for plugins, e.g. <q>myproj.superamp</q> which
can be useful for display or fast user entry.</p>
""" .
+lv2:prototype
+ a rdf:Property ,
+ owl:ObjectProperty ;
+ rdfs:label "prototype" ;
+ lv2:documentation """
+<p>The prototype to inherit properties from.</p>
+
+<p>This property can be used to <q>include</q> common properties in several
+descriptions. If a plugin has a prototype, then the host must load all the
+properties for the prototype as if they were properties of the plugin. That
+is, if <code>:plug lv2:prototype :prot</code>, then for each triple <code>:prot
+p o</code>, the triple <code>:plug p o</code> should be loaded.</p>
+
+<p>This facility is useful for distributing text-only plugins that rely on a
+common binary, by referring to a prototype which is installed by the
+corresponding software, along with the plugin binary.</p>
+""" .
+
lv2:minorVersion
a rdf:Property ,
owl:DatatypeProperty ;
diff --git a/lv2/lv2plug.in/ns/lv2core/manifest.ttl b/lv2/lv2plug.in/ns/lv2core/manifest.ttl
index 9a77f67..7a165c3 100644
--- a/lv2/lv2plug.in/ns/lv2core/manifest.ttl
+++ b/lv2/lv2plug.in/ns/lv2core/manifest.ttl
@@ -4,6 +4,6 @@
<http://lv2plug.in/ns/lv2core>
a lv2:Specification ;
- lv2:minorVersion 10 ;
+ lv2:minorVersion 11 ;
lv2:microVersion 0 ;
rdfs:seeAlso <lv2core.ttl> .
diff --git a/lv2/lv2plug.in/ns/lv2core/wscript b/lv2/lv2plug.in/ns/lv2core/wscript
index 79f8bc2..88104ae 100644
--- a/lv2/lv2plug.in/ns/lv2core/wscript
+++ b/lv2/lv2plug.in/ns/lv2core/wscript
@@ -6,7 +6,7 @@ import waflib.Options as Options
import glob
# Version of this package (even if built as a child)
-LV2CORE_VERSION = '6.7'
+LV2CORE_VERSION = '11.0'
# Variables for 'waf dist'
APPNAME = 'lv2core'