diff options
| -rw-r--r-- | recipes-graphics/wayland/weston_4.0.0.imx.bb | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/recipes-graphics/wayland/weston_4.0.0.imx.bb b/recipes-graphics/wayland/weston_4.0.0.imx.bb index 5028cc115..d656aa252 100644 --- a/recipes-graphics/wayland/weston_4.0.0.imx.bb +++ b/recipes-graphics/wayland/weston_4.0.0.imx.bb | |||
| @@ -19,8 +19,10 @@ S = "${WORKDIR}/git" | |||
| 19 | UPSTREAM_CHECK_URI = "https://wayland.freedesktop.org/releases.html" | 19 | UPSTREAM_CHECK_URI = "https://wayland.freedesktop.org/releases.html" |
| 20 | 20 | ||
| 21 | inherit autotools pkgconfig useradd distro_features_check | 21 | inherit autotools pkgconfig useradd distro_features_check |
| 22 | # depends on virtual/egl | 22 | # Disable OpenGL for parts with GPU support for 2D but not 3D |
| 23 | REQUIRED_DISTRO_FEATURES = "opengl" | 23 | REQUIRED_DISTRO_FEATURES = "opengl" |
| 24 | REQUIRED_DISTRO_FEATURES_imxgpu2d = "" | ||
| 25 | REQUIRED_DISTRO_FEATURES_imxgpu3d = "opengl" | ||
| 24 | 26 | ||
| 25 | DEPENDS = "libxkbcommon gdk-pixbuf pixman cairo glib-2.0 jpeg" | 27 | DEPENDS = "libxkbcommon gdk-pixbuf pixman cairo glib-2.0 jpeg" |
| 26 | DEPENDS += "wayland wayland-protocols libinput virtual/egl pango wayland-native" | 28 | DEPENDS += "wayland wayland-protocols libinput virtual/egl pango wayland-native" |
| @@ -44,7 +46,7 @@ EXTRA_OECONF_append_mx7 = "\ | |||
| 44 | " | 46 | " |
| 45 | PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'kms fbdev wayland egl', '', d)} \ | 47 | PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'kms fbdev wayland egl', '', d)} \ |
| 46 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11 wayland', 'xwayland', '', d)} \ | 48 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11 wayland', 'xwayland', '', d)} \ |
| 47 | ${@bb.utils.filter('DISTRO_FEATURES', 'pam systemd x11', d)} \ | 49 | ${@bb.utils.filter('DISTRO_FEATURES', 'opengl pam systemd x11', d)} \ |
| 48 | clients launch" | 50 | clients launch" |
| 49 | # drm is not supported on mx6/mx7 | 51 | # drm is not supported on mx6/mx7 |
| 50 | PACKAGECONFIG_remove_mx6 = "kms" | 52 | PACKAGECONFIG_remove_mx6 = "kms" |
| @@ -88,6 +90,8 @@ PACKAGECONFIG[clients] = "--enable-clients --enable-simple-clients --enable-demo | |||
| 88 | PACKAGECONFIG[pam] = "--with-pam,--without-pam,libpam" | 90 | PACKAGECONFIG[pam] = "--with-pam,--without-pam,libpam" |
| 89 | # Weston with i.MX G2D renderer | 91 | # Weston with i.MX G2D renderer |
| 90 | PACKAGECONFIG[imxg2d] = "--enable-imxg2d,--disable-imxg2d,virtual/libg2d" | 92 | PACKAGECONFIG[imxg2d] = "--enable-imxg2d,--disable-imxg2d,virtual/libg2d" |
| 93 | # Weston with OpenGL support | ||
| 94 | PACKAGECONFIG[opengl] = "--enable-opengl,--disable-opengl" | ||
| 91 | 95 | ||
| 92 | do_install_append() { | 96 | do_install_append() { |
| 93 | # Weston doesn't need the .la files to load modules, so wipe them | 97 | # Weston doesn't need the .la files to load modules, so wipe them |
