diff options
Diffstat (limited to 'meta')
-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 000000000..18cdb4e66 --- /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 000000000..79e496828 --- /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 1a6f71060..272f47b89 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/ } |