xref: /OK3568_Linux_fs/buildroot/package/x11r7/xapp_xdpyinfo/xapp_xdpyinfo.mk (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun################################################################################
2*4882a593Smuzhiyun#
3*4882a593Smuzhiyun# xapp_xdpyinfo
4*4882a593Smuzhiyun#
5*4882a593Smuzhiyun################################################################################
6*4882a593Smuzhiyun
7*4882a593SmuzhiyunXAPP_XDPYINFO_VERSION = 1.3.3
8*4882a593SmuzhiyunXAPP_XDPYINFO_SOURCE = xdpyinfo-$(XAPP_XDPYINFO_VERSION).tar.xz
9*4882a593SmuzhiyunXAPP_XDPYINFO_SITE = http://xorg.freedesktop.org/releases/individual/app
10*4882a593SmuzhiyunXAPP_XDPYINFO_LICENSE = MIT
11*4882a593SmuzhiyunXAPP_XDPYINFO_LICENSE_FILES = COPYING
12*4882a593SmuzhiyunXAPP_XDPYINFO_CONF_OPTS = --without-xf86misc # not in BR
13*4882a593SmuzhiyunXAPP_XDPYINFO_DEPENDENCIES = xlib_libX11 xlib_libXext xlib_libXtst \
14*4882a593Smuzhiyun	$(if $(BR2_PACKAGE_XLIB_LIBXI),xlib_libXi) \
15*4882a593Smuzhiyun	$(if $(BR2_PACKAGE_XLIB_LIBXRENDER),xlib_libXrender) \
16*4882a593Smuzhiyun	$(if $(BR2_PACKAGE_XLIB_LIBXCOMPOSITE),xlib_libXcomposite) \
17*4882a593Smuzhiyun	$(if $(BR2_PACKAGE_XLIB_LIBXXF86VM),xlib_libXxf86vm)
18*4882a593Smuzhiyun
19*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_XLIB_LIBXXF86DGA),y)
20*4882a593SmuzhiyunXAPP_XDPYINFO_DEPENDENCIES += xlib_libXxf86dga
21*4882a593Smuzhiyunelse
22*4882a593SmuzhiyunXAPP_XDPYINFO_CONF_OPTS += --without-dga
23*4882a593Smuzhiyunendif
24*4882a593Smuzhiyun
25*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_XLIB_LIBDMX),y)
26*4882a593SmuzhiyunXAPP_XDPYINFO_DEPENDENCIES += xlib_libdmx
27*4882a593Smuzhiyunelse
28*4882a593SmuzhiyunXAPP_XDPYINFO_CONF_OPTS += --without-dmx
29*4882a593Smuzhiyunendif
30*4882a593Smuzhiyun
31*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_XLIB_LIBXINERAMA),y)
32*4882a593SmuzhiyunXAPP_XDPYINFO_DEPENDENCIES += xlib_libXinerama
33*4882a593Smuzhiyunelse
34*4882a593SmuzhiyunXAPP_XDPYINFO_CONF_OPTS += --without-xinerama
35*4882a593Smuzhiyunendif
36*4882a593Smuzhiyun
37*4882a593Smuzhiyun$(eval $(autotools-package))
38