try to avoid windows wanting to build dbus

This commit is contained in:
Joey Hess 2014-04-02 17:50:47 -04:00
parent 43ed9c7383
commit 9febc5fd58

View file

@ -170,14 +170,15 @@ Executable git-annex
CPP-Options: -DWITH_KQUEUE
C-Sources: Utility/libkqueue.c
if flag(Dbus)
Build-Depends: dbus (>= 0.10.3)
CPP-Options: -DWITH_DBUS
if flag(DesktopNotify)
if (os(linux))
if flag(Dbus)
Build-Depends: dbus (>= 0.10.3), fdo-notify (>= 0.3)
CPP-Options: -DWITH_DESKTOP_NOTIFY -DWITH_DBUS_NOTIFICATIONS
Build-Depends: dbus (>= 0.10.3)
CPP-Options: -DWITH_DBUS
if flag(DesktopNotify)
if flag(Dbus)
Build-Depends: dbus (>= 0.10.3), fdo-notify (>= 0.3)
CPP-Options: -DWITH_DESKTOP_NOTIFY -DWITH_DBUS_NOTIFICATIONS
if flag(Android)
Build-Depends: data-endian