diff --git a/meta-oe/recipes-printing/cups/libcupsfilters_2.2.1.bb b/meta-oe/recipes-printing/cups/libcupsfilters_2.2.1.bb
index 3e773715d5..5fa268295f 100644
--- a/meta-oe/recipes-printing/cups/libcupsfilters_2.2.1.bb
+++ b/meta-oe/recipes-printing/cups/libcupsfilters_2.2.1.bb
@@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/OpenPrinting"
 LICENSE = "Apache-2.0"
 LIC_FILES_CHKSUM = "file://COPYING;md5=aab2024bd2a475438a154cd1640c9684"

-DEPENDS = "cups fontconfig libexif dbus lcms qpdf poppler libpng jpeg tiff"
+DEPENDS = "cups fontconfig libexif dbus lcms pdfio libpng jpeg tiff"

 SRC_URI = "https://github.com/OpenPrinting/${BPN}/releases/download/${PV}/${BP}.tar.xz \
            "
@@ -11,6 +11,9 @@ SRC_URI[sha256sum] = "0a22b849d5068c4c86b20fbb4192d3faa3dabcc9ee844c8fd73710ed82

 inherit autotools gettext pkgconfig github-releases

+PACKAGECONFIG ??= "jpegxl"
+PACKAGECONFIG[jpegxl] = "--with-jpegxl,--without-jpegxl,libjxl"
+
 # github-releases defaults GITHUB_BASE_URI to github.com/<BPN>/<BPN>, which 404s
 # for this project; releases live under the OpenPrinting org.
 GITHUB_BASE_URI = "https://github.com/OpenPrinting/${BPN}/releases/"
@@ -18,3 +21,7 @@ UPSTREAM_CHECK_REGEX = "releases/tag/(?P<pver>\d+(\.\d+)+)"

 FILES:${PN} += "${datadir}"
 RDEPENDS:${PN} += "ghostscript"
+
+do_install:append() {
+    sed -i -e 's:${RECIPE_SYSROOT}::g' ${D}${libdir}/pkgconfig/libcupsfilters.pc
+}
