|
@@ -24,7 +24,9 @@ SRC_URI = "ftp://ftp.freedesktop.org/pub/mesa/demos/${PV}/${BPN}-${PV}.tar.bz2 \
|
|
|
SRC_URI[md5sum] = "72613a2c8c013716db02e3ff59d29061"
|
|
|
SRC_URI[sha256sum] = "e4bfecb5816ddd4b7b37c1bc876b63f1f7f06fda5879221a9774d0952f90ba92"
|
|
|
|
|
|
-inherit autotools pkgconfig
|
|
|
+inherit autotools pkgconfig distro_features_check
|
|
|
+# depends on virtual/egl, virtual/libgl ...
|
|
|
+REQUIRED_DISTRO_FEATURES = "opengl"
|
|
|
|
|
|
PACKAGECONFIG ?= "drm osmesa freetype2 gbm egl gles1 gles2 \
|
|
|
${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11 glew glu', '', d)}"
|