diff --git a/multimedia/misc/lv2/files/lv2-1.16.0-fix_lv2_validate.patch b/multimedia/misc/lv2/files/lv2-1.16.0-fix_lv2_validate.patch new file mode 100644 index 0000000000..b65267ab71 --- /dev/null +++ b/multimedia/misc/lv2/files/lv2-1.16.0-fix_lv2_validate.patch @@ -0,0 +1,62 @@ +From 51e6005c9f33a9dd6ac5004a09fcb6ffbdee8dee Mon Sep 17 00:00:00 2001 +From: Hanspeter Portner +Date: Sun, 24 Feb 2019 10:18:16 +0100 +Subject: [PATCH] Fix lv2_validate to use proper core.lv2 path + +--- + plugins/eg-params.lv2/params.ttl | 6 +++--- + plugins/eg-sampler.lv2/sampler.ttl | 2 +- + util/lv2_validate.in | 8 ++++---- + 3 files changed, 8 insertions(+), 8 deletions(-) + +diff --git a/plugins/eg-params.lv2/params.ttl b/plugins/eg-params.lv2/params.ttl +index dbcf6aa..931c826 100644 +--- a/plugins/eg-params.lv2/params.ttl ++++ b/plugins/eg-params.lv2/params.ttl +@@ -116,11 +116,11 @@ plug:spring + state:state [ + plug:int 0 ; + plug:long "0"^^xsd:long ; +- plug:float 0.1234 ; ++ plug:float "0.1234"^^xsd:float ; + plug:double "0e0"^^xsd:double ; + plug:bool false ; + plug:string "Hello, world" ; + plug:path ; +- plug:spring 0.0 ; +- plug:lfo 0.0 ++ plug:spring "0.0"^^xsd:float ; ++ plug:lfo "0.0"^^xsd:float + ] . +diff --git a/plugins/eg-sampler.lv2/sampler.ttl b/plugins/eg-sampler.lv2/sampler.ttl +index 92570e5..062b177 100644 +--- a/plugins/eg-sampler.lv2/sampler.ttl ++++ b/plugins/eg-sampler.lv2/sampler.ttl +@@ -57,7 +57,7 @@ + ] ; + state:state [ + ; +- param:gain 1.0 ++ param:gain "1.0"^^xsd:float + ] . + + +diff --git a/util/lv2_validate.in b/util/lv2_validate.in +index 165b1bf..2f9853d 100755 +--- a/util/lv2_validate.in ++++ b/util/lv2_validate.in +@@ -72,10 +72,10 @@ sord_validate \ + "$LV2DIR/log.lv2/log.ttl" \ + "$LV2DIR/log.lv2/manifest.ttl" \ + "$LV2DIR/log.lv2/lv2-log.doap.ttl" \ +- "$LV2DIR/lv2core.lv2/manifest.ttl" \ +- "$LV2DIR/lv2core.lv2/lv2core.ttl" \ +- "$LV2DIR/lv2core.lv2/lv2core.doap.ttl" \ +- "$LV2DIR/lv2core.lv2/meta.ttl" \ ++ "$LV2DIR/core.lv2/manifest.ttl" \ ++ "$LV2DIR/core.lv2/lv2core.ttl" \ ++ "$LV2DIR/core.lv2/lv2core.doap.ttl" \ ++ "$LV2DIR/core.lv2/meta.ttl" \ + "$LV2DIR/eg-metro.lv2/manifest.ttl" \ + "$LV2DIR/eg-metro.lv2/metro.ttl" \ + "$LV2DIR/presets.lv2/manifest.ttl" \ diff --git a/multimedia/misc/lv2/pspec.xml b/multimedia/misc/lv2/pspec.xml index 323703be03..4232a67de3 100644 --- a/multimedia/misc/lv2/pspec.xml +++ b/multimedia/misc/lv2/pspec.xml @@ -28,6 +28,9 @@ cmake atk-devel + + lv2-1.16.0-fix_lv2_validate.patch +