@@ -391,6 +391,9 @@ install: | |||||
install -m 644 \ | install -m 644 \ | ||||
source/backend/CarlaBackend.h \ | source/backend/CarlaBackend.h \ | ||||
source/backend/CarlaHost.h \ | source/backend/CarlaHost.h \ | ||||
source/backend/CarlaEngine.hpp \ | |||||
source/backend/CarlaPlugin.hpp \ | |||||
source/modules/CarlaNative.h \ | |||||
$(DESTDIR)$(PREFIX)/include/carla/ | $(DESTDIR)$(PREFIX)/include/carla/ | ||||
install -m 644 \ | install -m 644 \ | ||||
@@ -417,6 +420,7 @@ install: | |||||
cd $(CURDIR) | cd $(CURDIR) | ||||
# Link resources for lv2 plugin | # Link resources for lv2 plugin | ||||
rm -rf $(DESTDIR)$(PREFIX)/lib/lv2/carla-native.lv2/resources | |||||
$(LINK) $(PREFIX)/share/carla/resources/ $(DESTDIR)$(PREFIX)/lib/lv2/carla-native.lv2/ | $(LINK) $(PREFIX)/share/carla/resources/ $(DESTDIR)$(PREFIX)/lib/lv2/carla-native.lv2/ | ||||
# Adjust PREFIX value in script files | # Adjust PREFIX value in script files | ||||
@@ -1623,10 +1623,10 @@ static const NativePluginDescriptor carlaPatchbayDesc = { | |||||
}; | }; | ||||
#endif | #endif | ||||
// ----------------------------------------------------------------------- | |||||
CARLA_BACKEND_END_NAMESPACE | CARLA_BACKEND_END_NAMESPACE | ||||
// ----------------------------------------------------------------------- | |||||
CARLA_EXPORT | CARLA_EXPORT | ||||
void carla_register_native_plugin_carla(); | void carla_register_native_plugin_carla(); | ||||
@@ -1639,6 +1639,17 @@ void carla_register_native_plugin_carla() | |||||
#endif | #endif | ||||
} | } | ||||
// ----------------------------------------------------------------------- | |||||
CARLA_EXPORT | |||||
const NativePluginDescriptor* get_carla_native_plugin(); | |||||
const NativePluginDescriptor* get_carla_native_plugin() | |||||
{ | |||||
CARLA_BACKEND_USE_NAMESPACE; | |||||
return &carlaRackDesc; | |||||
} | |||||
// ----------------------------------------------------------------------- | // ----------------------------------------------------------------------- | ||||
// Extra stuff for linking purposes | // Extra stuff for linking purposes | ||||
@@ -134,6 +134,7 @@ public: | |||||
fHost.handle = this; | fHost.handle = this; | ||||
fHost.resourceDir = resourceDir.dup(); | fHost.resourceDir = resourceDir.dup(); | ||||
fHost.uiName = nullptr; | fHost.uiName = nullptr; | ||||
fHost.uiParentId = 0; | |||||
fHost.get_buffer_size = host_get_buffer_size; | fHost.get_buffer_size = host_get_buffer_size; | ||||
fHost.get_sample_rate = host_get_sample_rate; | fHost.get_sample_rate = host_get_sample_rate; | ||||