[oe] [meta-oe][PATCH 19/25] libvdpau: only include when x11 in DISTRO_FEATURES

Armin Kuster akuster808 at gmail.com
Wed Mar 7 04:03:22 UTC 2018


Signed-off-by: Armin Kuster <akuster808 at gmail.com>
---
 meta-oe/recipes-graphics/vdpau/libvdpau_git.bb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/meta-oe/recipes-graphics/vdpau/libvdpau_git.bb b/meta-oe/recipes-graphics/vdpau/libvdpau_git.bb
index 31f4df4..31bcce0 100644
--- a/meta-oe/recipes-graphics/vdpau/libvdpau_git.bb
+++ b/meta-oe/recipes-graphics/vdpau/libvdpau_git.bb
@@ -12,7 +12,9 @@ SRC_URI = "git://anongit.freedesktop.org/vdpau/libvdpau"
 
 S = "${WORKDIR}/git"
 
-inherit autotools pkgconfig
+inherit distro_features_check autotools pkgconfig
+
+REQUIRED_DISTRO_FEATURES = "x11"
 
 do_install_append() {
     rm -f ${D}${libdir}/*/*.la
-- 
2.7.4




More information about the Openembedded-devel mailing list