diff options
Diffstat (limited to 'meta/recipes-graphics/libva/libva_2.6.1.bb')
-rw-r--r-- | meta/recipes-graphics/libva/libva_2.6.1.bb | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/meta/recipes-graphics/libva/libva_2.6.1.bb b/meta/recipes-graphics/libva/libva_2.6.1.bb index 92cea83bc1..8c495bad70 100644 --- a/meta/recipes-graphics/libva/libva_2.6.1.bb +++ b/meta/recipes-graphics/libva/libva_2.6.1.bb | |||
@@ -23,15 +23,21 @@ SRC_URI[sha256sum] = "6c57eb642d828af2411aa38f55dc10111e8c98976dbab8fd62e4862940 | |||
23 | 23 | ||
24 | UPSTREAM_CHECK_URI = "https://github.com/intel/libva/releases" | 24 | UPSTREAM_CHECK_URI = "https://github.com/intel/libva/releases" |
25 | 25 | ||
26 | DEPENDS = "libdrm virtual/mesa" | 26 | DEPENDS = "libdrm" |
27 | 27 | ||
28 | inherit meson pkgconfig features_check | 28 | inherit meson pkgconfig features_check |
29 | 29 | ||
30 | REQUIRED_DISTRO_FEATURES = "opengl" | 30 | REQUIRED_DISTRO_FEATURES = "opengl" |
31 | 31 | ||
32 | PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'wayland x11', d)}" | 32 | PACKAGECONFIG ??= " \ |
33 | PACKAGECONFIG[x11] = "-Dwith_x11=yes, -Dwith_x11=no,virtual/libx11 libxext libxfixes" | 33 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11 opengl', 'glx', '', d)} \ |
34 | PACKAGECONFIG[wayland] = "-Dwith_wayland=yes, -Dwith_wayland=no,wayland-native wayland" | 34 | ${@bb.utils.filter('DISTRO_FEATURES', 'x11 wayland', d)} \ |
35 | " | ||
36 | |||
37 | PACKAGECONFIG[x11] = "-Dwith_x11=yes,-Dwith_x11=no,virtual/libx11 libxext libxfixes" | ||
38 | PACKAGECONFIG[glx] = "-Dwith_glx=yes,-Dwith_glx=no,virtual/mesa" | ||
39 | |||
40 | PACKAGECONFIG[wayland] = "-Dwith_wayland=yes,-Dwith_wayland=no,wayland-native wayland" | ||
35 | 41 | ||
36 | PACKAGES =+ "${PN}-x11 ${PN}-glx ${PN}-wayland" | 42 | PACKAGES =+ "${PN}-x11 ${PN}-glx ${PN}-wayland" |
37 | 43 | ||