diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2009-02-05 14:08:54 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2009-02-05 14:08:54 +0000 |
commit | 942c23289fdb7046ccc9e0c326e6567c04d0731e (patch) | |
tree | a30a88be206b1c7259d0d152354e06ce8fb4049c | |
parent | f06b34bf89387ed297932e41ac4c0df09531fcd6 (diff) | |
download | poky-942c23289fdb7046ccc9e0c326e6567c04d0731e.tar.gz |
mesa: Drop 7.0.2
-rw-r--r-- | meta/packages/mesa/mesa_7.0.2.bb | 57 |
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 | |||
4 | SRC_URI = "${SOURCEFORGE_MIRROR}/mesa3d/MesaLib-${PV}.tar.bz2 \ | ||
5 | file://mklib-rpath-link.patch;patch=1 \ | ||
6 | file://fix-host-compile.patch;patch=1 " | ||
7 | S = "${WORKDIR}/Mesa-${PV}" | ||
8 | |||
9 | DEPENDS = "makedepend-native xf86vidmodeproto glproto virtual/libx11 libxext libxxf86vm libxi libxmu libice" | ||
10 | |||
11 | PACKAGES =+ "libglu libglu-dev libosmesa libosmesa-dev libgl libgl-dev" | ||
12 | |||
13 | PROVIDES = "virtual/libgl" | ||
14 | |||
15 | FILES_libgl = "${libdir}/libGL.so.*" | ||
16 | FILES_libglu = "${libdir}/libGLU.so.*" | ||
17 | FILES_libosmesa = "${libdir}/libOSMesa.so.*" | ||
18 | |||
19 | FILES_libgl-dev = "${libdir}/libGL.* ${includedir}/GL" | ||
20 | FILES_libglu-dev = "${libdir}/libGLU.* ${includedir}/GL/glu*.h" | ||
21 | FILES_libosmesa-dev = "${libdir}/libOSMesa.* ${includedir}/osmesa.h" | ||
22 | |||
23 | ALLOW_EMPTY_${PN} = "1" | ||
24 | |||
25 | # Multiple virtual/gl providers being built breaks staging | ||
26 | EXCLUDE_FROM_WORLD = "1" | ||
27 | |||
28 | do_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 | |||
42 | do_compile() { | ||
43 | oe_runmake default | ||
44 | } | ||
45 | |||
46 | do_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 | |||
53 | do_stage() { | ||
54 | cp -pP lib/* ${STAGING_LIBDIR}/ | ||
55 | cp -R include/GL ${STAGING_INCDIR}/ | ||
56 | } | ||
57 | |||