Use cmake variable for lv2 plugin id

This commit is contained in:
Mike Oliphant
2023-03-09 08:03:10 -08:00
parent 6f2f7921cc
commit cad0b0dd15
3 changed files with 9 additions and 13 deletions
+1
View File
@@ -17,6 +17,7 @@ else()
message(FATAL_ERROR "Unrecognized Platform!")
endif()
set(NAM_LV2_ID http://github.com/mikeoliphant/neural-amp-modeler-lv2)
include_directories(SYSTEM eigen)
include_directories(SYSTEM lv2/include)
+1 -1
View File
@@ -1,7 +1,7 @@
@prefix lv2: <http://lv2plug.in/ns/lv2core#>.
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>.
<http://github.com/mikeoliphant/neural-amp-modeler-lv2>
<@NAM_LV2_ID@>
a lv2:Plugin;
lv2:binary <neural_amp_modeler@CMAKE_SHARED_MODULE_SUFFIX@>;
rdfs:seeAlso <neural_amp_modeler.ttl>.
+7 -12
View File
@@ -12,29 +12,24 @@
@prefix param: <http://lv2plug.in/ns/ext/parameters#>.
@prefix pg: <http://lv2plug.in/ns/ext/port-groups#>.
<http://github.com/mikeoliphant>
a foaf:Person;
foaf:name "Mike Oliphant";
foaf:homepage <http://github.com/mikeoliphant>.
<http://github.com/mikeoliphant/neural-amp-modeler-lv2>
<@NAM_LV2_ID@>
a doap:Project;
doap:maintainer <http://github.com/mikeoliphant>;
doap:name "Neural Amp Modeler".
<http://github.com/mikeoliphant/neural-amp-modeler-lv2#input>
<@NAM_LV2_ID@#input>
a pg:MonoGroup, pg:InputGroup;
lv2:symbol "input".
<http://github.com/mikeoliphant/neural-amp-modeler-lv2#output>
<h@NAM_LV2_ID@#output>
a pg:MonoGroup, pg:OutputGroup;
lv2:symbol "output";
pg:source <http://github.com/mikeoliphant/neural-amp-modeler-lv2#input>.
pg:source <@NAM_LV2_ID@#input>.
<http://github.com/mikeoliphant/neural-amp-modeler-lv2>
a lv2:Plugin, lv2:AmplifierPlugin;
doap:name "Neural Amp Modeler";
lv2:project <http://github.com/mikeoliphant/neural-amp-modeler-lv2>;
lv2:project <@NAM_LV2_ID@>;
lv2:minorVersion @PROJECT_VERSION_MINOR@;
lv2:microVersion @PROJECT_VERSION_PATCH@;
doap:license <http://opensource.org/licenses/MIT>;
@@ -44,8 +39,8 @@
rdfs:comment "An LV2 implementation of Neural Amp Modeler";
pg:mainInput <http://github.com/mikeoliphant/neural-amp-modeler-lv2#input>;
pg:mainOutput <http://github.com/mikeoliphant/neural-amp-modeler-lv2#output>;
pg:mainInput <@NAM_LV2_ID@#input>;
pg:mainOutput <@NAM_LV2_ID@#output>;
# Control Ports
lv2:port [