[SCM] calf/master: Do not generate GTK+ GUI related RDF if it is disabled.

js at users.alioth.debian.org js at users.alioth.debian.org
Tue May 7 15:40:06 UTC 2013


The following commit has been merged in the master branch:
commit 6c3ab079fe5d164be4e71e19b9cc0b95a28786ff
Author: Krzysztof Foltman <wdev at foltman.com>
Date:   Sun Apr 11 18:57:25 2010 +0100

    Do not generate GTK+ GUI related RDF if it is disabled.

diff --git a/src/makerdf.cpp b/src/makerdf.cpp
index 3db9831..59877e7 100644
--- a/src/makerdf.cpp
+++ b/src/makerdf.cpp
@@ -333,12 +333,14 @@ void make_ttl(string path_prefix)
     
 #if USE_LV2_GUI
     string gtkgui_uri = "<http://calf.sourceforge.net/plugins/gui/gtk2-gui>";
+#if USE_LV2_GTK_GUI
     gui_header = gtkgui_uri + "\n"
         "    a uiext:GtkUI ;\n"
         "    uiext:binary <calflv2gui.so> ;\n"
         "    uiext:requiredFeature uiext:makeResident .\n"
         "\n"
     ;
+#endif
     string extgui_uri = "<http://calf.sourceforge.net/plugins/gui/ext-gui>";
     gui_header += extgui_uri + "\n"
         "    a uiext:external ;\n"
@@ -364,7 +366,9 @@ void make_ttl(string path_prefix)
             if (props.flags & PF_PROP_OUTPUT)
             {
                 string portnot = " uiext:portNotification [\n    uiext:plugin " + uri + " ;\n    uiext:portIndex " + i2s(j) + "\n] .\n\n";
+#if USE_LV2_GTK_GUI
                 ttl += gtkgui_uri + portnot;
+#endif
                 ttl += extgui_uri + portnot;
             }
         }

-- 
calf audio plugins packaging



More information about the pkg-multimedia-commits mailing list