From 810c78e34976e080a0e079f284e6ee651f4313e8 Mon Sep 17 00:00:00 2001 From: David Runge Date: Wed, 5 Jan 2022 21:43:44 +0100 Subject: [PATCH] Add custom variable to jack pkgconfig to distinguish implementations jack.pc.in: Add the custom `jack_implementation=jack2` pkgconfig variable to the generated jack.pc file to be able to distinguish jack implementations. As jack implementations exist with jack1, jack2 and pipewire-jack, it is not (easily) possible to distinguish them by looking at the version alone (particularly the case with jack2 vs. pipewire-jack, as they share the same headers). --- jack.pc.in | 1 + 1 file changed, 1 insertion(+) diff --git a/jack.pc.in b/jack.pc.in index a3cc4a29..3a6a11d7 100644 --- a/jack.pc.in +++ b/jack.pc.in @@ -3,6 +3,7 @@ exec_prefix=@PREFIX@ libdir=@LIBDIR@ includedir=@INCLUDEDIR@ server_libs=-L@LIBDIR@ -l@SERVERLIB@ +jack_implementation=jack2 Name: jack Description: the Jack Audio Connection Kit: a low-latency synchronous callback-based media server