2022-02-18 09:37:15 +00:00
|
|
|
From 26e63ca2e1d71491cd4e459b8890607b4a4bdd83 Mon Sep 17 00:00:00 2001
|
2021-11-15 14:48:19 +00:00
|
|
|
From: Wim Taymans <wtaymans@redhat.com>
|
2022-02-18 09:37:15 +00:00
|
|
|
Date: Fri, 18 Feb 2022 10:14:11 +0100
|
2021-11-15 14:48:19 +00:00
|
|
|
Subject: [PATCH] jack: allow build on old meson of jack.pc
|
|
|
|
|
|
|
|
Warn about reduced functionality.
|
|
|
|
---
|
2022-02-18 09:37:15 +00:00
|
|
|
pipewire-jack/src/meson.build | 32 ++++++++++++++++++++------------
|
|
|
|
1 file changed, 20 insertions(+), 12 deletions(-)
|
2021-11-15 14:48:19 +00:00
|
|
|
|
|
|
|
diff --git a/pipewire-jack/src/meson.build b/pipewire-jack/src/meson.build
|
2022-02-18 09:37:15 +00:00
|
|
|
index bb1a7f0e9..4dfae3d39 100644
|
2021-11-15 14:48:19 +00:00
|
|
|
--- a/pipewire-jack/src/meson.build
|
|
|
|
+++ b/pipewire-jack/src/meson.build
|
2022-02-18 09:37:15 +00:00
|
|
|
@@ -69,21 +69,29 @@ pipewire_jacknet = shared_library('jacknet',
|
2021-11-15 14:48:19 +00:00
|
|
|
|
|
|
|
if get_option('jack-devel') == true
|
|
|
|
if meson.version().version_compare('<0.59.0')
|
|
|
|
- error(
|
|
|
|
+ warning(
|
|
|
|
'''
|
|
|
|
- Before version 0.59.0 Meson creates a wrong jack pkg-config file.
|
|
|
|
- For that reason this is now an error. Please update Meson,
|
|
|
|
- if you want to have JACK development files.
|
|
|
|
+ Before version 0.59.0 Meson creates a wrong jack pkg-config file
|
2022-02-18 09:37:15 +00:00
|
|
|
+ for server development. Please update Meson, if you want to have
|
|
|
|
+ JACK development files for server.
|
2021-11-15 14:48:19 +00:00
|
|
|
''')
|
2022-02-18 09:37:15 +00:00
|
|
|
- endif
|
|
|
|
|
|
|
|
- pkgconfig.generate(filebase : 'jack',
|
|
|
|
- libraries : [pipewire_jack, pipewire_jackserver],
|
|
|
|
- name : 'jack',
|
|
|
|
- description : 'PipeWire JACK API',
|
|
|
|
- version : '1.9.17',
|
|
|
|
- extra_cflags : '-D_REENTRANT',
|
|
|
|
- unescaped_variables: ['server_libs=-L${libdir} -ljackserver', 'jack_implementation=pipewire'])
|
2021-11-15 14:48:19 +00:00
|
|
|
+ pkgconfig.generate(filebase : 'jack',
|
|
|
|
+ libraries : [pipewire_jack, pipewire_jackserver],
|
|
|
|
+ name : 'jack',
|
|
|
|
+ description : 'PipeWire JACK API',
|
|
|
|
+ version : '1.9.17',
|
|
|
|
+ extra_cflags : '-D_REENTRANT',
|
2022-02-18 09:37:15 +00:00
|
|
|
+ variables: ['server_libs=-L${libdir} -ljackserver', 'jack_implementation=pipewire'])
|
2021-11-15 14:48:19 +00:00
|
|
|
+ else
|
|
|
|
+ pkgconfig.generate(filebase : 'jack',
|
|
|
|
+ libraries : [pipewire_jack, pipewire_jackserver],
|
|
|
|
+ name : 'jack',
|
|
|
|
+ description : 'PipeWire JACK API',
|
|
|
|
+ version : '1.9.17',
|
|
|
|
+ extra_cflags : '-D_REENTRANT',
|
2022-02-18 09:37:15 +00:00
|
|
|
+ unescaped_variables: ['server_libs=-L${libdir} -ljackserver', 'jack_implementation=pipewire'])
|
|
|
|
+ endif
|
2021-11-15 14:48:19 +00:00
|
|
|
endif
|
|
|
|
|
|
|
|
if sdl_dep.found()
|
|
|
|
--
|
2022-02-18 09:37:15 +00:00
|
|
|
2.34.1
|
2021-11-15 14:48:19 +00:00
|
|
|
|