diff options
| author | Martin Jansa <martin.jansa@gmail.com> | 2024-08-27 15:44:17 +0200 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2024-08-27 07:17:10 -0700 |
| commit | 48e257b4c7c8990c9afba90d5b3fcc957a1d8e73 (patch) | |
| tree | 98c84f778d30730f306e242dc7882b0c4c756b2a | |
| parent | 240a64be681620424fbfe855da53739f47315e05 (diff) | |
| download | meta-openembedded-48e257b4c7c8990c9afba90d5b3fcc957a1d8e73.tar.gz | |
vdpauinfo: require x11 in DISTRO_FEATURES
It depends on libvdpau and libvdpau has:
inherit features_check
REQUIRED_DISTRO_FEATURES = "x11"
since:
commit 0055684612edddae0f041e984c8497c5e5b32e74
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>
| -rw-r--r-- | meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb | 2 | ||||
| -rw-r--r-- | meta-oe/recipes-graphics/vdpau/vdpauinfo_1.5.bb | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb b/meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb index d13a8980d0..6f31283fb3 100644 --- a/meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb +++ b/meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb | |||
| @@ -606,7 +606,7 @@ RDEPENDS:packagegroup-meta-oe-graphics ="\ | |||
| 606 | ${@bb.utils.contains("DISTRO_FEATURES", "x11 pam", "tigervnc", "", d)} \ | 606 | ${@bb.utils.contains("DISTRO_FEATURES", "x11 pam", "tigervnc", "", d)} \ |
| 607 | tslib \ | 607 | tslib \ |
| 608 | unclutter-xfixes \ | 608 | unclutter-xfixes \ |
| 609 | libvdpau \ | 609 | ${@bb.utils.contains("DISTRO_FEATURES", "x11", "libvdpau vdpauinfo", "", d)} \ |
| 610 | xcursorgen \ | 610 | xcursorgen \ |
| 611 | ${@bb.utils.contains("DISTRO_FEATURES", "x11 pam", "xscreensaver", "", d)} \ | 611 | ${@bb.utils.contains("DISTRO_FEATURES", "x11 pam", "xscreensaver", "", d)} \ |
| 612 | yad \ | 612 | yad \ |
diff --git a/meta-oe/recipes-graphics/vdpau/vdpauinfo_1.5.bb b/meta-oe/recipes-graphics/vdpau/vdpauinfo_1.5.bb index 99afe74507..3f44e537a4 100644 --- a/meta-oe/recipes-graphics/vdpau/vdpauinfo_1.5.bb +++ b/meta-oe/recipes-graphics/vdpau/vdpauinfo_1.5.bb | |||
| @@ -6,6 +6,10 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=5b6e110c362fe46168199f3490e52c3c" | |||
| 6 | 6 | ||
| 7 | DEPENDS = "libvdpau" | 7 | DEPENDS = "libvdpau" |
| 8 | 8 | ||
| 9 | # libvdpau is available only with x11 | ||
| 10 | inherit features_check | ||
| 11 | REQUIRED_DISTRO_FEATURES = "x11" | ||
| 12 | |||
| 9 | RDEPENDS:${PN} = "libvdpau" | 13 | RDEPENDS:${PN} = "libvdpau" |
| 10 | 14 | ||
| 11 | SRCREV = "d3c5bd63bf8878d59b22d618d2bb5116db392d28" | 15 | SRCREV = "d3c5bd63bf8878d59b22d618d2bb5116db392d28" |
