mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-28 05:36:32 +00:00
dbus: compile with X support if libX11 is available
This commit is contained in:
parent
49a455645e
commit
592f072e42
@ -18,14 +18,6 @@ endif
|
|||||||
|
|
||||||
DBUS_DEPENDENCIES = uclibc pkgconfig
|
DBUS_DEPENDENCIES = uclibc pkgconfig
|
||||||
|
|
||||||
ifeq ($(BR2_DBUS_EXPAT),y)
|
|
||||||
DBUS_XML:=expat
|
|
||||||
DBUS_DEPENDENCIES += expat
|
|
||||||
else
|
|
||||||
DBUS_XML:=libxml
|
|
||||||
DBUS_DEPENDENCIES += libxml2
|
|
||||||
endif
|
|
||||||
|
|
||||||
DBUS_CONF_ENV = ac_cv_have_abstract_sockets=yes
|
DBUS_CONF_ENV = ac_cv_have_abstract_sockets=yes
|
||||||
DBUS_CONF_OPT = --program-prefix="" \
|
DBUS_CONF_OPT = --program-prefix="" \
|
||||||
--with-dbus-user=dbus \
|
--with-dbus-user=dbus \
|
||||||
@ -37,11 +29,24 @@ DBUS_CONF_OPT = --program-prefix="" \
|
|||||||
--disable-doxygen-docs \
|
--disable-doxygen-docs \
|
||||||
--disable-static \
|
--disable-static \
|
||||||
--enable-dnotify \
|
--enable-dnotify \
|
||||||
--without-x \
|
|
||||||
--with-xml=$(DBUS_XML) \
|
|
||||||
--with-system-socket=/var/run/dbus/system_bus_socket \
|
--with-system-socket=/var/run/dbus/system_bus_socket \
|
||||||
--with-system-pid-file=/var/run/messagebus.pid
|
--with-system-pid-file=/var/run/messagebus.pid
|
||||||
|
|
||||||
|
ifeq ($(BR2_DBUS_EXPAT),y)
|
||||||
|
DBUS_CONF_OPT += --with-xml=expat
|
||||||
|
DBUS_DEPENDENCIES += expat
|
||||||
|
else
|
||||||
|
DBUS_CONF_OPT += --with-xml=libxml
|
||||||
|
DBUS_DEPENDENCIES += libxml2
|
||||||
|
endif
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_XLIB_LIBX11),y)
|
||||||
|
DBUS_CONF_OPT += --with-x
|
||||||
|
DBUS_DEPENDENCIES += xlib_libX11
|
||||||
|
else
|
||||||
|
DBUS_CONF_OPT += --without-x
|
||||||
|
endif
|
||||||
|
|
||||||
$(eval $(call AUTOTARGETS,package,dbus))
|
$(eval $(call AUTOTARGETS,package,dbus))
|
||||||
|
|
||||||
$(DBUS_HOOK_POST_INSTALL): $(DBUS_TARGET_INSTALL_TARGET)
|
$(DBUS_HOOK_POST_INSTALL): $(DBUS_TARGET_INSTALL_TARGET)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user