diff mbox series

[PATCHv2] appstream: update 1.1.3 -> 1.1.5

Message ID 20260725084607.35983-1-f_l_k@t-online.de
State New
Headers show
Series [PATCHv2] appstream: update 1.1.3 -> 1.1.5 | expand

Commit Message

Markus Volk July 25, 2026, 8:46 a.m. UTC
- 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 <f_l_k@t-online.de>
---
 .../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 mbox series

Patch

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}"