yelp: upgrade 42.2 -> 49.2

yelp is ported to GTK 4 and libadwaita and builds with meson only now.
Drop the autotools build class, autotools-brokensep, gtk-doc and the
configure workaround. DEPENDS move from gtk+3, libhandy and webkitgtk3 to
gtk4, libadwaita and webkitgtk (WebKitGTK 6.0); appstream-glib is no
longer used. The lzma and bzip2 support become PACKAGECONFIG options.

AI-Generated: Uses Claude Code (Claude Opus 5.5)
Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
This commit is contained in:
Markus Volk authored and Khem Raj committed 2026-10-21 08:13:01 -07:00
1 parent 286bc7ac11
commit 486b4f5ed9
1 file changed
+10 -11
@@ -3,36 +3,35 @@ LICENSE = "GPL-2.0-only"
LIC_FILES_CHKSUM = " \
file://COPYING;md5=6e1b9cb787e76d7e6946887a65caa754 \
"
GNOMEBASEBUILDCLASS = "autotools"
inherit gnomebase itstool autotools-brokensep gsettings gettext gtk-doc features_check mime-xdg
inherit gnomebase itstool gsettings gettext features_check mime-xdg
# for webkitgtk
REQUIRED_DISTRO_FEATURES = "opengl"
ANY_OF_DISTRO_FEATURES = "wayland x11"
SRC_URI[archive.sha256sum] = "a2c5fd0787a9089c722cc66bd0f85cdf7088d870e7b6cc85799f8e5bff9eac4b"
SRC_URI[archive.sha256sum] = "5afc8e77308451ee45ee919efee5a154ca3c153a90e2a1b58cebf7827ab88ad0"
DEPENDS += " \
libxml2-native \
glib-2.0-native \
gtk+3 \
appstream-glib \
gtk4 \
libadwaita \
libxslt \
sqlite3 \
libhandy \
webkitgtk3 \
webkitgtk \
yelp-xsl \
"
do_configure:prepend() {
export ITSTOOL=${STAGING_BINDIR_NATIVE}/itstool
}
PACKAGECONFIG ??= "lzma bzip2"
PACKAGECONFIG[lzma] = "-Dlzma=enabled,-Dlzma=disabled,xz"
PACKAGECONFIG[bzip2] = "-Dbzip2=enabled,-Dbzip2=disabled,bzip2"
FILES:${PN} += " \
${libdir}/yelp-1/web-process-extensions \
${datadir}/metainfo \
${datadir}/yelp-xsl \
"
RDEPENDS:${PN} += "yelp-xsl"
CVE_STATUS[CVE-2008-3533] = "cpe-incorrect: The current version (42.2) is not affected. Fixed in 2.24."
CVE_STATUS[CVE-2008-3533] = "cpe-incorrect: The current version (49.2) is not affected. Fixed in 2.24."