vdpauinfo: require x11 in DISTRO_FEATURES

It depends on libvdpau and libvdpau has:
inherit features_check
REQUIRED_DISTRO_FEATURES = "x11"

since:
commit 0055684612
Author: Armin Kuster <akuster808@gmail.com>
Date:   Tue Mar 6 17:27:30 2018 -0800
Subject: libvdpau: only include when x11 in DISTRO_FEATURES

the same restriction should be repeated here to avoid:
ERROR: Nothing PROVIDES 'libvdpau' (but meta-oe/meta-oe/recipes-graphics/vdpau/vdpauinfo_1.5.bb DEPENDS on or otherwise requires it)
libvdpau was skipped: missing required distro feature 'x11' (not in DISTRO_FEATURES)

Also add it to packagegroup-meta-oe and fix libvdpau there.

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Martin Jansa
2024-08-27 15:44:17 +02:00
committed by Khem Raj
parent 240a64be68
commit 48e257b4c7
2 changed files with 5 additions and 1 deletions
@@ -606,7 +606,7 @@ RDEPENDS:packagegroup-meta-oe-graphics ="\
${@bb.utils.contains("DISTRO_FEATURES", "x11 pam", "tigervnc", "", d)} \
tslib \
unclutter-xfixes \
libvdpau \
${@bb.utils.contains("DISTRO_FEATURES", "x11", "libvdpau vdpauinfo", "", d)} \
xcursorgen \
${@bb.utils.contains("DISTRO_FEATURES", "x11 pam", "xscreensaver", "", d)} \
yad \