Accepting request 712640 from Base:System

OBS-URL: https://build.opensuse.org/request/show/712640
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bluez?expand=0&rev=162
This commit is contained in:
Dominique Leuenberger 2019-07-02 08:49:38 +00:00 committed by Git OBS Bridge
commit 478ebe8b37
3 changed files with 4734 additions and 0 deletions

File diff suppressed because it is too large Load Diff

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Tue Jun 25 13:19:30 UTC 2019 - Frederic Crozat <fcrozat@suse.com>
- Add avinfo to bluez-test, useful for debugging.
- Only BuildRequires pkgconfig(ell) on Tumbleweed.
- Add bluez-5.50-a2dp-backports.patch: A2DP fixes for newer codecs
(upstream backport).
-------------------------------------------------------------------
Wed Apr 24 17:43:18 UTC 2019 - Michal Suchanek <msuchanek@suse.de>

View File

@ -40,6 +40,8 @@ Patch5: 0001-obexd-use-AM_LDFLAGS-for-linking.patch
Patch6: disable_some_obex_tests.patch
# PATCH-FIX-UPSTREAM: improve profile availability on some audio devices
Patch7: 0001-policy-Add-logic-to-connect-a-Sink.patch
# PATCH-FIX-UPSTREAM a2dp fixes for newer codecs
Patch8: bluez-5.50-a2dp-backports.patch
# Upstream suggests to use btmon instead of hcidump and does not want those patches
# => PATCH-FIX-OPENSUSE for those two :-)
# fix some memory leak with malformed packet (reported upstream but not yet fixed)
@ -60,7 +62,9 @@ BuildRequires: systemd-rpm-macros
BuildRequires: pkgconfig(alsa)
BuildRequires: pkgconfig(check)
BuildRequires: pkgconfig(dbus-1) >= 1.6
%if 0%{?suse_version} >= 1550
BuildRequires: pkgconfig(ell) >= 0.3
%endif
BuildRequires: pkgconfig(glib-2.0) >= 2.28
# json-c is needed for --enable-mesh
BuildRequires: pkgconfig(json-c)
@ -160,6 +164,7 @@ desktop specific applets like blueman or GNOME or KDE applets).
%patch6 -p1
%endif
%patch7 -p1
%patch8 -p1
%patch101 -p1
%patch102 -p1
mkdir dbus-apis
@ -183,7 +188,9 @@ autoreconf -fi
--enable-library \
--enable-tools \
--enable-cups \
%if 0%{?suse_version} >= 1550
--enable-mesh \
%endif
--enable-midi \
--enable-test \
--enable-experimental \
@ -217,6 +224,8 @@ install -m0755 attrib/gatttool %{buildroot}%{_bindir}
install -m0755 tools/btgatt-client %{buildroot}%{_bindir}
# btmgmt can be useful
install -m0755 tools/btmgmt %{buildroot}%{_bindir}
# avinfo can be useful for debugging
install -m0755 tools/avinfo $RPM_BUILD_ROOT%{_bindir}
# for auto-enable subpackage
find . -name main.conf
@ -282,7 +291,9 @@ make check V=0
%{_libexecdir}/bluetooth/obexd
%{_bindir}/bluetoothctl
%{_bindir}/btmon
%if 0%{?suse_version} >= 1550
%{_bindir}/meshctl
%endif
%{_bindir}/hcidump
%{_bindir}/bccmd
%{_libexecdir}/udev/
@ -327,6 +338,7 @@ make check V=0
%files test
%defattr(-,root,root)
%{_bindir}/avinfo
#{_bindir}/hciemu
%{_bindir}/l2test
%{_bindir}/rctest