Summary: Bluetooth utilities
Summary(pl.UTF-8): Narzędzia Bluetooth
Name: bluez
-Version: 5.61
-Release: 2
+Version: 5.62
+Release: 1
License: GPL v2+
Group: Applications/System
Source0: https://www.kernel.org/pub/linux/bluetooth/%{name}-%{version}.tar.xz
-# Source0-md5: a4c98b6bd2411880cba5930e7f10a1c4
+# Source0-md5: 06d901a5bb82f9a359fa7d9f19939ae5
Source1: %{name}.init
Source2: %{name}.sysconfig
# Scripts for automatically btattach-ing serial ports connected to Broadcom HCIs
Source4: btattach-bcm@.service
Source5: btattach-bcm-service.sh
Patch0: 0001-obex-Use-GLib-helper-function-to-manipulate-paths.patch
-Patch1: glibc2.34.patch
URL: http://www.bluez.org/
BuildRequires: alsa-lib-devel >= 1.0
BuildRequires: autoconf >= 2.60
%prep
%setup -q
%patch0 -p1
-%patch1 -p1
# external ell is broken if ell/ell.h is in place due to deps generation and Makefile.am rules
%{__rm} -r ell
+++ /dev/null
---- bluez-5.61/profiles/audio/media.c.orig 2021-07-07 15:45:55.000000000 +0200
-+++ bluez-5.61/profiles/audio/media.c 2021-08-23 11:36:23.090317414 +0200
-@@ -1281,7 +1281,7 @@
- return media_player_send(mp, "Stop");
- }
-
--static bool pause(void *user_data)
-+static bool bluez_media_pause(void *user_data)
- {
- struct media_player *mp = user_data;
-
-@@ -1331,7 +1331,7 @@
- .set_volume = set_volume,
- .play = play,
- .stop = stop,
-- .pause = pause,
-+ .pause = bluez_media_pause,
- .next = next,
- .previous = previous,
- };