1 |
%define fullgit 2747c961015ba00ec9a1cad8a8a95b4a34db9ee0 |
%define fullgit 2747c961015ba00ec9a1cad8a8a95b4a34db9ee0 |
2 |
%define git 0 |
%define git 0 |
3 |
%define rel 2 |
%define rel 1 |
4 |
%if %{git} |
%if %{git} |
5 |
%define release %mkrel 0.%{git}.%rel |
%define release %mkrel 0.%{git}.%rel |
6 |
%else |
%else |
23 |
%define major 0 |
%define major 0 |
24 |
%define zeroconfmajor 0 |
%define zeroconfmajor 0 |
25 |
%define glib2major 0 |
%define glib2major 0 |
26 |
%define apiver 11.1 |
%define apiver 12.0 |
27 |
|
|
28 |
# Library names |
# Library names |
29 |
%define libname %mklibname %{name} %{major} |
%define libname %mklibname %{name} %{major} |
38 |
|
|
39 |
Summary: Sound server for Linux |
Summary: Sound server for Linux |
40 |
Name: pulseaudio |
Name: pulseaudio |
41 |
Version: 11.1 |
Version: 12.0 |
42 |
Release: %{release} |
Release: %{release} |
43 |
%if %{git} |
%if %{git} |
44 |
Source0: %{name}-%{version}-%{fullgit}.tar.xz |
Source0: %{name}-%{version}-%{fullgit}.tar.xz |
74 |
# Stable Branch Patches |
# Stable Branch Patches |
75 |
# git format-patch --start-number 100 v1.0..stable-1.x |
# git format-patch --start-number 100 v1.0..stable-1.x |
76 |
|
|
|
# workaround glibc 2.27 build failures, avoid dup'd memfd_create declaration |
|
|
# https://bugs.freedesktop.org/show_bug.cgi?id=104733 |
|
|
Patch205: pulseaudio-11.1-glibc_memfd.patch |
|
|
|
|
77 |
# Mageia Patches |
# Mageia Patches |
78 |
# git format-patch --start-number 500 table-1.x..mga-1.x-patches |
# git format-patch --start-number 500 table-1.x..mga-1.x-patches |
79 |
Patch500: 0500-Some-customisations-to-esdcompat-in-order-to-adhere-.patch |
Patch500: 0500-Some-customisations-to-esdcompat-in-order-to-adhere-.patch |
96 |
#Patch605: 0605-raop2-modules-raop.patch |
#Patch605: 0605-raop2-modules-raop.patch |
97 |
|
|
98 |
# Patches to fix Mga#22091 (pulseaudio module-device-manager mis-routes streams in plasma5) |
# Patches to fix Mga#22091 (pulseaudio module-device-manager mis-routes streams in plasma5) |
|
Patch700: pulseaudio-11.1-mga-add_sink-source_requested_by_application_flag.patch |
|
|
Patch701: pulseaudio-11.1-mga-device-manager_dont_override_app_routing_requests.patch |
|
99 |
|
|
100 |
# Airtunes links to OpenSSL which is BSD-like and should be reflected here |
# Airtunes links to OpenSSL which is BSD-like and should be reflected here |
101 |
License: LGPL and BSD-like |
License: LGPL and BSD-like |
108 |
BuildRequires: pkgconfig(alsa) |
BuildRequires: pkgconfig(alsa) |
109 |
BuildRequires: pkgconfig(avahi-client) |
BuildRequires: pkgconfig(avahi-client) |
110 |
BuildRequires: pkgconfig(gconf-2.0) |
BuildRequires: pkgconfig(gconf-2.0) |
111 |
|
BuildRequires: pkgconfig(soxr) |
112 |
|
BuildRequires: pkgconfig(speexdsp) >= 1.2 |
113 |
BuildRequires: libwrap-devel |
BuildRequires: libwrap-devel |
114 |
BuildRequires: pkgconfig(x11) |
BuildRequires: pkgconfig(x11) |
115 |
BuildRequires: pkgconfig(x11-xcb) |
BuildRequires: pkgconfig(x11-xcb) |
143 |
BuildRequires: pkgconfig(json-c) |
BuildRequires: pkgconfig(json-c) |
144 |
BuildRequires: pkgconfig(orc-0.4) |
BuildRequires: pkgconfig(orc-0.4) |
145 |
BuildRequires: pkgconfig(fftw3) |
BuildRequires: pkgconfig(fftw3) |
|
%ifarch %{ix86} x86_64 |
|
|
BuildRequires: xen-devel |
|
|
%endif |
|
146 |
BuildRequires: pkgconfig(webrtc-audio-processing) |
BuildRequires: pkgconfig(webrtc-audio-processing) |
147 |
BuildRequires: pkgconfig(sbc) |
BuildRequires: pkgconfig(sbc) |
148 |
|
|
353 |
%description module-gconf |
%description module-gconf |
354 |
GConf configuration backend for the PulseAudio sound server. |
GConf configuration backend for the PulseAudio sound server. |
355 |
|
|
356 |
|
%package module-gsettings |
357 |
|
Summary: Gsettings support for the PulseAudio sound server |
358 |
|
Requires: %{name}%{?_isa} = %{version}-%{release} |
359 |
|
|
360 |
|
%description module-gsettings |
361 |
|
GSettings configuration backend for the PulseAudio sound server. |
362 |
|
|
363 |
%package module-equalizer |
%package module-equalizer |
364 |
Summary: Equalizer support for the PulseAudio sound server |
Summary: Equalizer support for the PulseAudio sound server |
365 |
Group: Sound/Mixers |
Group: Sound/Mixers |
371 |
%description module-equalizer |
%description module-equalizer |
372 |
Equalizer support and GUI for the PulseAudio sound server. |
Equalizer support and GUI for the PulseAudio sound server. |
373 |
|
|
|
%ifarch %{ix86} x86_64 |
|
|
%package module-xen |
|
|
Summary: Xen guest support for the PulseAudio sound server |
|
|
Group: Sound/Mixers |
|
|
Requires: %{name} = %{version}-%{release} |
|
|
|
|
|
%description module-xen |
|
|
Xen guest support for the PulseAudio sound server. |
|
|
%endif |
|
|
|
|
374 |
%package utils |
%package utils |
375 |
Summary: PulseAudio sound server utilities |
Summary: PulseAudio sound server utilities |
376 |
Group: Sound/Utilities |
Group: Sound/Utilities |
411 |
--enable-bluez5 \ |
--enable-bluez5 \ |
412 |
--disable-bluez5-ofono-headset \ |
--disable-bluez5-ofono-headset \ |
413 |
%endif |
%endif |
414 |
|
--enable-gconf \ |
415 |
|
--enable-gsettings \ |
416 |
--disable-bluez4 |
--disable-bluez4 |
417 |
|
|
418 |
|
|
466 |
|
|
467 |
%files -f %{name}.lang |
%files -f %{name}.lang |
468 |
%doc README |
%doc README |
469 |
|
%license LICENSE GPL LGPL |
470 |
%dir %{_sysconfdir}/pulse |
%dir %{_sysconfdir}/pulse |
471 |
%config(noreplace) %{_sysconfdir}/pulse/daemon.conf |
%config(noreplace) %{_sysconfdir}/pulse/daemon.conf |
472 |
%config(noreplace) %{_sysconfdir}/pulse/default.pa |
%config(noreplace) %{_sysconfdir}/pulse/default.pa |
503 |
%{_libdir}/pulse-%{apiver}/modules/module-alsa-sink.so |
%{_libdir}/pulse-%{apiver}/modules/module-alsa-sink.so |
504 |
%{_libdir}/pulse-%{apiver}/modules/module-alsa-source.so |
%{_libdir}/pulse-%{apiver}/modules/module-alsa-source.so |
505 |
%{_libdir}/pulse-%{apiver}/modules/module-always-sink.so |
%{_libdir}/pulse-%{apiver}/modules/module-always-sink.so |
506 |
|
%{_libdir}/pulse-%{apiver}/modules/module-always-source.so |
507 |
%{_libdir}/pulse-%{apiver}/modules/module-augment-properties.so |
%{_libdir}/pulse-%{apiver}/modules/module-augment-properties.so |
508 |
%{_libdir}/pulse-%{apiver}/modules/module-card-restore.so |
%{_libdir}/pulse-%{apiver}/modules/module-card-restore.so |
509 |
%{_libdir}/pulse-%{apiver}/modules/module-cli-protocol-tcp.so |
%{_libdir}/pulse-%{apiver}/modules/module-cli-protocol-tcp.so |
665 |
%dir %{_libexecdir}/pulse/ |
%dir %{_libexecdir}/pulse/ |
666 |
%{_libexecdir}/pulse/gconf-helper |
%{_libexecdir}/pulse/gconf-helper |
667 |
|
|
668 |
|
%files module-gsettings |
669 |
|
%{_libdir}/pulse-%{apiver}/modules/module-gsettings.so |
670 |
|
%{_libexecdir}/pulse/gsettings-helper |
671 |
|
%{_datadir}/GConf/gsettings/pulseaudio.convert |
672 |
|
%{_datadir}/glib-2.0/schemas/org.freedesktop.pulseaudio.gschema.xml |
673 |
|
|
674 |
%files module-equalizer |
%files module-equalizer |
675 |
%{_bindir}/qpaeq |
%{_bindir}/qpaeq |
676 |
%{_libdir}/pulse-%{apiver}/modules/module-equalizer-sink.so |
%{_libdir}/pulse-%{apiver}/modules/module-equalizer-sink.so |
677 |
|
|
|
%ifarch %{ix86} x86_64 |
|
|
%files module-xen |
|
|
#%{_libdir}/pulse-%{apiver}/modules/module-xenpv-sink.so |
|
|
%endif |
|
|
|
|
678 |
%files utils |
%files utils |
679 |
%{_datadir}/bash-completion/completions/* |
%{_datadir}/bash-completion/completions/* |
680 |
%{_datadir}/zsh/site-functions/_pulseaudio |
%{_datadir}/zsh/site-functions/_pulseaudio |