Skip to content

Commit 6196fdc

Browse files
committed
Disable mpris2 on Windows
It assumes a GMainLoop is running and thus doesn't work with the Qt event dispatcher for Win32. With some work it could be updated to work like the D-Bus server in Audacious core, but it's probably not that useful on Windows anyway.
1 parent 0217cd1 commit 6196fdc

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

configure.ac

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -422,8 +422,12 @@ ENABLE_PLUGIN_WITH_TEST(lirc,
422422
GENERAL)
423423

424424
test_mpris2 () {
425-
unset have_mpris2
426-
AC_CHECK_PROG(have_mpris2, gdbus-codegen, yes, no)
425+
if test $HAVE_MSWINDOWS = yes ; then
426+
have_mpris2=no
427+
else
428+
unset have_mpris2
429+
AC_CHECK_PROG(have_mpris2, gdbus-codegen, yes, no)
430+
fi
427431
}
428432

429433
ENABLE_PLUGIN_WITH_TEST(mpris2,

0 commit comments

Comments
 (0)