[packages/jack-audio-connection-kit] - handle zalsa support

qboosh qboosh at pld-linux.org
Sun Sep 26 22:33:00 CEST 2021


commit 639c3b7bcbee089421bb522e29c328d5a21fd02e
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Sep 26 22:37:50 2021 +0200

    - handle zalsa support

 jack-audio-connection-kit.spec | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)
---
diff --git a/jack-audio-connection-kit.spec b/jack-audio-connection-kit.spec
index 8f73948..19b7ffa 100644
--- a/jack-audio-connection-kit.spec
+++ b/jack-audio-connection-kit.spec
@@ -3,6 +3,7 @@
 # Conditional build:
 %bcond_without	apidocs		# Doxygen docs
 %bcond_without	ffado		# firewire (FFADO) driver
+%bcond_without	zalsa		# zita-a2j/j2a client
 %bcond_with	classic		# build also classic jackd server (see http://trac.jackaudio.org/wiki/JackDbusPackaging)
 
 Summary:	The JACK Audio Connection Kit
@@ -35,6 +36,10 @@ BuildRequires:	rpmbuild(macros) >= 1.752
 # with opus_custom interface
 BuildRequires:	opus-devel >= 1.0.3-2
 %{?with_apidocs:BuildRequires:	texlive-pdftex}
+%if %{with zalsa}
+BuildRequires:	zita-alsa-pcmi-devel
+BuildRequires:	zita-resampler-devel
+%endif
 Requires:	%{name}-libs = %{version}-%{release}
 Requires:	alsa-lib >= 1.0.18
 Obsoletes:	jack-audio-connection-kit-driver-alsa < 0.101.1-2
@@ -173,7 +178,8 @@ export LINKFLAGS="%{rpmldflags}"
 	%{?with_classic:--classic} \
 	--dbus \
 	%{?with_apidocs:--doxygen} \
-	%{?with_ffado:--firewire}
+	%{?with_ffado:--firewire} \
+	%{!?with_zalsa:--no-zalsa}
 
 ./waf build %{?_smp_mflags} -v
 
@@ -238,6 +244,10 @@ fi
 %attr(755,root,root) %{_libdir}/jack/netadapter.so
 %attr(755,root,root) %{_libdir}/jack/netmanager.so
 %attr(755,root,root) %{_libdir}/jack/profiler.so
+%if %{with zalsa}
+%attr(755,root,root) %{_libdir}/jack/zalsa_in.so
+%attr(755,root,root) %{_libdir}/jack/zalsa_out.so
+%endif
 %{_datadir}/dbus-1/services/org.jackaudio.service
 %{?with_classic:%{_mandir}/man1/jackd.1*}
 %{_mandir}/man1/jack_iodelay.1*
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/jack-audio-connection-kit.git/commitdiff/639c3b7bcbee089421bb522e29c328d5a21fd02e



More information about the pld-cvs-commit mailing list