kumquat-buildroot/package/x11r7/xdriver_xf86-video-qxl/xdriver_xf86-video-qxl.mk
Bernd Kuhls ea09ec41e1 package/x11r7/xdriver_xf86-video-qxl: add support for xlib_libXfont2
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-12-04 16:10:31 +01:00

41 lines
1.2 KiB
Makefile

################################################################################
#
# xdriver_xf86-video-qxl
#
################################################################################
XDRIVER_XF86_VIDEO_QXL_VERSION = 0.1.4
XDRIVER_XF86_VIDEO_QXL_SOURCE = xf86-video-qxl-$(XDRIVER_XF86_VIDEO_QXL_VERSION).tar.bz2
XDRIVER_XF86_VIDEO_QXL_SITE = http://xorg.freedesktop.org/releases/individual/driver
# 0002-xserverfix.patch
XDRIVER_XF86_VIDEO_QXL_AUTORECONF = YES
XDRIVER_XF86_VIDEO_QXL_LICENSE = MIT
XDRIVER_XF86_VIDEO_QXL_LICENSE_FILES = COPYING
XDRIVER_XF86_VIDEO_QXL_CONF_OPTS = \
--enable-xspice=no
XDRIVER_XF86_VIDEO_QXL_DEPENDENCIES = \
libpciaccess \
spice-protocol \
xproto_fontsproto \
xproto_xproto \
xserver_xorg-server
# configure doesn't look for drm headers in the appropiate place, so help it
# libdrm is only useful with udev for KMS
ifeq ($(BR2_PACKAGE_HAS_UDEV),y)
XDRIVER_XF86_VIDEO_QXL_CONF_ENV += REQUIRED_MODULES=libdrm
XDRIVER_XF86_VIDEO_QXL_DEPENDENCIES += libdrm
else
XDRIVER_XF86_VIDEO_QXL_CONF_OPTS += --disable-kms
endif
ifeq ($(BR2_PACKAGE_XLIB_LIBXFONT2),y)
XDRIVER_XF86_VIDEO_QXL_DEPENDENCIES += xlib_libXfont2
else
XDRIVER_XF86_VIDEO_QXL_DEPENDENCIES += xlib_libXfont
endif
$(eval $(autotools-package))