summaryrefslogtreecommitdiff
path: root/recipes/mesa/mesa-full_7.0.2.bb
blob: bac217b71d25afb2a1878305b3cc4d1117a41ef0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
include mesa-mesa.inc

SRC_URI = "${SOURCEFORGE_MIRROR}/mesa3d/MesaLib-${PV}.tar.bz2 \
        ${SOURCEFORGE_MIRROR}/mesa3d/MesaGLUT-${PV}.tar.bz2 \
        ${SOURCEFORGE_MIRROR}/mesa3d/MesaDemos-${PV}.tar.bz2 \
        file://mklib-rpath-link.patch;patch=1 \
        file://fix-host-compile.patch;patch=1 \
        file://fix-progs-makefile.patch;patch=1 \
        "

do_install_append = "install -d ${D}${bindir}; \
                     for f in glxgears glxheads glxdemo glxinfo; do \
                     cp progs/xdemos/${f} ${D}${bindir}; \
                     done"

PACKAGES =+ "libglut libglut-dev mesa-utils"

FILES_libglut = "${libdir}/libglut.so.*"
FILES_libglut-dev = "${libdir}/libglut.* ${includedir}/GL/glut*"
FILES_mesa-utils = "${bindir}/*"