mesa: Add INC_PR for old mesa recipes as these still seem to be in use.
authorDavid-John Willis <John.Willis@Distant-earth.com>
Fri, 11 Dec 2009 11:40:29 +0000 (11:40 +0000)
committerPhilip Balister <philip@balister.org>
Mon, 14 Dec 2009 23:28:07 +0000 (18:28 -0500)
recipes/mesa/mesa-common-old.inc
recipes/mesa/mesa-dri_6.5.2.bb
recipes/mesa/mesa-dri_7.0.3.bb

index 18e9b4e..8fc2044 100644 (file)
@@ -2,8 +2,13 @@ SECTION = "x11"
 
 SRC_URI = "${SOURCEFORGE_MIRROR}/mesa3d/MesaLib-${PV}.tar.bz2 \
        file://mklib-rpath-link.patch;patch=1"
+
 S = "${WORKDIR}/Mesa-${PV}"
 
+PROVIDES = "virtual/libgl"
+
 LICENSE = "LGPL"
 
+INC_PR = "r3"
+
 DEPENDS = "makedepend-native xf86vidmodeproto glproto virtual/libx11 libxext libxxf86vm libxi libxmu libice"
index f94ea8b..594848f 100644 (file)
@@ -6,7 +6,7 @@ FILESPATH = "${FILE_DIRNAME}/mesa-${PV}:${FILE_DIRNAME}/files:${FILE_DIRNAME}"
 
 PACKAGES_DYNAMIC = "mesa-dri-driver-*"
 
-PR = "r2"
+PR = "${INC_PR}.0"
 
 DEPENDS += "libdrm"
 # DRI is useless without the kernel drivers
index 330efb2..0cb2fe2 100644 (file)
@@ -7,7 +7,7 @@ FILESPATH = "${FILE_DIRNAME}/mesa-${PV}:${FILE_DIRNAME}/files:${FILE_DIRNAME}"
 
 PACKAGES_DYNAMIC = "mesa-dri-driver-*"
 
-PR = "r1"
+PR = "${INC_PR}.0"
 
 DEPENDS += "libdrm"
 # DRI is useless without the kernel drivers