Browse Source

Fix carla.lv2 ttl validation

Signed-off-by: falkTX <falktx@falktx.com>
pull/1849/head
falkTX 10 months ago
parent
commit
4db3842785
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
2 changed files with 16 additions and 11 deletions
  1. +14
    -10
      .github/workflows/dpf.yml
  2. +2
    -1
      source/plugin/carla-lv2-export.cpp

+ 14
- 10
.github/workflows/dpf.yml View File

@@ -59,16 +59,20 @@ jobs:
pawpaw: true pawpaw: true
release: false release: false


pluginval:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- uses: distrho/dpf-makefile-action@v1
with:
target: pluginval
pawpaw: true
# NOTE disabled for now
# lv2lint does not allow to differentiate exposed features for multiple plugins in a single binary
# (e.g. plugin A uses worker while plugin B does not, but they come from the same binary)
# see https://github.com/falkTX/Carla/actions/runs/7389992205/job/20103997236
#pluginval:
#runs-on: ubuntu-20.04
#steps:
#- uses: actions/checkout@v3
#with:
#submodules: recursive
#- uses: distrho/dpf-makefile-action@v1
#with:
#target: pluginval
#pawpaw: true


source: source:
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04


+ 2
- 1
source/plugin/carla-lv2-export.cpp View File

@@ -122,6 +122,7 @@ static void writeManifestFile(PluginListManager& plm, const uint32_t microVersio
text += "@prefix lv2: <" LV2_CORE_PREFIX "> .\n"; text += "@prefix lv2: <" LV2_CORE_PREFIX "> .\n";
text += "@prefix mod: <http://moddevices.com/ns/mod#> .\n"; text += "@prefix mod: <http://moddevices.com/ns/mod#> .\n";
text += "@prefix opts: <" LV2_OPTIONS_PREFIX "> .\n"; text += "@prefix opts: <" LV2_OPTIONS_PREFIX "> .\n";
text += "@prefix owl: <http://www.w3.org/2002/07/owl#> .\n";
text += "@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .\n"; text += "@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .\n";
text += "@prefix ui: <" LV2_UI_PREFIX "> .\n"; text += "@prefix ui: <" LV2_UI_PREFIX "> .\n";
text += "\n"; text += "\n";
@@ -130,7 +131,7 @@ static void writeManifestFile(PluginListManager& plm, const uint32_t microVersio
// Project // Project


text += "<https://kx.studio/carla>\n"; text += "<https://kx.studio/carla>\n";
text += " a owl:Ontology, lv2:Project, doap:Project ;\n";
text += " a owl:Ontology, doap:Project ;\n";
text += " doap:homepage <https://kx.studio/carla> ;\n"; text += " doap:homepage <https://kx.studio/carla> ;\n";
text += " doap:maintainer [\n"; text += " doap:maintainer [\n";
text += " foaf:homepage <https://falktx.com/> ;\n"; text += " foaf:homepage <https://falktx.com/> ;\n";


Loading…
Cancel
Save