Browse Source

Install internal jack client

Signed-off-by: falkTX <falktx@falktx.com>
tags/v2.1-rc1
falkTX 5 years ago
parent
commit
25392124d3
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
2 changed files with 18 additions and 1 deletions
  1. +13
    -1
      Makefile
  2. +5
    -0
      source/Makefile.mk

+ 13
- 1
Makefile View File

@@ -394,6 +394,11 @@ else
endif
install -d $(DESTDIR)$(LIBDIR)/pkgconfig
install -d $(DESTDIR)$(INCLUDEDIR)/carla/includes
ifeq ($(LINUX),true)
ifeq ($(HAVE_JACK),true)
install -d $(DESTDIR)$(JACK_LIBDIR)
endif
endif

ifeq ($(HAVE_PYQT),true)
# Create directories (gui)
@@ -433,7 +438,14 @@ endif
$(DESTDIR)$(LIBDIR)/carla

ifeq ($(LINUX),true)
# Install libjack
ifeq ($(HAVE_JACK),true)
# Install internal jack client
ln -sf \
$(LIBDIR)/carla/libcarla_standalone2.so \
$(DESTDIR)$(JACK_LIBDIR)/carla.so
endif

# Install custom libjack
install -m 755 \
bin/jack/libjack.so.0 \
$(DESTDIR)$(LIBDIR)/carla/jack


+ 5
- 0
source/Makefile.mk View File

@@ -231,6 +231,7 @@ endif

HAVE_FFMPEG = $(shell pkg-config --exists libavcodec libavformat libavutil && echo true)
HAVE_FLUIDSYNTH = $(shell pkg-config --atleast-version=1.1.7 fluidsynth && echo true)
HAVE_JACK = $(shell pkg-config --exists jack && echo true)
HAVE_LIBLO = $(shell pkg-config --exists liblo && echo true)
HAVE_QT4 = $(shell pkg-config --exists QtCore QtGui && echo true)
HAVE_QT5 = $(shell pkg-config --exists Qt5Core Qt5Gui Qt5Widgets && echo true)
@@ -512,6 +513,10 @@ RTMIDI_FLAGS += -D__WINDOWS_MM__
endif
endif

ifeq ($(HAVE_JACK),true)
JACK_LIBDIR = $(shell pkg-config --variable=libdir jack)/jack
endif

# ---------------------------------------------------------------------------------------------------------------------

NATIVE_PLUGINS_LIBS += $(DGL_LIBS)


Loading…
Cancel
Save