Accepting request 893652 from GNOME:Factory

This comes late because I had to package libopenaptx for Packman first (not yet committed, pending access).
Build tested.

- Add %bcond_with aptx conditional to let 3rd parties to enable
  aptX support. (forwarded request 892963 from namtrac)

OBS-URL: https://build.opensuse.org/request/show/893652
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pipewire?expand=0&rev=30
This commit is contained in:
Dominique Leuenberger 2021-05-19 15:48:56 +00:00 committed by Git OBS Bridge
parent 3ffbf893de
commit ec6e54a392
2 changed files with 14 additions and 0 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu May 13 20:33:25 UTC 2021 - Ismail Dönmez <ismail@i10z.com>
- Add %bcond_with aptx conditional to let 3rd parties to enable
aptX support.
-------------------------------------------------------------------
Sat May 8 18:02:57 UTC 2021 - Ismail Dönmez <ismail@i10z.com>

View File

@ -41,6 +41,7 @@
%endif
%bcond_with aac
%bcond_with aptx
Name: pipewire
Version: 0.3.27
@ -88,6 +89,9 @@ BuildRequires: pkgconfig(ldacBT-enc)
BuildRequires: pkgconfig(libavcodec)
BuildRequires: pkgconfig(libavfilter)
BuildRequires: pkgconfig(libavformat)
%if %{with aptx}
BuildRequires: pkgconfig(libopenaptx)
%endif
BuildRequires: pkgconfig(libpulse)
BuildRequires: pkgconfig(libsystemd)
BuildRequires: pkgconfig(libudev)
@ -289,7 +293,11 @@ export CC=gcc-9
%else
-Dbluez5-codec-aac=disabled \
%endif
%if %{with aptx}
-Dbluez5-codec-aptx=enabled \
%else
-Dbluez5-codec-aptx=disabled \
%endif
-Dlibcamera=disabled \
%if %{with_ldacBT}
-Dbluez5-codec-ldac=enabled \