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 | openembedded-core-b22b97076a915a7005f970dcbed7514282859d08.tar.gz openembedded-core-b22b97076a915a7005f970dcbed7514282859d08.tar.bz2 openembedded-core-b22b97076a915a7005f970dcbed7514282859d08.zip |
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 @@ +prefix=/usr +exec_prefix=${prefix} +libdir=/usr/lib +includedir=/usr/include + +Name: gl +Description: QEMU OpenGL library +Requires.private: x11 xext xfixes +Version: 7.3.0 +Libs: -L${libdir} -lGL +Libs.private: -lm -lpthread -ldl +Cflags: -I${includedir} diff --git a/meta/packages/mesa/qemugl/headers.tgz b/meta/packages/mesa/qemugl/headers.tgz Binary files differnew file mode 100644 index 0000000000..79e4968288 --- /dev/null +++ b/meta/packages/mesa/qemugl/headers.tgz 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" SECTION = "x11/drivers" LICENSE = "GPL" -DEPENDS = "virtual/libx11 xproto glproto" +DEPENDS = "virtual/libx11 xproto glproto libxfixes" COMPATIBLE_HOST = '(x86_64|i.86.*)-(linux|freebsd.*)' -SRC_URI = "git://git.o-hand.com/qemugl.git;protocol=git" +SRC_URI = "git://git.o-hand.com/qemugl.git;protocol=git \ + file://headers.tgz \ + file://gl.pc" S = "${WORKDIR}/git" PV = "0.0+git${SRCREV}" @@ -24,4 +26,18 @@ do_install () { install -d ${D}${libdir} install -m 0755 ${S}/libGL.so ${D}${libdir}/ ln -s libGL.so ${D}${libdir}/libGL.so.1 + install -d ${D}{includedir}/GL/ + cp -pPR ${WORKDIR}/headers/* ${D}{includedir}/GL/ + install -d ${D}${libdir}/pkgconfig/ + cp ${WORKDIR}/gl.pc ${D}${libdir}/pkgconfig/ +} + +do_stage () { + install -d ${STAGING_LIBDIR}/ + install -m 0755 ${S}/libGL.so ${STAGING_LIBDIR}/ + ln -s libGL.so ${STAGING_LIBDIR}/libGL.so.1 + install -d ${STAGING_INCDIR}/GL/ + cp -pPR ${WORKDIR}/headers/* ${STAGING_INCDIR}/GL/ + install -d ${STAGING_LIBDIR}/pkgconfig/ + cp ${WORKDIR}/gl.pc ${STAGING_LIBDIR}/pkgconfig/ } |