summaryrefslogtreecommitdiffstats
path: root/meta/packages/mesa
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2009-05-31 22:20:17 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2009-05-31 22:20:17 +0100
commitb22b97076a915a7005f970dcbed7514282859d08 (patch)
tree2c69664815505e30a3eeadc8cb7f755d7bfd19c2 /meta/packages/mesa
parent87b512fb1e841f530dea20f0bb64e95b5fbc000e (diff)
downloadpoky-b22b97076a915a7005f970dcbed7514282859d08.tar.gz
qemugl: Include headers and a pkgconfig file (from mesa) and add libxfixes to DEPENDS
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/packages/mesa')
-rw-r--r--meta/packages/mesa/qemugl/gl.pc12
-rw-r--r--meta/packages/mesa/qemugl/headers.tgzbin0 -> 134048 bytes
-rw-r--r--meta/packages/mesa/qemugl_git.bb20
3 files changed, 30 insertions, 2 deletions
diff --git a/meta/packages/mesa/qemugl/gl.pc b/meta/packages/mesa/qemugl/gl.pc
new file mode 100644
index 0000000000..18cdb4e665
--- /dev/null
+++ b/meta/packages/mesa/qemugl/gl.pc
@@ -0,0 +1,12 @@
1prefix=/usr
2exec_prefix=${prefix}
3libdir=/usr/lib
4includedir=/usr/include
5
6Name: gl
7Description: QEMU OpenGL library
8Requires.private: x11 xext xfixes
9Version: 7.3.0
10Libs: -L${libdir} -lGL
11Libs.private: -lm -lpthread -ldl
12Cflags: -I${includedir}
diff --git a/meta/packages/mesa/qemugl/headers.tgz b/meta/packages/mesa/qemugl/headers.tgz
new file mode 100644
index 0000000000..79e4968288
--- /dev/null
+++ b/meta/packages/mesa/qemugl/headers.tgz
Binary files differ
diff --git a/meta/packages/mesa/qemugl_git.bb b/meta/packages/mesa/qemugl_git.bb
index 1a6f71060e..272f47b898 100644
--- a/meta/packages/mesa/qemugl_git.bb
+++ b/meta/packages/mesa/qemugl_git.bb
@@ -3,11 +3,13 @@ HOMEPAGE = "http://savannah.nongnu.org/projects/qemugl"
3SECTION = "x11/drivers" 3SECTION = "x11/drivers"
4LICENSE = "GPL" 4LICENSE = "GPL"
5 5
6DEPENDS = "virtual/libx11 xproto glproto" 6DEPENDS = "virtual/libx11 xproto glproto libxfixes"
7 7
8COMPATIBLE_HOST = '(x86_64|i.86.*)-(linux|freebsd.*)' 8COMPATIBLE_HOST = '(x86_64|i.86.*)-(linux|freebsd.*)'
9 9
10SRC_URI = "git://git.o-hand.com/qemugl.git;protocol=git" 10SRC_URI = "git://git.o-hand.com/qemugl.git;protocol=git \
11 file://headers.tgz \
12 file://gl.pc"
11S = "${WORKDIR}/git" 13S = "${WORKDIR}/git"
12 14
13PV = "0.0+git${SRCREV}" 15PV = "0.0+git${SRCREV}"
@@ -24,4 +26,18 @@ do_install () {
24 install -d ${D}${libdir} 26 install -d ${D}${libdir}
25 install -m 0755 ${S}/libGL.so ${D}${libdir}/ 27 install -m 0755 ${S}/libGL.so ${D}${libdir}/
26 ln -s libGL.so ${D}${libdir}/libGL.so.1 28 ln -s libGL.so ${D}${libdir}/libGL.so.1
29 install -d ${D}{includedir}/GL/
30 cp -pPR ${WORKDIR}/headers/* ${D}{includedir}/GL/
31 install -d ${D}${libdir}/pkgconfig/
32 cp ${WORKDIR}/gl.pc ${D}${libdir}/pkgconfig/
33}
34
35do_stage () {
36 install -d ${STAGING_LIBDIR}/
37 install -m 0755 ${S}/libGL.so ${STAGING_LIBDIR}/
38 ln -s libGL.so ${STAGING_LIBDIR}/libGL.so.1
39 install -d ${STAGING_INCDIR}/GL/
40 cp -pPR ${WORKDIR}/headers/* ${STAGING_INCDIR}/GL/
41 install -d ${STAGING_LIBDIR}/pkgconfig/
42 cp ${WORKDIR}/gl.pc ${STAGING_LIBDIR}/pkgconfig/
27} 43}