Browse Source

Install pkg-config file for carla-utils lib, install zynaddsubfx-ui

tags/1.9.7
falkTX 9 years ago
parent
commit
4dc8cf2ba8
2 changed files with 19 additions and 3 deletions
  1. +9
    -3
      Makefile
  2. +10
    -0
      data/carla-utils.pc

+ 9
- 3
Makefile View File

@@ -465,8 +465,8 @@ endif
# Install mime package
install -m 644 data/carla.xml $(DESTDIR)$(PREFIX)/share/mime/packages/

# Install pkg-config file
install -m 644 data/carla-standalone.pc $(DESTDIR)$(PREFIX)/lib/pkgconfig/
# Install pkg-config files
install -m 644 data/*.pc $(DESTDIR)$(PREFIX)/lib/pkgconfig/

# Install backend libs
install -m 644 \
@@ -504,6 +504,7 @@ endif
install -m 644 \
source/backend/CarlaBackend.h \
source/backend/CarlaHost.h \
source/backend/CarlaUtils.h \
source/backend/CarlaEngine.hpp \
source/backend/CarlaPlugin.hpp \
source/includes/CarlaNative.h \
@@ -540,6 +541,10 @@ endif

ifeq ($(HAVE_ZYN_DEPS),true)
ifeq ($(HAVE_ZYN_UI_DEPS),true)
install -m 755 \
bin/resources/zynaddsubfx-ui \
$(DESTDIR)$(PREFIX)/share/carla/resources/

install -m 644 \
bin/resources/zynaddsubfx/*.png \
$(DESTDIR)$(PREFIX)/share/carla/resources/zynaddsubfx/
@@ -600,7 +605,8 @@ endif
$(DESTDIR)$(PREFIX)/bin/carla-single \
$(DESTDIR)$(PREFIX)/bin/carla-settings \
$(DESTDIR)$(PREFIX)/lib/carla/carla-bridge-lv2-modgui \
$(DESTDIR)$(PREFIX)/lib/pkgconfig/carla-standalone.pc
$(DESTDIR)$(PREFIX)/lib/pkgconfig/carla-standalone.pc \
$(DESTDIR)$(PREFIX)/lib/pkgconfig/carla-utils.pc

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



+ 10
- 0
data/carla-utils.pc View File

@@ -0,0 +1,10 @@
prefix=X-PREFIX-X
exec_prefix=${prefix}
libdir=${exec_prefix}/lib/carla
includedir=${prefix}/include/carla

Name: carla-utils
Version: 1.9.5
Description: Carla Host Utilities
Libs: -Wl,rpath=${libdir} -L${libdir} -lcarla_utils
Cflags: -DREAL_BUILD -I${includedir} -I${includedir}/includes

Loading…
Cancel
Save