summaryrefslogtreecommitdiff
path: root/meta
diff options
context:
space:
mode:
Diffstat (limited to 'meta')
-rw-r--r--meta/packages/mesa/qemugl_git.bb22
1 files changed, 22 insertions, 0 deletions
diff --git a/meta/packages/mesa/qemugl_git.bb b/meta/packages/mesa/qemugl_git.bb
new file mode 100644
index 0000000000..f3ab51fb57
--- /dev/null
+++ b/meta/packages/mesa/qemugl_git.bb
@@ -0,0 +1,22 @@
+DESCRIPTION = "QEMU i386 OpenGL passtrough"
+HOMEPAGE = "http://savannah.nongnu.org/projects/qemugl"
+SECTION = "x11/drivers"
+LICENSE = "GPL"
+
+DEPENDS = "virtual/xserver-xf86 xproto glproto"
+
+COMPATIBLE_HOST = '(x86_64|i.86.*)-(linux|freebsd.*)'
+
+SRC_URI = "git://git.o-hand.com/qemugl.git;protocol=git"
+S = "${WORKDIR}/git"
+
+PV = "0.0+git${SRCREV}"
+
+FILES_${PN} += " ${libdir}/qemu/*"
+FILES_${PN}-dbg += " ${libdir}/qemu/.debug/*"
+
+do_install () {
+ install -d ${D}${libdir}/qemu
+ install -m 0755 ${S}/libGL.so ${D}${libdir}/qemu
+ ln -s libGL.so ${D}${libdir}/qemu/libGL.so.1
+}