mirror of
https://git.yoctoproject.org/poky
synced 2026-05-08 05:09:24 +00:00
weston: use same distro features for weston and westion-init
We want to avoid situations (like world builds) where weston-init will build, but weston won't. This could cause "nothing RPROVIDES..." dependency errors. We set required distro features in a common include file. (From OE-Core rev: 1c7802f025eb3d9ee3310e083a5d8bef7178de9c) Signed-off-by: Joe Slater <joe.slater@windriver.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
d01b1919dc
commit
1f1fcb41b4
@@ -0,0 +1,8 @@
|
||||
# distro features required by weston recipes
|
||||
|
||||
inherit features_check
|
||||
|
||||
# requires pam enabled if started via systemd
|
||||
#
|
||||
REQUIRED_DISTRO_FEATURES = "wayland opengl ${@oe.utils.conditional('VIRTUAL-RUNTIME_init_manager', 'systemd', 'pam', '', d)}"
|
||||
|
||||
@@ -63,13 +63,13 @@ do_install() {
|
||||
|
||||
INHIBIT_UPDATERCD_BBCLASS = "${@oe.utils.conditional('VIRTUAL-RUNTIME_init_manager', 'systemd', '1', '', d)}"
|
||||
|
||||
inherit update-rc.d features_check systemd useradd
|
||||
inherit update-rc.d systemd useradd
|
||||
|
||||
USERADD_PACKAGES = "${PN}"
|
||||
|
||||
# rdepends on weston which depends on virtual/egl
|
||||
# requires pam enabled if started via systemd
|
||||
REQUIRED_DISTRO_FEATURES = "opengl ${@oe.utils.conditional('VIRTUAL-RUNTIME_init_manager', 'systemd', 'pam', '', d)}"
|
||||
#
|
||||
require ${THISDIR}/required-distro-features.inc
|
||||
|
||||
RDEPENDS:${PN} = "weston kbd"
|
||||
|
||||
|
||||
@@ -19,10 +19,11 @@ SRC_URI[sha256sum] = "5c23964112b90238bed39e5dd1e41cd71a79398813cdc3bbb15a9fdc94
|
||||
|
||||
UPSTREAM_CHECK_URI = "https://wayland.freedesktop.org/releases.html"
|
||||
|
||||
inherit meson pkgconfig useradd features_check
|
||||
inherit meson pkgconfig useradd
|
||||
|
||||
# depends on virtual/egl
|
||||
# weston-init requires pam enabled if started via systemd
|
||||
REQUIRED_DISTRO_FEATURES = "wayland opengl ${@oe.utils.conditional('VIRTUAL-RUNTIME_init_manager', 'systemd', 'pam', '', d)}"
|
||||
#
|
||||
require ${THISDIR}/required-distro-features.inc
|
||||
|
||||
DEPENDS = "libxkbcommon gdk-pixbuf pixman cairo glib-2.0"
|
||||
DEPENDS += "wayland wayland-protocols libinput virtual/egl pango wayland-native"
|
||||
|
||||
Reference in New Issue
Block a user