dbus-glib.mk 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. #############################################################
  2. #
  3. # dbus-glib
  4. #
  5. #############################################################
  6. DBUS_GLIB_VERSION = 0.80
  7. DBUS_GLIB_SOURCE = dbus-glib-$(DBUS_GLIB_VERSION).tar.gz
  8. DBUS_GLIB_SITE = http://dbus.freedesktop.org/releases/dbus-glib/
  9. DBUS_GLIB_INSTALL_STAGING = YES
  10. DBUS_GLIB_INSTALL_TARGET = YES
  11. DBUS_GLIB_CONF_ENV = ac_cv_have_abstract_sockets=yes \
  12. ac_cv_func_posix_getpwnam_r=yes \
  13. have_abstract_sockets=yes
  14. DBUS_GLIB_CONF_OPT = --localstatedir=/var \
  15. --program-prefix="" \
  16. --disable-tests \
  17. --disable-xml-docs \
  18. --with-introspect-xml=$(DBUS_HOST_INTROSPECT) \
  19. --with-dbus-binding-tool=$(DBUS_GLIB_HOST_BINARY) \
  20. --disable-bash-completion \
  21. --disable-doxygen-docs \
  22. --enable-asserts=yes
  23. DBUS_GLIB_DEPENDENCIES = host-pkg-config dbus host-dbus host-dbus-glib libglib2 expat
  24. HOST_DBUS_GLIB_DEPENDENCIES = host-dbus host-expat host-libglib2
  25. HOST_DBUS_GLIB_CONF_OPT = \
  26. --disable-tests \
  27. --disable-xml-docs \
  28. --disable-bash-completion \
  29. --disable-doxygen-docs \
  30. --enable-asserts=yes
  31. $(eval $(call AUTOTARGETS,package,dbus-glib))
  32. $(eval $(call AUTOTARGETS,package,dbus-glib,host))
  33. # dbus-glib for the host
  34. DBUS_GLIB_HOST_BINARY:=$(HOST_DIR)/usr/bin/dbus-binding-tool