summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/drm
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2012-07-27 12:53:35 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-07-28 11:16:21 +0100
commita5f227d1325572d31f55bb8e8f0e8226687253bb (patch)
tree15c5d6f120087dfecb5abc384f7eab2bab9f195f /meta/recipes-graphics/drm
parent62ca78c78504bf0c7441da7777d5a7834bfded37 (diff)
downloadopenembedded-core-contrib-a5f227d1325572d31f55bb8e8f0e8226687253bb.tar.gz
openembedded-core-contrib-a5f227d1325572d31f55bb8e8f0e8226687253bb.tar.bz2
openembedded-core-contrib-a5f227d1325572d31f55bb8e8f0e8226687253bb.zip
drm: move to PR/INC_PR, starting at r1 as libdrm_git was at r1
Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/drm')
-rw-r--r--meta/recipes-graphics/drm/libdrm.inc2
-rw-r--r--meta/recipes-graphics/drm/libdrm_2.4.35.bb2
-rw-r--r--meta/recipes-graphics/drm/libdrm_git.bb2
3 files changed, 4 insertions, 2 deletions
diff --git a/meta/recipes-graphics/drm/libdrm.inc b/meta/recipes-graphics/drm/libdrm.inc
index 20d7f1fc90..8a2c760297 100644
--- a/meta/recipes-graphics/drm/libdrm.inc
+++ b/meta/recipes-graphics/drm/libdrm.inc
@@ -10,6 +10,8 @@ SRC_URI = "http://dri.freedesktop.org/libdrm/libdrm-${PV}.tar.bz2"
PROVIDES = "drm"
DEPENDS = "libpthread-stubs udev cairo virtual/libx11"
+INC_PR = "r1"
+
#libpciaccess is required starting from libdrm 2.4.26
DEPENDS += " libpciaccess"
diff --git a/meta/recipes-graphics/drm/libdrm_2.4.35.bb b/meta/recipes-graphics/drm/libdrm_2.4.35.bb
index 3677b8d648..9d9ada143f 100644
--- a/meta/recipes-graphics/drm/libdrm_2.4.35.bb
+++ b/meta/recipes-graphics/drm/libdrm_2.4.35.bb
@@ -2,7 +2,7 @@ require libdrm.inc
LIC_FILES_CHKSUM = "file://xf86drm.c;beginline=9;endline=32;md5=c8a3b961af7667c530816761e949dc71"
-PR = "r0"
+PR = "${INC_PR}.0"
SRC_URI += "file://installtests.patch \
file://GNU_SOURCE_definition.patch \
diff --git a/meta/recipes-graphics/drm/libdrm_git.bb b/meta/recipes-graphics/drm/libdrm_git.bb
index c2f9855d3f..d71b7f7470 100644
--- a/meta/recipes-graphics/drm/libdrm_git.bb
+++ b/meta/recipes-graphics/drm/libdrm_git.bb
@@ -6,4 +6,4 @@ S = "${WORKDIR}/git"
SRCREV = "3f3c5be6f908272199ccf53f108b1124bfe0a00e"
PV = "2.4.15+git${SRCPV}"
-PR = "r1"
+PR = "${INC_PR}.0"