From db00bc752ff27f72dd2e068f3da90a05c3ea5bab Mon Sep 17 00:00:00 2001 From: falkTX Date: Thu, 11 Sep 2014 11:05:01 +0100 Subject: [PATCH] Bump pkg-config version, allow to use rack&patchbay plugins directly --- data/carla-standalone.pc | 2 +- source/backend/engine/CarlaEngineNative.cpp | 13 ++++++++++--- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/data/carla-standalone.pc b/data/carla-standalone.pc index 3332a409b..6e1ae6060 100644 --- a/data/carla-standalone.pc +++ b/data/carla-standalone.pc @@ -4,7 +4,7 @@ libdir=${exec_prefix}/lib/carla includedir=${prefix}/include/carla Name: carla-standalone -Version: 1.9.1 +Version: 1.9.5 Description: Carla Host Standalone Libs: -Wl,rpath=${libdir} -L${libdir} -lcarla_standalone2 Cflags: -DREAL_BUILD -I${includedir} -I${includedir}/includes diff --git a/source/backend/engine/CarlaEngineNative.cpp b/source/backend/engine/CarlaEngineNative.cpp index 52c0f0b9e..0cff3823d 100644 --- a/source/backend/engine/CarlaEngineNative.cpp +++ b/source/backend/engine/CarlaEngineNative.cpp @@ -1580,14 +1580,21 @@ void carla_register_native_plugin_carla() // ----------------------------------------------------------------------- CARLA_EXPORT -const NativePluginDescriptor* get_carla_native_plugin(); - -const NativePluginDescriptor* get_carla_native_plugin() +const NativePluginDescriptor* carla_get_native_rack_plugin(); +const NativePluginDescriptor* carla_get_native_rack_plugin() { CARLA_BACKEND_USE_NAMESPACE; return &carlaRackDesc; } +CARLA_EXPORT +const NativePluginDescriptor* carla_get_native_patchbay_plugin(); +const NativePluginDescriptor* carla_get_native_patchbay_plugin() +{ + CARLA_BACKEND_USE_NAMESPACE; + return &carlaPatchbayDesc; +} + // ----------------------------------------------------------------------- // Extra stuff for linking purposes