From b6f8c7578bd2e37d9fa2d07fa95828ac2a47c228 Mon Sep 17 00:00:00 2001 From: Guido Aulisi Date: Thu, 17 Mar 2022 18:56:40 +0100 Subject: [PATCH] Build zalsa internal client only in fedora --- jack-audio-connection-kit.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/jack-audio-connection-kit.spec b/jack-audio-connection-kit.spec index 0c8321d..d0d56e2 100644 --- a/jack-audio-connection-kit.spec +++ b/jack-audio-connection-kit.spec @@ -46,8 +46,10 @@ BuildRequires: opus-devel BuildRequires: pkgconfig BuildRequires: python3 BuildRequires: readline-devel +%if 0%{?fedora} BuildRequires: zita-alsa-pcmi-devel BuildRequires: zita-resampler-devel +%endif Requires(pre): shadow-utils Requires: pam @@ -106,8 +108,10 @@ python3 ./waf configure \ --alsa \ --clients 256 \ --ports-per-application=2048 \ - --example-tools=yes \ - --zalsa=yes +%if 0%{?fedora} + --zalsa=yes \ +%endif + --example-tools=yes python3 ./waf build %{?_smp_mflags} -v