- add wayland dependency to fix:

| Run-time dependency wayland-client found: NO  (tried pkg-config and cmake)
|
| ../sources/AppStream-1.1.5/meson.build:210:25: ERROR: Dependency 
"wayland-client" not found (tried pkg-config and cmake)

- add it conditionally to allow builds without wayland

Signed-off-by: Markus Volk <[email protected]>
---
 .../appstream/{appstream_1.1.3.bb => appstream_1.1.5.bb}     | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
 rename meta/recipes-support/appstream/{appstream_1.1.3.bb => 
appstream_1.1.5.bb} (89%)

diff --git a/meta/recipes-support/appstream/appstream_1.1.3.bb 
b/meta/recipes-support/appstream/appstream_1.1.5.bb
similarity index 89%
rename from meta/recipes-support/appstream/appstream_1.1.3.bb
rename to meta/recipes-support/appstream/appstream_1.1.5.bb
index 06e4f7940a..e33359e5a1 100644
--- a/meta/recipes-support/appstream/appstream_1.1.3.bb
+++ b/meta/recipes-support/appstream/appstream_1.1.5.bb
@@ -24,17 +24,18 @@ SRC_URI = " \
        file://0002-Do-not-build-qt-tests.patch \
        file://0003-Fix-PACKAGE_PREFIX_DIR-in-qt-cmake-AppStreamQtConfig.patch \
 "
-SRC_URI[sha256sum] = 
"2624f967068427edc94f3979edae3571bb077063f5bc231f737776da527bf467"
+SRC_URI[sha256sum] = 
"fc57337e250b0d27e75ac4216cc69a76d03c54011a5da5c7a2c57711a3d0cdf9"
 
 S = "${UNPACKDIR}/AppStream-${PV}"
 
-PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}"
+PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd wayland', d)}"
 PACKAGECONFIG:append:class-target = " bash-completion"
 
 PACKAGECONFIG[systemd] = "-Dsystemd=true,-Dsystemd=false,systemd"
 PACKAGECONFIG[stemming] = "-Dstemming=true,-Dstemming=false,libstemmer"
 PACKAGECONFIG[qt6] = "-Dqt=true,-Dqt=false,qtbase"
 PACKAGECONFIG[bash-completion] = 
"-Dbash-completion=true,-Dbash-completion=false"
+PACKAGECONFIG[wayland] = 
"-Ddisplay-detection=wayland,-Ddisplay-detection=none,wayland"
 
 FILES:${PN} += "${datadir}"
 
-- 
2.55.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#241969): 
https://lists.openembedded.org/g/openembedded-core/message/241969
Mute This Topic: https://lists.openembedded.org/mt/120437870/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to