configure.ac |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

New commits:
commit 70d1793b0e0af51b8f3d8d94e542b05a90a266af
Author:     Christian Lohmaier <lohmaier+libreoff...@googlemail.com>
AuthorDate: Wed Jul 13 14:10:55 2022 +0200
Commit:     Adolfo Jayme Barrientos <fit...@ubuntu.com>
CommitDate: Sun Jul 17 22:01:49 2022 +0200

    fix bluetooth entitlement, was added to the flipped condition
    
    of course it should only be added when the bluetooth part of the
    sdremote is enabled, not the other way round...
    fixes c78b49ec132eb5126445ebee7d259d3df7fcaa68
    
    Change-Id: I0085c61a4bafece80be92c56928095c2726e11b4
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137025
    Tested-by: Jenkins
    Reviewed-by: Christian Lohmaier <lohmaier+libreoff...@googlemail.com>
    (cherry picked from commit 9536f544a5f170bf96b27f0ff28ad066c9084fb5)
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/136993
    Reviewed-by: Adolfo Jayme Barrientos <fit...@ubuntu.com>

diff --git a/configure.ac b/configure.ac
index fc46c1d4cba9..c0c26c9c17cd 100644
--- a/configure.ac
+++ b/configure.ac
@@ -11881,14 +11881,14 @@ if test -n "$enable_sdremote" -a "$enable_sdremote" 
!= "no"; then
             AC_MSG_RESULT([yes])
             ENABLE_SDREMOTE_BLUETOOTH=TRUE
             SYSTEM_BLUEZ=
+            SDREMOTE_ENTITLEMENT="$SDREMOTE_ENTITLEMENT
+       <key>com.apple.security.device.bluetooth</key>
+       <true/>"
         fi
     else
         AC_MSG_RESULT([no])
         ENABLE_SDREMOTE_BLUETOOTH=
         SYSTEM_BLUEZ=
-        SDREMOTE_ENTITLEMENT="$SDREMOTE_ENTITLEMENT
-       <key>com.apple.security.device.bluetooth</key>
-       <true/>"
     fi
 else
     ENABLE_SDREMOTE=

Reply via email to