Skip to content

Install jack headers

Nils Tonnätt requested to merge ntonnaett/pipewire:install_jack_headers into master

pipewire-jack-audio-connection-kit has a conflict with jack-audio-connection-kit-devel in Fedora 34: https://bugzilla.redhat.com/show_bug.cgi?id=1945951

The proposed solution was that pipewire serves jack headers itself. So this MR adds an option to install jack development files, install jack headers and generates a pkgconfig file.

JACK's own jack.pc:

prefix=/usr
exec_prefix=/usr
libdir=/usr/lib64
includedir=/usr/include
server_libs=-L/usr/lib64 -ljackserver

Name: jack
Description: the Jack Audio Connection Kit: a low-latency synchronous callback-based media server
Version: 1.9.16
Libs: -L/usr/lib64 -ljack
Cflags: -I/usr/include

PipeWire generated jack.pc:

prefix=/home/nils/pipewire
libdir=${prefix}/lib64
includedir=${prefix}/include

Name: jack
Description: PipeWire JACK API
Version: 1.9.17
Libs: -L${prefix}/lib64/pipewire-0.3/jack -ljack
Cflags: -I${includedir} -D_REENTRANT

As you see, there are some differences. I'm not familiar with pipewire's internals, but I assumed that it doesn't provide jack's server API. The version is hardcoded right now.

Edited by Nils Tonnätt

Merge request reports