diff options
author | Joshua Lock <joshua.lock@collabora.co.uk> | 2015-10-20 10:33:05 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-11-16 11:39:29 +0000 |
commit | 2c5047f498bc1729571566bb04b9ea90d20213c2 (patch) | |
tree | 96675ff493e70a5cacc6cdb11b3a87739ed5275f /meta/recipes-graphics/wayland/weston_1.8.0.bb | |
parent | 65ffeb5c8fd180c336d49d714c312de4fdaf5fa0 (diff) | |
download | poky-2c5047f498bc1729571566bb04b9ea90d20213c2.tar.gz |
weston: add PACKAGECONFIG to build with systemd-login support
Automatically enable this support for distributions which have
systemd in DISTRO_FEATURES.
We add additional patches to weston, backported from Weston
git, to support the newer single libsystemd pkg-config file
and to make the enabling of systemd-login support explicit.
(From OE-Core rev: f51ba9a89ee8cede03b5b7834579fd63fa483267)
Signed-off-by: Joshua Lock <joshua.lock@collabora.co.uk>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/wayland/weston_1.8.0.bb')
-rw-r--r-- | meta/recipes-graphics/wayland/weston_1.8.0.bb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/recipes-graphics/wayland/weston_1.8.0.bb b/meta/recipes-graphics/wayland/weston_1.8.0.bb index 95cf4956da..6234a8c6f5 100644 --- a/meta/recipes-graphics/wayland/weston_1.8.0.bb +++ b/meta/recipes-graphics/wayland/weston_1.8.0.bb | |||
@@ -12,6 +12,8 @@ SRC_URI = "http://wayland.freedesktop.org/releases/${BPN}-${PV}.tar.xz \ | |||
12 | file://make-libwebp-explicitly-configurable.patch \ | 12 | file://make-libwebp-explicitly-configurable.patch \ |
13 | file://0001-make-error-portable.patch \ | 13 | file://0001-make-error-portable.patch \ |
14 | file://parallelmake.patch \ | 14 | file://parallelmake.patch \ |
15 | file://libsystemd.patch \ | ||
16 | file://explicit-enable-disable-systemd.patch \ | ||
15 | " | 17 | " |
16 | SRC_URI[md5sum] = "24cb8a7ed0535b4fc3642643988dab36" | 18 | SRC_URI[md5sum] = "24cb8a7ed0535b4fc3642643988dab36" |
17 | SRC_URI[sha256sum] = "8963e69f328e815cec42c58046c4af721476c7541bb7d9edc71740fada5ad312" | 19 | SRC_URI[sha256sum] = "8963e69f328e815cec42c58046c4af721476c7541bb7d9edc71740fada5ad312" |
@@ -41,6 +43,7 @@ EXTRA_OECONF_append_qemux86-64 = "\ | |||
41 | PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'kms fbdev wayland egl', '', d)} \ | 43 | PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'kms fbdev wayland egl', '', d)} \ |
42 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', '', d)} \ | 44 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', '', d)} \ |
43 | ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'launch', '', d)} \ | 45 | ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'launch', '', d)} \ |
46 | ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)} \ | ||
44 | " | 47 | " |
45 | # | 48 | # |
46 | # Compositor choices | 49 | # Compositor choices |
@@ -69,6 +72,8 @@ PACKAGECONFIG[lcms] = "--enable-lcms,--disable-lcms,lcms" | |||
69 | PACKAGECONFIG[webp] = "--enable-webp,--disable-webp,libwebp" | 72 | PACKAGECONFIG[webp] = "--enable-webp,--disable-webp,libwebp" |
70 | # Weston with unwinding support | 73 | # Weston with unwinding support |
71 | PACKAGECONFIG[libunwind] = "--enable-libunwind,--disable-libunwind,libunwind" | 74 | PACKAGECONFIG[libunwind] = "--enable-libunwind,--disable-libunwind,libunwind" |
75 | # Weston with systemd-login support | ||
76 | PACKAGECONFIG[systemd] = "--enable-systemd-login,--disable-systemd-login,systemd dbus" | ||
72 | 77 | ||
73 | do_install_append() { | 78 | do_install_append() { |
74 | # Weston doesn't need the .la files to load modules, so wipe them | 79 | # Weston doesn't need the .la files to load modules, so wipe them |