blob: cf94f70bcf3ed565acedc57b127974c3b0cdcde3 [file] [log] [blame]
################################################################################
#
# xapp_xdpyinfo
#
################################################################################
XAPP_XDPYINFO_VERSION = 1.3.2
XAPP_XDPYINFO_SOURCE = xdpyinfo-$(XAPP_XDPYINFO_VERSION).tar.bz2
XAPP_XDPYINFO_SITE = http://xorg.freedesktop.org/releases/individual/app
XAPP_XDPYINFO_LICENSE = MIT
XAPP_XDPYINFO_LICENSE_FILES = COPYING
XAPP_XDPYINFO_CONF_OPTS = --without-xf86misc # not in BR
XAPP_XDPYINFO_DEPENDENCIES = xlib_libX11 xlib_libXext xlib_libXtst \
$(if $(BR2_PACKAGE_XLIB_LIBXI),xlib_libXi) \
$(if $(BR2_PACKAGE_XLIB_LIBXRENDER),xlib_libXrender) \
$(if $(BR2_PACKAGE_XLIB_LIBXCOMPOSITE),xlib_libXcomposite) \
$(if $(BR2_PACKAGE_XLIB_LIBXXF86VM),xlib_libXxf86vm)
ifeq ($(BR2_PACKAGE_XLIB_LIBXXF86DGA),y)
XAPP_XDPYINFO_DEPENDENCIES += xlib_libXxf86dga
else
XAPP_XDPYINFO_CONF_OPTS += --without-dga
endif
ifeq ($(BR2_PACKAGE_XLIB_LIBDMX),y)
XAPP_XDPYINFO_DEPENDENCIES += xlib_libdmx
else
XAPP_XDPYINFO_CONF_OPTS += --without-dmx
endif
ifeq ($(BR2_PACKAGE_XLIB_LIBXINERAMA),y)
XAPP_XDPYINFO_DEPENDENCIES += xlib_libXinerama
else
XAPP_XDPYINFO_CONF_OPTS += --without-xinerama
endif
$(eval $(autotools-package))