Accepting request 1152947 from multimedia:libs

OBS-URL: https://build.opensuse.org/request/show/1152947
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pulseaudio?expand=0&rev=203
This commit is contained in:
Dominique Leuenberger 2024-02-29 20:49:08 +00:00 committed by Git OBS Bridge
commit 1734fb4579
2 changed files with 19 additions and 1 deletions

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Tue Feb 27 21:49:56 UTC 2024 - Eugenio Paolantonio <eugenio.paolantonio@suse.com>
- 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 <seil0@mosad.xyz> Tue Feb 13 07:21:51 UTC 2024 - Jannik Seiler <seil0@mosad.xyz>

View File

@ -1,7 +1,7 @@
# #
# spec file for package pulseaudio # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -25,6 +25,12 @@
%define _fillupdir /var/adm/fillup-templates %define _fillupdir /var/adm/fillup-templates
%endif %endif
%ifnarch s390 s390x ppc64
%define with_webrtc_audio_processing 1
%else
%define with_webrtc_audio_processing 0
%endif
%define drvver 17.0 %define drvver 17.0
%define soname 0 %define soname 0
%define _udevrulesdir %(pkg-config --variable=udevdir udev)/rules.d %define _udevrulesdir %(pkg-config --variable=udevdir udev)/rules.d
@ -70,7 +76,9 @@ BuildRequires: libopenssl-devel
BuildRequires: libsndfile-devel >= 1.0.18 BuildRequires: libsndfile-devel >= 1.0.18
BuildRequires: libtool BuildRequires: libtool
BuildRequires: pkgconfig(libudev) >= 143 BuildRequires: pkgconfig(libudev) >= 143
%if %{with_webrtc_audio_processing}
BuildRequires: pkgconfig(webrtc-audio-processing-1) >= 1.0 BuildRequires: pkgconfig(webrtc-audio-processing-1) >= 1.0
%endif
BuildRequires: orc >= 0.4.9 BuildRequires: orc >= 0.4.9
BuildRequires: perl-XML-Parser BuildRequires: perl-XML-Parser
BuildRequires: pkgconfig BuildRequires: pkgconfig
@ -470,7 +478,9 @@ exit 0
%{_libdir}/pulseaudio/modules/libprotocol-native.so %{_libdir}/pulseaudio/modules/libprotocol-native.so
%{_libdir}/pulseaudio/modules/libprotocol-simple.so %{_libdir}/pulseaudio/modules/libprotocol-simple.so
%{_libdir}/pulseaudio/modules/librtp.so %{_libdir}/pulseaudio/modules/librtp.so
%if %{with_webrtc_audio_processing}
%{_libdir}/pulseaudio/modules/libwebrtc-util.so %{_libdir}/pulseaudio/modules/libwebrtc-util.so
%endif
%{_libdir}/pulseaudio/modules/module-alsa-card.so %{_libdir}/pulseaudio/modules/module-alsa-card.so
%{_libdir}/pulseaudio/modules/module-alsa-sink.so %{_libdir}/pulseaudio/modules/module-alsa-sink.so
%{_libdir}/pulseaudio/modules/module-alsa-source.so %{_libdir}/pulseaudio/modules/module-alsa-source.so