From 1fc6ed6139d414f12e4a7ef61b4c92cfe2235b08 Mon Sep 17 00:00:00 2001 From: DistroBaker Date: Tue, 12 Jan 2021 12:32:06 +0000 Subject: [PATCH] Merged update from upstream sources This is an automated DistroBaker update from upstream sources. If you do not know what this is about or would like to opt out, contact the OSCI team. Source: https://src.fedoraproject.org/rpms/pulseaudio.git#a010074ae79d24201c2b8672aa33b24dd000a424 --- pulseaudio.spec | 25 ++++++++++++++++++------- 1 file changed, 18 insertions(+), 7 deletions(-) diff --git a/pulseaudio.spec b/pulseaudio.spec index 7bb646d..2643352 100644 --- a/pulseaudio.spec +++ b/pulseaudio.spec @@ -11,6 +11,12 @@ %undefine _strict_symbol_defs_build %global with_webrtc 1 +%if 0%{?fedora} +%global enable_lirc 1 +%global enable_jack 1 +%global enable_gconf 1 +%endif + # https://bugzilla.redhat.com/983606 %global _hardened_build 1 @@ -31,7 +37,7 @@ Name: pulseaudio Summary: Improved Linux Sound Server Version: %{pa_major}%{?pa_minor:.%{pa_minor}} -Release: 2%{?snap:.%{snap}git%{shortcommit}}%{?dist} +Release: 3%{?snap:.%{snap}git%{shortcommit}}%{?dist} License: LGPLv2+ URL: http://www.freedesktop.org/wiki/Software/PulseAudio %if 0%{?gitrel} @@ -58,6 +64,7 @@ Patch206: pulseaudio-11.1-autospawn_disable.patch ## upstreamable patches +BuildRequires: make BuildRequires: automake libtool BuildRequires: gcc-c++ BuildRequires: pkgconfig(bash-completion) @@ -72,12 +79,7 @@ BuildRequires: libsndfile-devel BuildRequires: alsa-lib-devel BuildRequires: glib2-devel BuildRequires: gtk2-devel -BuildRequires: GConf2-devel BuildRequires: avahi-devel -%if 0%{?fedora} -%global enable_lirc 1 -%global enable_jack 1 -%endif BuildRequires: libatomic_ops-static, libatomic_ops-devel BuildRequires: pkgconfig(bluez) >= 5.0 BuildRequires: sbc-devel @@ -184,11 +186,14 @@ Requires: %{name}%{?_isa} = %{version}-%{release} JACK sink and source modules for the PulseAudio sound server. %endif +%if 0%{?enable_gconf} %package module-gconf Summary: GConf support for the PulseAudio sound server +BuildRequires: GConf2-devel Requires: %{name}%{?_isa} = %{version}-%{release} %description module-gconf GConf configuration backend for the PulseAudio sound server. +%endif %package module-gsettings Summary: Gsettings support for the PulseAudio sound server @@ -290,7 +295,7 @@ NOCONFIGURE=1 ./bootstrap.sh --disable-tcpwrap \ --disable-bluez4 \ --enable-bluez5 \ - --enable-gconf \ + %{?enable_gconf:--enable-gconf}%{!?enable_gconf:--disable-gconf} \ --enable-gsettings \ %ifarch %{arm} --disable-neon-opt \ @@ -568,9 +573,11 @@ systemctl --no-reload preset --global pulseaudio.socket >/dev/null 2>&1 || : %{_libdir}/pulse-%{pa_major}/modules/module-bluetooth-discover.so %{_libdir}/pulse-%{pa_major}/modules/module-bluetooth-policy.so +%if 0%{?enable_gconf} %files module-gconf %{_libdir}/pulse-%{pa_major}/modules/module-gconf.so %{_libexecdir}/pulse/gconf-helper +%endif %files module-gsettings %{_libdir}/pulse-%{pa_major}/modules/module-gsettings.so @@ -648,6 +655,10 @@ systemctl --no-reload preset --global pulseaudio.socket >/dev/null 2>&1 || : %changelog +* Tue Jan 12 2021 Wim Taymans - 14.0-3 +- Move enable_ switches next to the other switches on top +- Only enable gconf on fedora + * Tue Nov 24 2020 Neal Gompa - 14.0-2 - Add 'pulseaudio-daemon' Provides + Conflicts to support swapping with PipeWire