mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager
synced 2024-10-06 16:21:50 +00:00
contrib/rpm: explicitly enable/disable bluetooth support
The bluetooth plugin (with BlueZ5/NAP support) always gets build, but DUN support requires a library. When enabling build of the bluetooth subpackage, then always enable DUN support. And enable it explicitly, especially meson would not autodetect support and disable it by default.
This commit is contained in:
parent
390086a3cc
commit
30f6a5dd21
|
@ -550,6 +550,11 @@ NetworkManager in cloud setups. Currently only EC2 is supported.
|
||||||
%else
|
%else
|
||||||
-Diwd=false \
|
-Diwd=false \
|
||||||
%endif
|
%endif
|
||||||
|
%if %{with bluetooth}
|
||||||
|
-Dbluez5_dun=true \
|
||||||
|
%else
|
||||||
|
-Dbluez5_dun=false \
|
||||||
|
%endif
|
||||||
%if %{with nmtui}
|
%if %{with nmtui}
|
||||||
-Dnmtui=true \
|
-Dnmtui=true \
|
||||||
%else
|
%else
|
||||||
|
@ -676,6 +681,11 @@ intltoolize --automake --copy --force
|
||||||
%else
|
%else
|
||||||
--with-iwd=no \
|
--with-iwd=no \
|
||||||
%endif
|
%endif
|
||||||
|
%if %{with bluetooth}
|
||||||
|
--enable-bluez5-dun=yes \
|
||||||
|
%else
|
||||||
|
--enable-bluez5-dun=no \
|
||||||
|
%endif
|
||||||
%if %{with nmtui}
|
%if %{with nmtui}
|
||||||
--with-nmtui=yes \
|
--with-nmtui=yes \
|
||||||
%else
|
%else
|
||||||
|
|
Loading…
Reference in a new issue