diff --git a/Makefile b/Makefile index b5d70faf4..686f3605b 100644 --- a/Makefile +++ b/Makefile @@ -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 \ diff --git a/data/carla-host-plugin.pc b/data/carla-host-plugin.pc index 674048a95..2cb307d03 100644 --- a/data/carla-host-plugin.pc +++ b/data/carla-host-plugin.pc @@ -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 diff --git a/data/carla-native-plugin.pc b/data/carla-native-plugin.pc index daa2a69d4..0c83d7783 100644 --- a/data/carla-native-plugin.pc +++ b/data/carla-native-plugin.pc @@ -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 diff --git a/data/carla-standalone.pc b/data/carla-standalone.pc index 6575c9aba..567dc697f 100644 --- a/data/carla-standalone.pc +++ b/data/carla-standalone.pc @@ -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 diff --git a/data/carla-utils.pc b/data/carla-utils.pc index 0930239ad..6c30941aa 100644 --- a/data/carla-utils.pc +++ b/data/carla-utils.pc @@ -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