diff --git a/pulseaudio.changes b/pulseaudio.changes index 68ec82c..e9514e6 100644 --- a/pulseaudio.changes +++ b/pulseaudio.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Tue Feb 27 21:49:56 UTC 2024 - Eugenio Paolantonio + +- Do not BuildRequire pkgconfig(webrtc-audio-processing-1) on big + endian architectures (s390, s390x, ppc64) as the dependency is + not available: + * WebRTC echo canceller will be disabled there + ------------------------------------------------------------------- Tue Feb 13 07:21:51 UTC 2024 - Jannik Seiler diff --git a/pulseaudio.spec b/pulseaudio.spec index 575c796..5dd9c63 100644 --- a/pulseaudio.spec +++ b/pulseaudio.spec @@ -1,7 +1,7 @@ # # spec file for package pulseaudio # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -25,6 +25,12 @@ %define _fillupdir /var/adm/fillup-templates %endif +%ifnarch s390 s390x ppc64 +%define with_webrtc_audio_processing 1 +%else +%define with_webrtc_audio_processing 0 +%endif + %define drvver 17.0 %define soname 0 %define _udevrulesdir %(pkg-config --variable=udevdir udev)/rules.d @@ -70,7 +76,9 @@ BuildRequires: libopenssl-devel BuildRequires: libsndfile-devel >= 1.0.18 BuildRequires: libtool BuildRequires: pkgconfig(libudev) >= 143 +%if %{with_webrtc_audio_processing} BuildRequires: pkgconfig(webrtc-audio-processing-1) >= 1.0 +%endif BuildRequires: orc >= 0.4.9 BuildRequires: perl-XML-Parser BuildRequires: pkgconfig @@ -470,7 +478,9 @@ exit 0 %{_libdir}/pulseaudio/modules/libprotocol-native.so %{_libdir}/pulseaudio/modules/libprotocol-simple.so %{_libdir}/pulseaudio/modules/librtp.so +%if %{with_webrtc_audio_processing} %{_libdir}/pulseaudio/modules/libwebrtc-util.so +%endif %{_libdir}/pulseaudio/modules/module-alsa-card.so %{_libdir}/pulseaudio/modules/module-alsa-sink.so %{_libdir}/pulseaudio/modules/module-alsa-source.so