aboutsummaryrefslogtreecommitdiff
path: root/package/x11r7
diff options
context:
space:
mode:
authorGravatar Gustavo Zacarias <gustavo@zacarias.com.ar>2015-07-08 21:54:03 -0300
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-07-09 22:20:49 +0200
commit3d1316d87d847526d3a252490aab86a49cc95467 (patch)
tree0b60350fadbdf1e3a10c917d36649cb5ced22fd6 /package/x11r7
parenta3b44fa70cb336604f47ad6c6e1b720b4ac4dd12 (diff)
downloadbuildroot-3d1316d87d847526d3a252490aab86a49cc95467.tar.gz
buildroot-3d1316d87d847526d3a252490aab86a49cc95467.tar.bz2
xdriver_xf86-video-qxl: new package
Add the QEMU paravirt QXL video driver. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/x11r7')
-rw-r--r--package/x11r7/Config.in1
-rw-r--r--package/x11r7/xdriver_xf86-video-qxl/Config.in12
-rw-r--r--package/x11r7/xdriver_xf86-video-qxl/xdriver_xf86-video-qxl.hash2
-rw-r--r--package/x11r7/xdriver_xf86-video-qxl/xdriver_xf86-video-qxl.mk32
4 files changed, 47 insertions, 0 deletions
diff --git a/package/x11r7/Config.in b/package/x11r7/Config.in
index 24316a4997..859e8956c8 100644
--- a/package/x11r7/Config.in
+++ b/package/x11r7/Config.in
@@ -174,6 +174,7 @@ if BR2_PACKAGE_XORG7
source package/x11r7/xdriver_xf86-video-neomagic/Config.in
source package/x11r7/xdriver_xf86-video-nv/Config.in
source package/x11r7/xdriver_xf86-video-openchrome/Config.in
+ source package/x11r7/xdriver_xf86-video-qxl/Config.in
source package/x11r7/xdriver_xf86-video-r128/Config.in
source package/x11r7/xdriver_xf86-video-savage/Config.in
source package/x11r7/xdriver_xf86-video-siliconmotion/Config.in
diff --git a/package/x11r7/xdriver_xf86-video-qxl/Config.in b/package/x11r7/xdriver_xf86-video-qxl/Config.in
new file mode 100644
index 0000000000..5f05f6876b
--- /dev/null
+++ b/package/x11r7/xdriver_xf86-video-qxl/Config.in
@@ -0,0 +1,12 @@
+config BR2_PACKAGE_XDRIVER_XF86_VIDEO_QXL
+ bool "xf86-video-qxl"
+ depends on (BR2_i386 || BR2_x86_64)
+ select BR2_PACKAGE_LIBDRM if BR2_PACKAGE_HAS_UDEV # for KMS
+ select BR2_PACKAGE_LIBPCIACCESS
+ select BR2_PACKAGE_SPICE_PROTOCOL
+ select BR2_PACKAGE_XPROTO_FONTSPROTO
+ select BR2_PACKAGE_XPROTO_XPROTO
+ help
+ QEMU QXL paravirt video driver
+
+ http://www.spice-space.org/page/XorgQXL
diff --git a/package/x11r7/xdriver_xf86-video-qxl/xdriver_xf86-video-qxl.hash b/package/x11r7/xdriver_xf86-video-qxl/xdriver_xf86-video-qxl.hash
new file mode 100644
index 0000000000..1648c29c64
--- /dev/null
+++ b/package/x11r7/xdriver_xf86-video-qxl/xdriver_xf86-video-qxl.hash
@@ -0,0 +1,2 @@
+# From http://lists.freedesktop.org/archives/spice-devel/2015-April/019356.html
+sha256 e57ad22f0b1daf8979e722be0cc38d351bfcc2e41568edc566d2bade5a621105 xf86-video-qxl-0.1.4.tar.bz2
diff --git a/package/x11r7/xdriver_xf86-video-qxl/xdriver_xf86-video-qxl.mk b/package/x11r7/xdriver_xf86-video-qxl/xdriver_xf86-video-qxl.mk
new file mode 100644
index 0000000000..ddc4191a47
--- /dev/null
+++ b/package/x11r7/xdriver_xf86-video-qxl/xdriver_xf86-video-qxl.mk
@@ -0,0 +1,32 @@
+################################################################################
+#
+# 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
+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
+
+$(eval $(autotools-package))