Accepting request 1045563 from home:XRevan86

OBS-URL: https://build.opensuse.org/request/show/1045563
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/pipewire?expand=0&rev=97
This commit is contained in:
Antonio Larrosa 2022-12-30 11:24:14 +00:00 committed by Git OBS Bridge
parent 56a1657733
commit 53724d9c59
3 changed files with 61 additions and 0 deletions

View File

@ -0,0 +1,26 @@
From c7b3ef0d9ff16a1e69a299870860bebcb628e298 Mon Sep 17 00:00:00 2001
From: Pauli Virtanen <pav@iki.fi>
Date: Wed, 21 Dec 2022 12:54:52 +0200
Subject: [PATCH] bluez5: backend-native: fix missing brace in CIND reply
It should look like ...,("battchg,(0-5)) not ...,"battchg",(0-5))
---
spa/plugins/bluez5/backend-native.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/spa/plugins/bluez5/backend-native.c b/spa/plugins/bluez5/backend-native.c
index eed23f66e..ab543a621 100644
--- a/spa/plugins/bluez5/backend-native.c
+++ b/spa/plugins/bluez5/backend-native.c
@@ -74,7 +74,7 @@ enum {
HFP_AG_INITIAL_CODEC_SETUP_WAIT
};
-#define CIND_INDICATORS "(\"service\",(0-1)),(\"call\",(0-1)),(\"callsetup\",(0-3)),(\"callheld\",(0-2)),(\"signal\",(0-5)),(\"roam\",(0-1)),\"battchg\",(0-5))"
+#define CIND_INDICATORS "(\"service\",(0-1)),(\"call\",(0-1)),(\"callsetup\",(0-3)),(\"callheld\",(0-2)),(\"signal\",(0-5)),(\"roam\",(0-1)),(\"battchg\",(0-5))"
enum {
CIND_SERVICE = 1,
CIND_CALL,
--
2.39.0

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Tue Dec 27 20:12:09 UTC 2022 - Alexei Sorokin <sor.alexei@meowr.ru>
- Split the X11 bell implementation into a separate package
(overlaps with implementations in e.g. Marco).
- Add patch from upstream to fix a Bluetooth regression
(glfo#pipewire/pipewire#2898):
* 0003-bluez5-backend-native-fix-missing-brace-in-CIND-reply.patch
-------------------------------------------------------------------
Mon Dec 19 11:00:49 UTC 2022 - Antonio Larrosa <alarrosa@suse.com>

View File

@ -68,6 +68,8 @@ Patch0: reduce-meson-dependency.patch
Patch1: 0001-pulse-server-add-channel-map-in-echo-cancel-module.patch
# PATCH-FIX-UPSTREAM 0001-alsa-dont-set--1-as-node.target.patch
Patch2: 0001-alsa-dont-set--1-as-node.target.patch
# PATCH-FIX-UPSTREAM 0003-bluez5-backend-native-fix-missing-brace-in-CIND-reply.patch
Patch3: 0003-bluez5-backend-native-fix-missing-brace-in-CIND-reply.patch
BuildRequires: docutils
BuildRequires: doxygen
BuildRequires: fdupes
@ -263,6 +265,25 @@ The framework is used to build a modular daemon that can be configured to:
* A central hub where video can be made available for other applications
such as the gnome-shell screencast API.
%package module-x11-%{apiver_str}
Summary: X11 support For PipeWire, A Multimedia Framework
Group: Productivity/Multimedia/Other
Requires: %{libpipewire} >= %{version}-%{release}
Requires: %{name} >= %{version}-%{release}
%description module-x11-%{apiver_str}
PipeWire is a server and user space API to deal with multimedia pipelines.
The framework is used to build a modular daemon that can be configured to:
* Be a low-latency audio server with features like pulseaudio and/or jack;
* A video capture server that can manage hardware video capture devices
and provide access to them;
* A central hub where video can be made available for other applications
such as the gnome-shell screencast API.
This package contains X11 bell support for PipeWire.
%package spa-plugins-%{spa_ver_str}
Summary: Plugins For PipeWire SPA
Group: Productivity/Multimedia/Other
@ -341,6 +362,7 @@ This package provides a PulseAudio implementation based on PipeWire
%endif
%patch1 -p1
%patch2 -p1
%patch3 -p1
%build
%if %{pkg_vcmp gcc < 8}
@ -550,9 +572,13 @@ fi
%files modules-%{apiver_str}
%dir %{_libdir}/pipewire-%{apiver}
%{_libdir}/pipewire-%{apiver}/libpipewire-module-*.so
%exclude %{_libdir}/pipewire-%{apiver}/libpipewire-module-x11-bell.so
%dir %{_libdir}/pipewire-%{apiver}/v4l2/
%{_libdir}/pipewire-%{apiver}/v4l2/libpw-v4l2.so
%files module-x11-%{apiver_str}
%{_libdir}/pipewire-%{apiver}/libpipewire-module-x11-bell.so
%dir %{_datadir}/alsa-card-profile/
%dir %{_datadir}/alsa-card-profile/mixer/
%{_datadir}/alsa-card-profile/mixer/*