summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJussi Kukkonen <jussi.kukkonen@intel.com>2017-04-18 08:09:54 (GMT)
committerSaul Wold <sgw@linux.intel.com>2017-04-18 14:11:27 (GMT)
commite5f79bf5afd7c101f0ecd49073c4521fe396ec4b (patch)
tree9221a191f466992230254a5d14035e4a62b701c3
parentc7e6889290901f4878f4bfc2180743d0870e55ba (diff)
downloadmeta-intel-e5f79bf5afd7c101f0ecd49073c4521fe396ec4b.tar.gz
libyami: Add PACKAGECONFIG for x11
Without this the recipe fails to build without x11, breaking world build. Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
-rwxr-xr-xcommon/recipes-multimedia/libyami/libyami-utils_1.1.0.bb7
1 files changed, 7 insertions, 0 deletions
diff --git a/common/recipes-multimedia/libyami/libyami-utils_1.1.0.bb b/common/recipes-multimedia/libyami/libyami-utils_1.1.0.bb
index fcd28f8..b069628 100755
--- a/common/recipes-multimedia/libyami/libyami-utils_1.1.0.bb
+++ b/common/recipes-multimedia/libyami/libyami-utils_1.1.0.bb
@@ -21,3 +21,10 @@ EXTRA_OECONF = " --enable-tests-gles --disable-md5"
21inherit autotools pkgconfig distro_features_check 21inherit autotools pkgconfig distro_features_check
22 22
23REQUIRED_DISTRO_FEATURES = "opengl" 23REQUIRED_DISTRO_FEATURES = "opengl"
24
25PACKAGECONFIG = "${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)}"
26
27# --enable-x11 needs libva-x11
28# gles-tests fail to build without x11: see https://github.com/01org/libyami-utils/issues/91
29PACKAGECONFIG[x11] = "--enable-x11 --enable-tests-gles,--disable-x11 --disable-tests-gles, virtual/libx11"
30