Browse Source

Fix build against latest lv2 headers install style

Signed-off-by: falkTX <falktx@falktx.com>
master
falkTX 3 days ago
parent
commit
08b09df092
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
3 changed files with 12 additions and 5 deletions
  1. +1
    -3
      kx-control-input-port-change-request.lv2/control-input-port-change-request.h
  2. +5
    -1
      kx-external-ui.lv2/external-ui.h
  3. +6
    -1
      kx-programs.lv2/programs.h

+ 1
- 3
kx-control-input-port-change-request.lv2/control-input-port-change-request.h View File

@@ -1,6 +1,6 @@
/* /*
LV2 ControlInputPort change request extension LV2 ControlInputPort change request extension
Copyright 2020 Filipe Coelho <falktx@falktx.com>
Copyright 2020-2026 Filipe Coelho <falktx@falktx.com>


Permission to use, copy, modify, and/or distribute this software for any Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted, provided that the above purpose with or without fee is hereby granted, provided that the above
@@ -23,8 +23,6 @@
#ifndef LV2_CONTROL_INPUT_PORT_CHANGE_REQUEST_H #ifndef LV2_CONTROL_INPUT_PORT_CHANGE_REQUEST_H
#define LV2_CONTROL_INPUT_PORT_CHANGE_REQUEST_H #define LV2_CONTROL_INPUT_PORT_CHANGE_REQUEST_H


#include "lv2/lv2plug.in/ns/lv2core/lv2.h"

#define LV2_CONTROL_INPUT_PORT_CHANGE_REQUEST_URI "http://kx.studio/ns/lv2ext/control-input-port-change-request" #define LV2_CONTROL_INPUT_PORT_CHANGE_REQUEST_URI "http://kx.studio/ns/lv2ext/control-input-port-change-request"
#define LV2_CONTROL_INPUT_PORT_CHANGE_REQUEST_PREFIX LV2_CONTROL_INPUT_PORT_CHANGE_REQUEST_URI "#" #define LV2_CONTROL_INPUT_PORT_CHANGE_REQUEST_PREFIX LV2_CONTROL_INPUT_PORT_CHANGE_REQUEST_URI "#"




+ 5
- 1
kx-external-ui.lv2/external-ui.h View File

@@ -1,6 +1,6 @@
/* /*
LV2 External UI extension LV2 External UI extension
Copyright 2020 Filipe Coelho <falktx@falktx.com>
Copyright 2020-2026 Filipe Coelho <falktx@falktx.com>


Permission to use, copy, modify, and/or distribute this software for any Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted, provided that the above purpose with or without fee is hereby granted, provided that the above
@@ -23,7 +23,11 @@
#ifndef LV2_EXTERNAL_UI_H #ifndef LV2_EXTERNAL_UI_H
#define LV2_EXTERNAL_UI_H #define LV2_EXTERNAL_UI_H


#if defined(__has_include) && __has_include("lv2/ui/ui.h")
#include "lv2/ui/ui.h"
#else
#include "lv2/lv2plug.in/ns/extensions/ui/ui.h" #include "lv2/lv2plug.in/ns/extensions/ui/ui.h"
#endif


#define LV2_EXTERNAL_UI_URI "http://kxstudio.sf.net/ns/lv2ext/external-ui" #define LV2_EXTERNAL_UI_URI "http://kxstudio.sf.net/ns/lv2ext/external-ui"
#define LV2_EXTERNAL_UI_PREFIX LV2_EXTERNAL_UI_URI "#" #define LV2_EXTERNAL_UI_PREFIX LV2_EXTERNAL_UI_URI "#"


+ 6
- 1
kx-programs.lv2/programs.h View File

@@ -1,6 +1,6 @@
/* /*
LV2 Programs Extension LV2 Programs Extension
Copyright 2012 Filipe Coelho <falktx@falktx.com>
Copyright 2012-2026 Filipe Coelho <falktx@falktx.com>


Permission to use, copy, modify, and/or distribute this software for any Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted, provided that the above purpose with or without fee is hereby granted, provided that the above
@@ -23,8 +23,13 @@
#ifndef LV2_PROGRAMS_H #ifndef LV2_PROGRAMS_H
#define LV2_PROGRAMS_H #define LV2_PROGRAMS_H


#if defined(__has_include) && __has_include("lv2/core/lv2.h")
#include "lv2/core/lv2.h"
#include "lv2/ui/ui.h"
#else
#include "lv2/lv2plug.in/ns/lv2core/lv2.h" #include "lv2/lv2plug.in/ns/lv2core/lv2.h"
#include "lv2/lv2plug.in/ns/extensions/ui/ui.h" #include "lv2/lv2plug.in/ns/extensions/ui/ui.h"
#endif


#define LV2_PROGRAMS_URI "http://kxstudio.sf.net/ns/lv2ext/programs" #define LV2_PROGRAMS_URI "http://kxstudio.sf.net/ns/lv2ext/programs"
#define LV2_PROGRAMS_PREFIX LV2_PROGRAMS_URI "#" #define LV2_PROGRAMS_PREFIX LV2_PROGRAMS_URI "#"


Loading…
Cancel
Save