commit d95936445f94a1a99b4256cd10c0860cda555891
parent 5cd8449963d73af49f4cba5278f9c72f9a5d5121
Author: falkTX <falktx@falktx.com>
Date: Tue, 19 Apr 2022 14:11:53 +0100
Allow GPLv2.0+ as license style field for LV2 export
Signed-off-by: falkTX <falktx@falktx.com>
Diffstat:
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/distrho/src/DistrhoPluginLV2export.cpp b/distrho/src/DistrhoPluginLV2export.cpp
@@ -1028,6 +1028,7 @@ void lv2_generate_ttl(const char* const basename)
else if (uplicense == "GPL-2.0-OR-LATER" ||
uplicense == "GPL2+" ||
uplicense == "GPLV2+" ||
+ uplicense == "GPLV2.0+" ||
uplicense == "GPL V2+")
{
pluginString += " doap:license <http://spdx.org/licenses/GPL-2.0-or-later.html> ;\n\n";
@@ -1041,6 +1042,7 @@ void lv2_generate_ttl(const char* const basename)
else if (uplicense == "GPL-3.0-OR-LATER" ||
uplicense == "GPL3+" ||
uplicense == "GPLV3+" ||
+ uplicense == "GPLV3.0+" ||
uplicense == "GPL V3+")
{
pluginString += " doap:license <http://spdx.org/licenses/GPL-3.0-or-later.html> ;\n\n";
@@ -1093,11 +1095,11 @@ void lv2_generate_ttl(const char* const basename)
// generic fallbacks
else if (uplicense.startsWith("GPL"))
{
- pluginString += " doap:license <https://opensource.org/licenses/gpl-license> ;\n\n";
+ pluginString += " doap:license <http://opensource.org/licenses/gpl-license> ;\n\n";
}
else if (uplicense.startsWith("LGPL"))
{
- pluginString += " doap:license <https://opensource.org/licenses/lgpl-license> ;\n\n";
+ pluginString += " doap:license <http://opensource.org/licenses/lgpl-license> ;\n\n";
}
// unknown or not handled yet, log a warning