new PulseAudio 3.0 packaging help

I will see if I can get this closer to building now. Missing sbchttps://build.opensuse.org/package/show?package=pulseaudio&project=home%3Aryanbach%3Abranches%3Amultimedia%3Alibs

**osc rdiff multimedia:libs pulseaudio home:sumski:branches:multimedia:libs pulseaudio**
Index: pulseaudio.spec
===================================================================
--- pulseaudio.spec (revision 109)
+++ pulseaudio.spec (revision 6)
@@ -17,9 +17,9 @@
 
 
 Name:           pulseaudio
-Version:        2.1
+Version:        3.0
 Release:        0
-%define drvver  2.1
+%define drvver  3.0
 %define soname  0
 %define _udevrulesdir %(pkg-config --variable=udevdir udev)/rules.d
 Summary:        A Networked Sound Server
@@ -38,7 +38,9 @@
 BuildRequires:  pkgconfig(systemd)
 %endif
 BuildRequires:  alsa-devel
-BuildRequires:  bluez-devel
+## Bluez-devel and sbc-devel are commented out, until sbc reaches Factory. Bluetooth support without sbc doesn't build
+#BuildRequires:  bluez-devel
+#BuildRequires:  sbc-devel
 BuildRequires:  doxygen
 BuildRequires:  fdupes
 BuildRequires:  gcc-c++
@@ -153,18 +155,18 @@
 
 This package includes support for Jack-based applications.
 
-%package module-bluetooth
-Summary:        Bluetooth support for the PulseAudio sound server
-Group:          System/Sound Daemons
-Requires:       %{name} = %{version}
-Requires:       bluez >= 4.34
+#%package module-bluetooth
+#Summary:        Bluetooth support for the PulseAudio sound server
+#Group:          System/Sound Daemons
+#Requires:       %{name} = %{version}
+#Requires:       bluez >= 4.34
+
+#%description module-bluetooth
+#pulseaudio is a networked sound server for Linux and other Unix like
+#operating systems and Microsoft Windows. It is intended to be an
+#improved drop-in replacement for the Enlightened Sound Daemon (ESOUND).
 
-%description module-bluetooth
-pulseaudio is a networked sound server for Linux and other Unix like
-operating systems and Microsoft Windows. It is intended to be an
-improved drop-in replacement for the Enlightened Sound Daemon (ESOUND).
-
-Contains Bluetooth audio (A2DP/HSP/HFP) support for the PulseAudio sound server.
+#Contains Bluetooth audio (A2DP/HSP/HFP) support for the PulseAudio sound server.
 
 %package module-gconf
 Summary:        GCONF module for PulseAudio
@@ -479,15 +481,15 @@
 %{_libdir}/libpulse-mainloop-glib.so.%{soname}
 %{_libdir}/libpulse-mainloop-glib.so.%{soname}.*
 
-%files module-bluetooth
-%defattr(-,root,root)
-%{_libdir}/pulse-%{drvver}/modules/libbluetooth-ipc.so
-%{_libdir}/pulse-%{drvver}/modules/libbluetooth-sbc.so
-%{_libdir}/pulse-%{drvver}/modules/libbluetooth-util.so
-%{_libdir}/pulse-%{drvver}/modules/module-bluetooth-device.so
-%{_libdir}/pulse-%{drvver}/modules/module-bluetooth-discover.so
-%{_libdir}/pulse-%{drvver}/modules/module-bluetooth-proximity.so
-%attr(0755,root,root) %{_libexecdir}/pulse/proximity-helper
+#%files module-bluetooth
+#%defattr(-,root,root)
+#%{_libdir}/pulse-%{drvver}/modules/libbluetooth-ipc.so
+#%{_libdir}/pulse-%{drvver}/modules/libbluetooth-sbc.so
+#%{_libdir}/pulse-%{drvver}/modules/libbluetooth-util.so
+#%{_libdir}/pulse-%{drvver}/modules/module-bluetooth-device.so
+#%{_libdir}/pulse-%{drvver}/modules/module-bluetooth-discover.so
+#%{_libdir}/pulse-%{drvver}/modules/module-bluetooth-proximity.so
+#%attr(0755,root,root) %{_libexecdir}/pulse/proximity-helper
 
 %files module-gconf
 %defattr(-,root,root)
Index: pulseaudio-3.0.tar.xz
===================================================================
Binary files pulseaudio-3.0.tar.xz (revision 6) added
Index: pulseaudio-2.1.tar.xz
===================================================================
Binary files pulseaudio-2.1.tar.xz (revision 109) deleted

Sbc is currently only in Base:System

Support for the “socket API” of BlueZ has been dropped in favour of the D-Bus based “media API”. Due to this change, the minimum supported version of BlueZ is now 4.99. Also, make sure that you don’t have “Disable=Media” in /etc/bluetooth/audio.conf. And due to a bug in BlueZ, it’s probably necessary to have “Disable=Socket”, otherwise there will be problems with the A2DP profile.

Set minimum BlueZ to 4.99, source:freedesktop.org - Software/PulseAudio/Notes/3.0

:slight_smile:
Look at just one line above

Bluetooth support requires now “sbc”, a library for the SBC codec. The codec used to be included within PulseAudio, but it has now been split off into a separate library. It’s available at BlueZ.

The error I get:
file /usr/lib/libsbc.so conflicts between attempted installs of sbc-devel-1.0-5.1.i586 and bluez-devel-4.101-4.3.i586

Is there an issue in the bluez spec file? https://build.opensuse.org/package/show?package=bluez&project=openSUSE%3AFactory

The latest bluez is 5.0 now: http://www.kernel.org/pub/linux/bluetooth/bluez-5.0.tar.xz

“file /usr/lib/libsbc.so conflicts between attempted installs of sbc-devel-1.0-5.1.i586 and bluez-devel-4.101-4.3.i586”
They get the same error as above, here as well: https://build.opensuse.org/package/show?package=pulseaudio&project=multimedia%3Alibs

Latest bluez is 5.1 now: git.kernel.org - bluetooth/bluez.git/commit