Add custom variable to jack pkgconfig to distinguish implementations

pipewire-jack/src/meson.build:
Add the custom `jack_implementation=pipewire` 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).

Related to #1666
This commit is contained in:
David Runge 2022-01-05 19:41:49 +01:00 committed by Wim Taymans
parent 01c6fd0a88
commit 41392eda7f

View file

@ -85,7 +85,7 @@ if get_option('jack-devel') == true
description : 'PipeWire JACK API',
version : '1.9.17',
extra_cflags : '-D_REENTRANT',
unescaped_variables: ['server_libs=-L${libdir} -ljackserver'])
unescaped_variables: ['server_libs=-L${libdir} -ljackserver', 'jack_implementation=pipewire'])
endif
if sdl_dep.found()