similarity index 67%
rename from meta-xfce/recipes-xfce/thunar/thunar_4.20.7.bb
rename to meta-xfce/recipes-xfce/thunar/thunar_4.21.4.bb
@@ -3,7 +3,11 @@ HOMEPAGE = "https://docs.xfce.org/xfce/thunar/start"
SECTION = "x11"
LICENSE = "GPL-2.0-or-later"
LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
-DEPENDS = "libxml-parser-perl-native exo gdk-pixbuf libxfce4ui libnotify xfce4-panel udev"
+DEPENDS = "libxml-parser-perl-native libxslt-native docbook-xsl-stylesheets-native exo gdk-pixbuf libxfce4ui libnotify xfce4-panel udev"
+
+XFCE_COMPRESS_TYPE = "xz"
+XFCEBASEBUILDCLASS = "meson"
+GTKDOC_MESON_OPTION = "gtk-doc"
inherit xfce gobject-introspection features_check mime-xdg perlnative gtk-doc
@@ -11,11 +15,11 @@ inherit xfce gobject-introspection features_check mime-xdg perlnative gtk-doc
# cairo would at least needed to be built with xlib.
ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
-SRC_URI[sha256sum] = "e0dfbb732c3d7c9174d1c0216dd6177f1d4e9297e623dbced32efd3f3e8682e5"
+SRC_URI[sha256sum] = "85f2c7fba6e891eb0df04b94139d519778130ecde95a6e629ac611d8cc9c6a7c"
PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)}"
-PACKAGECONFIG[pcre] = "--enable-pcre2,--disable-pcre2,libpcre2"
-PACKAGECONFIG[x11] = ",,libsm startup-notification"
+PACKAGECONFIG[pcre] = "-Dpcre2=enabled,-Dpcre2=disabled,libpcre2"
+PACKAGECONFIG[x11] = "-Dx11=enabled -Dsession-management=enabled,-Dx11=disabled,libsm startup-notification"
FILES:${PN} += " \
${libdir}/thunarx-3/* \