[oe-commits] Robert Yang : libglu: add x11 to REQUIRED_DISTRO_FEATURES
git at git.openembedded.org
git at git.openembedded.org
Thu May 14 10:44:21 UTC 2015
Module: openembedded-core.git
Branch: master
Commit: 89ad0fb281d71404b311e2fefb3cfc6c6cad0ac0
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=89ad0fb281d71404b311e2fefb3cfc6c6cad0ac0
Author: Robert Yang <liezhi.yang at windriver.com>
Date: Thu May 7 19:44:40 2015 -0700
libglu: add x11 to REQUIRED_DISTRO_FEATURES
It requires libGL.so which is provided by mesa when x11 in
DISTRO_FEATURES.
Signed-off-by: Robert Yang <liezhi.yang at windriver.com>
---
meta/recipes-graphics/mesa/libglu_9.0.0.bb | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/meta/recipes-graphics/mesa/libglu_9.0.0.bb b/meta/recipes-graphics/mesa/libglu_9.0.0.bb
index 06d30f9..010998d 100644
--- a/meta/recipes-graphics/mesa/libglu_9.0.0.bb
+++ b/meta/recipes-graphics/mesa/libglu_9.0.0.bb
@@ -21,7 +21,10 @@ S = "${WORKDIR}/glu-${PV}"
DEPENDS = "virtual/libgl"
-inherit autotools pkgconfig
+inherit autotools pkgconfig distro_features_check
+
+# Requires libGL.so which is provided by mesa when x11 in DISTRO_FEATURES
+REQUIRED_DISTRO_FEATURES = "x11"
# Remove the mesa-glu dependency in mesa-glu-dev, as mesa-glu is empty
RDEPENDS_${PN}-dev = ""
More information about the Openembedded-commits
mailing list