summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2009-02-05 14:08:54 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2009-02-05 14:08:54 +0000
commit942c23289fdb7046ccc9e0c326e6567c04d0731e (patch)
treea30a88be206b1c7259d0d152354e06ce8fb4049c
parentf06b34bf89387ed297932e41ac4c0df09531fcd6 (diff)
downloadpoky-942c23289fdb7046ccc9e0c326e6567c04d0731e.tar.gz
mesa: Drop 7.0.2
-rw-r--r--meta/packages/mesa/mesa_7.0.2.bb57
1 files changed, 0 insertions, 57 deletions
diff --git a/meta/packages/mesa/mesa_7.0.2.bb b/meta/packages/mesa/mesa_7.0.2.bb
deleted file mode 100644
index b64fbaf8b3..0000000000
--- a/meta/packages/mesa/mesa_7.0.2.bb
+++ /dev/null
@@ -1,57 +0,0 @@
1# Note: we don't require mesa-common.inc since going forward mesa will
2# be autotool based.
3
4SRC_URI = "${SOURCEFORGE_MIRROR}/mesa3d/MesaLib-${PV}.tar.bz2 \
5 file://mklib-rpath-link.patch;patch=1 \
6 file://fix-host-compile.patch;patch=1 "
7S = "${WORKDIR}/Mesa-${PV}"
8
9DEPENDS = "makedepend-native xf86vidmodeproto glproto virtual/libx11 libxext libxxf86vm libxi libxmu libice"
10
11PACKAGES =+ "libglu libglu-dev libosmesa libosmesa-dev libgl libgl-dev"
12
13PROVIDES = "virtual/libgl"
14
15FILES_libgl = "${libdir}/libGL.so.*"
16FILES_libglu = "${libdir}/libGLU.so.*"
17FILES_libosmesa = "${libdir}/libOSMesa.so.*"
18
19FILES_libgl-dev = "${libdir}/libGL.* ${includedir}/GL"
20FILES_libglu-dev = "${libdir}/libGLU.* ${includedir}/GL/glu*.h"
21FILES_libosmesa-dev = "${libdir}/libOSMesa.* ${includedir}/osmesa.h"
22
23ALLOW_EMPTY_${PN} = "1"
24
25# Multiple virtual/gl providers being built breaks staging
26EXCLUDE_FROM_WORLD = "1"
27
28do_configure() {
29 cd configs
30
31 cp linux current
32 sed -e "s%CC *= *.*%CC = ${CC}%" -i current
33 sed -e "s%CXX *= *.*%CXX = ${CXX}%" -i current
34 sed -e "s%LD *= *.*%LD = ${LD}%" -i current
35 sed -e "s%OPT_FLAGS *= *.*%OPT_FLAGS = ${TARGET_CFLAGS}%" -i current
36 sed -e "s%X11_INCLUDES *= *.*%X11_INCLUDES = -I${STAGING_INCDIR}/X11%" -i current
37 sed -e "s%EXTRA_LIB_PATH *= *.*%EXTRA_LIB_PATH = ${LDFLAGS}%" -i current
38 sed -i s:\$\(CC\):gcc:g ../src/mesa/x86/Makefile
39 echo "SRC_DIRS = mesa glu glut/glx" >> current
40}
41
42do_compile() {
43 oe_runmake default
44}
45
46do_install() {
47 install -d ${D}${libdir}
48 cp -pP lib/* ${D}${libdir}/
49 install -d ${D}${includedir}
50 cp -R include/GL ${D}${includedir}/
51}
52
53do_stage() {
54 cp -pP lib/* ${STAGING_LIBDIR}/
55 cp -R include/GL ${STAGING_INCDIR}/
56}
57