summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Runge <dave@sleepmap.de>2022-01-05 21:43:44 +0100
committerFilipe Coelho <falktx@falktx.com>2022-01-05 21:49:49 +0000
commit634972948f7a59d4e825eb8dfba3e934d8e13f2c (patch)
treee3ec9fdef7036fa2251ca4faae5c9578975c5b44
parenta50aeb1f331546e86c1f35f26e67692c1cdfc9a5 (diff)
downloadjack2-634972948f7a59d4e825eb8dfba3e934d8e13f2c.tar.gz
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).
-rw-r--r--jack.pc.in1
1 files changed, 1 insertions, 0 deletions
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