diff options
| -rwxr-xr-x | common/recipes-multimedia/libyami/libyami-utils_1.1.0.bb | 7 |
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 fcd28f8a..b069628c 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" | |||
| 21 | inherit autotools pkgconfig distro_features_check | 21 | inherit autotools pkgconfig distro_features_check |
| 22 | 22 | ||
| 23 | REQUIRED_DISTRO_FEATURES = "opengl" | 23 | REQUIRED_DISTRO_FEATURES = "opengl" |
| 24 | |||
| 25 | PACKAGECONFIG = "${@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 | ||
| 29 | PACKAGECONFIG[x11] = "--enable-x11 --enable-tests-gles,--disable-x11 --disable-tests-gles, virtual/libx11" | ||
| 30 | |||
