Browse Source

Dynamic version for pkg-config files, for less maintenance

Signed-off-by: falkTX <falktx@falktx.com>
tags/v2.3.2
falkTX 3 years ago
parent
commit
444fc97d18
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
5 changed files with 11 additions and 5 deletions
  1. +7
    -1
      Makefile
  2. +1
    -1
      data/carla-host-plugin.pc
  3. +1
    -1
      data/carla-native-plugin.pc
  4. +1
    -1
      data/carla-standalone.pc
  5. +1
    -1
      data/carla-utils.pc

+ 7
- 1
Makefile View File

@@ -491,7 +491,7 @@ endif
data/*.pc \
$(DESTDIR)$(LIBDIR)/pkgconfig

# Adjust PREFIX, LIBDIR and INCLUDEDIR in pkg-config files
# Adjust PREFIX, LIBDIR, INCLUDEDIR and VERSION in pkg-config files
sed $(SED_ARGS) 's?X-PREFIX-X?$(PREFIX)?' \
$(DESTDIR)$(LIBDIR)/pkgconfig/carla-host-plugin.pc \
$(DESTDIR)$(LIBDIR)/pkgconfig/carla-native-plugin.pc \
@@ -510,6 +510,12 @@ endif
$(DESTDIR)$(LIBDIR)/pkgconfig/carla-standalone.pc \
$(DESTDIR)$(LIBDIR)/pkgconfig/carla-utils.pc

sed $(SED_ARGS) 's?X-VERSION-X?$(VERSION)?' \
$(DESTDIR)$(LIBDIR)/pkgconfig/carla-host-plugin.pc \
$(DESTDIR)$(LIBDIR)/pkgconfig/carla-native-plugin.pc \
$(DESTDIR)$(LIBDIR)/pkgconfig/carla-standalone.pc \
$(DESTDIR)$(LIBDIR)/pkgconfig/carla-utils.pc

# Install headers
install -m 644 \
source/backend/CarlaBackend.h \


+ 1
- 1
data/carla-host-plugin.pc View File

@@ -3,7 +3,7 @@ libdir=X-LIBDIR-X/carla
includedir=X-INCLUDEDIR-X/carla

Name: carla-host-plugin
Version: 2.3.1
Version: X-VERSION-X
Description: Carla Host as Native Plugin
Libs: -Wl,-rpath,${libdir} -L${libdir} -lcarla_host-plugin
Cflags: -DREAL_BUILD -I${includedir} -I${includedir}/includes

+ 1
- 1
data/carla-native-plugin.pc View File

@@ -3,7 +3,7 @@ libdir=X-LIBDIR-X/carla
includedir=X-INCLUDEDIR-X/carla

Name: carla-native-plugin
Version: 2.3.1
Version: X-VERSION-X
Description: Carla Native Plugin
Libs: -Wl,-rpath,${libdir} -L${libdir} -lcarla_native-plugin
Cflags: -DREAL_BUILD -I${includedir} -I${includedir}/includes

+ 1
- 1
data/carla-standalone.pc View File

@@ -3,7 +3,7 @@ libdir=X-LIBDIR-X/carla
includedir=X-INCLUDEDIR-X/carla

Name: carla-standalone
Version: 2.3.1
Version: X-VERSION-X
Description: Carla Host Standalone
Libs: -Wl,-rpath,${libdir} -L${libdir} -lcarla_standalone2
Cflags: -DREAL_BUILD -I${includedir} -I${includedir}/includes

+ 1
- 1
data/carla-utils.pc View File

@@ -3,7 +3,7 @@ libdir=X-LIBDIR-X/carla
includedir=X-INCLUDEDIR-X/carla

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

Loading…
Cancel
Save