source package/x11r7/xdriver_xf86-video-cirrus/Config.in
source package/x11r7/xdriver_xf86-video-dummy/Config.in
source package/x11r7/xdriver_xf86-video-fbdev/Config.in
+ source package/x11r7/xdriver_xf86-video-fbturbo/Config.in
source package/x11r7/xdriver_xf86-video-geode/Config.in
source package/x11r7/xdriver_xf86-video-glide/Config.in
source package/x11r7/xdriver_xf86-video-glint/Config.in
--- /dev/null
+From 232c5b6924652f65ef5c047754e84b87b5fc6ac8 Mon Sep 17 00:00:00 2001
+From: Peter Korsgaard <peter@korsgaard.com>
+Date: Sat, 3 Oct 2015 19:01:38 +0200
+Subject: [PATCH] sunxi_x_g2d: drop unused dri2 include
+
+The driver doesn't use DRI for anything.
+
+[Upstream-status: submitted (https://github.com/ssvb/xf86-video-fbturbo/pull/45)]
+Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
+---
+ src/sunxi_x_g2d.c | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/src/sunxi_x_g2d.c b/src/sunxi_x_g2d.c
+index d826027..8888abe 100644
+--- a/src/sunxi_x_g2d.c
++++ b/src/sunxi_x_g2d.c
+@@ -31,7 +31,6 @@
+ #include "xf86_OSproc.h"
+ #include "xf86.h"
+ #include "xf86drm.h"
+-#include "dri2.h"
+ #include "damage.h"
+ #include "fb.h"
+ #include "gcstruct.h"
+--
+2.1.4
+
--- /dev/null
+config BR2_PACKAGE_XDRIVER_XF86_VIDEO_FBTURBO
+ bool "xf86-video-fbturbo"
+ select BR2_PACKAGE_LIBDRM
+ select BR2_PACKAGE_PIXMAN
+ select BR2_PACKAGE_XPROTO_FONTSPROTO
+ select BR2_PACKAGE_XPROTO_RANDRPROTO
+ select BR2_PACKAGE_XPROTO_RENDERPROTO
+ select BR2_PACKAGE_XPROTO_VIDEOPROTO
+ select BR2_PACKAGE_XPROTO_XPROTO
+ select BR2_PACKAGE_XPROTO_XF86DRIPROTO
+ help
+ video driver, primarily optimized for the devices powered
+ by the Allwinner SoC (A10, A13, A20). It can use some of
+ the 2D/3D hardware acceleration features.
+
+ https://github.com/ssvb/xf86-video-fbturbo
--- /dev/null
+################################################################################
+#
+# xdriver_xf86-video-fbturbo
+#
+################################################################################
+
+XDRIVER_XF86_VIDEO_FBTURBO_VERSION = 0.4.0
+XDRIVER_XF86_VIDEO_FBTURBO_SITE = $(call github,ssvb,xf86-video-fbturbo,$(XDRIVER_XF86_VIDEO_FBTURBO_VERSION))
+XDRIVER_XF86_VIDEO_FBTURBO_LICENSE = MIT
+XDRIVER_XF86_VIDEO_FBTURBO_LICENSE_FILES = COPYING
+XDRIVER_XF86_VIDEO_FBTURBO_DEPENDENCIES = \
+ xserver_xorg-server \
+ libdrm \
+ pixman \
+ xproto_fontsproto \
+ xproto_randrproto \
+ xproto_renderproto \
+ xproto_videoproto \
+ xproto_xproto \
+ xproto_xf86driproto
+
+ifeq ($(BR2_PACKAGE_LIBPCIACCESS),y)
+XDRIVER_XF86_VIDEO_FBTURBO_DEPENDENCIES += libpciaccess
+XDRIVER_XF86_VIDEO_FBTURBO_CONF_OPTS += --enable-pciaccess
+else
+XDRIVER_XF86_VIDEO_FBTURBO_CONF_OPTS += --disable-pciaccess
+endif
+
+define XDRIVER_XF86_VIDEO_FBTURBO_INSTALL_CONF_FILE
+ $(INSTALL) -m 0644 -D $(@D)/xorg.conf $(TARGET_DIR)/etc/X11/xorg.conf
+endef
+
+XDRIVER_XF86_VIDEO_FBTURBO_POST_INSTALL_TARGET_HOOKS += XDRIVER_XF86_VIDEO_FBTURBO_INSTALL_CONF_FILE
+
+$(eval $(autotools-package))