summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoshua Lock <josh@linux.intel.com>2009-12-11 14:18:40 +0000
committerJoshua Lock <josh@linux.intel.com>2009-12-11 15:03:36 +0000
commit0b02870404c5e9b6ca8c3992f97f0995fb63d0f5 (patch)
tree27139b987713af0b1b155a1f21540731ce5a35fc
parent7ed5c2cebcdd52e71096bcfe7896fe8a805c7b4b (diff)
downloadpoky-0b02870404c5e9b6ca8c3992f97f0995fb63d0f5.tar.gz
qemugl-nativesdk: Add a nativesdk package
-rw-r--r--meta/packages/mesa/qemugl-nativesdk_git.bb35
1 files changed, 35 insertions, 0 deletions
diff --git a/meta/packages/mesa/qemugl-nativesdk_git.bb b/meta/packages/mesa/qemugl-nativesdk_git.bb
new file mode 100644
index 0000000000..a0396ee3e2
--- /dev/null
+++ b/meta/packages/mesa/qemugl-nativesdk_git.bb
@@ -0,0 +1,35 @@
1DESCRIPTION = "QEMU i386 OpenGL passtrough"
2HOMEPAGE = "http://savannah.nongnu.org/projects/qemugl"
3SECTION = "x11/drivers"
4LICENSE = "GPL"
5
6DEPENDS = "virtual/libx11 xproto glproto libxfixes"
7
8SRC_URI = "git://git.o-hand.com/qemugl.git;protocol=git \
9 file://versionfix.patch;patch=1"
10S = "${WORKDIR}/git"
11
12PV = "0.0+git${SRCREV}"
13PR = "r0"
14
15inherit nativesdk
16
17DEFAULT_PREFERENCE = "-1"
18
19do_install () {
20 install -d ${D}${libdir}/
21 install -m 0755 ${S}/libGL.so.1.2 ${D}${libdir}/libGL-qemu.so.1.2
22}
23
24do_stage () {
25 install -d ${STAGING_LIBDIR}
26 install -m 0755 ${S}/libGL.so.1.2 ${STAGING_LIBDIR}/libGL.so.1.2
27 ln -s libGL.so.1.2 ${STAGING_LIBDIR}/libGL.so.1
28 ln -s libGL.so.1 ${STAGING_LIBDIR}/libGL.so
29}
30
31pkg_postinst_${PN} () {
32 rm -f $D${libdir}/libGL.so.1.2
33 ln -s libGL-qemu.so.1.2 $D${libdir}/libGL.so.1.2
34}
35