diff options
Diffstat (limited to 'recipes/mesa/mesa-common.inc')
-rw-r--r-- | recipes/mesa/mesa-common.inc | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/recipes/mesa/mesa-common.inc b/recipes/mesa/mesa-common.inc index 9cd10eb3e3..4f18c2f710 100644 --- a/recipes/mesa/mesa-common.inc +++ b/recipes/mesa/mesa-common.inc @@ -4,6 +4,8 @@ DESCRIPTION = "An open source implementation of the OpenGL spec" HOMEPAGE = "http://mesa3d.org" LICENSE = "MIT" +INC_PR = "r7" + SRC_URI = "${SOURCEFORGE_MIRROR}/mesa3d/MesaLib-${PV}.tar.bz2 \ ${SOURCEFORGE_MIRROR}/mesa3d/MesaDemos-${PV}.tar.bz2 " S = "${WORKDIR}/Mesa-${PV}" @@ -20,6 +22,9 @@ EXTRA_OECONF = "--enable-glu \ require mesa-tls.inc EXTRA_OECONF += "${@get_tls_setting(bb, d)} " +# Package contents vary according to ${MACHINE_DRI_MODULES}. +PACKAGE_ARCH = "${MACHINE}" + PACKAGES =+ "libglu libglu-dev libosmesa libosmesa-dev libgl libgl-dev" FILES_libgl = "${libdir}/libGL.so.*" FILES_libglu = "${libdir}/libGLU.so.*" @@ -36,4 +41,7 @@ do_stage() { cp -pPr ${S}/include/GL/internal* ${STAGING_INCDIR}/GL/ } - +do_install_append () { + install -d ${D}/${bindir} + install -m 0755 ${S}/progs/xdemos/{glxdemo,glxgears,glxheads,glxinfo} ${D}/${bindir} +} |