mesa: move shared PROTO_DEPS, LIB_DEPS and DEPENDS to common .inc

(From OE-Core rev: e7b825ab541e97c6c34ec829c26e9e706c7143ec)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Martin Jansa 2011-10-13 10:04:56 +02:00 committed by Richard Purdie
parent 33e00404c1
commit 73e6612573
4 changed files with 9 additions and 14 deletions

View File

@ -18,6 +18,11 @@ PE = "2"
SRC_URI = "ftp://ftp.freedesktop.org/pub/mesa/${PV}/MesaLib-${PV}.tar.bz2"
S = "${WORKDIR}/Mesa-${PV}"
PROTO_DEPS = "xf86driproto glproto"
LIB_DEPS = "virtual/libx11 libxext libxxf86vm libxdamage libxfixes libxml2-native"
DEPENDS = "makedepend-native python-native ${PROTO_DEPS} ${LIB_DEPS}"
PROVIDES = "virtual/libgl"
# for mesa-dri and mesa-xlib

View File

@ -1,11 +1,8 @@
include mesa-common.inc
include mesa-${PV}.inc
PROTO_DEPS = "xf86driproto glproto dri2proto"
LIB_DEPS = "libdrm virtual/libx11 libxext libxxf86vm libxdamage libxfixes expat \
libxml2-native"
DEPENDS = "${PROTO_DEPS} ${LIB_DEPS} makedepend-native python-native"
PROTO_DEPS += "dri2proto"
LIB_DEPS += "libdrm expat"
PR = "${INC_PR}.0"

View File

@ -6,10 +6,8 @@ SRC_URI = "git://anongit.freedesktop.org/git/mesa/mesa;protocol=git \
# file://mesa-DRI2Swapbuffer.patch "
S = "${WORKDIR}/git"
PROTO_DEPS = "xf86driproto glproto dri2proto"
LIB_DEPS = "libdrm virtual/libx11 libxext libxxf86vm libxdamage libxfixes expat"
DEPENDS = "${PROTO_DEPS} ${LIB_DEPS}"
PROTO_DEPS += "dri2proto"
LIB_DEPS += "libdrm expat"
SRCREV = "1bf94d419805538ac23a4d0b04d31ac5e4487aca"
PV = "7.7+git${SRCPV}"

View File

@ -1,11 +1,6 @@
include mesa-common.inc
include mesa-${PV}.inc
PROTO_DEPS = "xf86driproto glproto"
LIB_DEPS = "virtual/libx11 libxext libxxf86vm libxdamage libxfixes libxml2-native"
DEPENDS = "${PROTO_DEPS} ${LIB_DEPS} makedepend-native"
PR = "${INC_PR}.0"
EXTRA_OECONF += "--with-driver=xlib --without-gallium-drivers"