diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2009-05-31 22:20:17 +0100 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2009-05-31 22:20:17 +0100 |
commit | b22b97076a915a7005f970dcbed7514282859d08 (patch) | |
tree | 2c69664815505e30a3eeadc8cb7f755d7bfd19c2 /meta/packages/mesa | |
parent | 87b512fb1e841f530dea20f0bb64e95b5fbc000e (diff) | |
download | poky-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.pc | 12 | ||||
-rw-r--r-- | meta/packages/mesa/qemugl/headers.tgz | bin | 0 -> 134048 bytes | |||
-rw-r--r-- | meta/packages/mesa/qemugl_git.bb | 20 |
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 @@ | |||
1 | prefix=/usr | ||
2 | exec_prefix=${prefix} | ||
3 | libdir=/usr/lib | ||
4 | includedir=/usr/include | ||
5 | |||
6 | Name: gl | ||
7 | Description: QEMU OpenGL library | ||
8 | Requires.private: x11 xext xfixes | ||
9 | Version: 7.3.0 | ||
10 | Libs: -L${libdir} -lGL | ||
11 | Libs.private: -lm -lpthread -ldl | ||
12 | Cflags: -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" | |||
3 | SECTION = "x11/drivers" | 3 | SECTION = "x11/drivers" |
4 | LICENSE = "GPL" | 4 | LICENSE = "GPL" |
5 | 5 | ||
6 | DEPENDS = "virtual/libx11 xproto glproto" | 6 | DEPENDS = "virtual/libx11 xproto glproto libxfixes" |
7 | 7 | ||
8 | COMPATIBLE_HOST = '(x86_64|i.86.*)-(linux|freebsd.*)' | 8 | COMPATIBLE_HOST = '(x86_64|i.86.*)-(linux|freebsd.*)' |
9 | 9 | ||
10 | SRC_URI = "git://git.o-hand.com/qemugl.git;protocol=git" | 10 | SRC_URI = "git://git.o-hand.com/qemugl.git;protocol=git \ |
11 | file://headers.tgz \ | ||
12 | file://gl.pc" | ||
11 | S = "${WORKDIR}/git" | 13 | S = "${WORKDIR}/git" |
12 | 14 | ||
13 | PV = "0.0+git${SRCREV}" | 15 | PV = "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 | |||
35 | do_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 | } |