new file mode 100644
@@ -0,0 +1,26 @@
+SUMMARY = "Simple C library for reading and writing PDF files"
+HOMEPAGE = "https://www.msweet.org/pdfio"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57 \
+ file://NOTICE;md5=911592668bdcbb7554c90ec4cd2fb911"
+
+DEPENDS = "zlib"
+
+SRC_URI = "${GITHUB_BASE_URI}/download/v${PV}/${BP}.tar.gz"
+SRC_URI[sha256sum] = "be9790ff2e9f0b7052fca8e96f2fdb6ebac903910e7ed8e2d1de4b1e55a40a23"
+
+GITHUB_BASE_URI = "https://github.com/michaelrsweet/pdfio/releases"
+
+inherit autotools-brokensep pkgconfig github-releases
+
+PACKAGECONFIG ??= "libpng"
+PACKAGECONFIG[libpng] = "--enable-libpng,--disable-libpng,libpng"
+
+# The hand written Makefile links the shared library with DSOFLAGS only
+EXTRA_OECONF = "--enable-shared --disable-static --with-dsoflags='${LDFLAGS}'"
+
+do_install() {
+ oe_runmake install BUILDROOT=${D}
+}
+
+BBCLASSEXTEND = "native nativesdk"
PDFio is a small C library for reading and writing PDF files. It is required by libcupsfilters >= 2.2, which replaced qpdf with it. The hand written Makefile links the shared library with DSOFLAGS only and installs into BUILDROOT, so pass LDFLAGS via --with-dsoflags and set BUILDROOT in do_install. AI-Generated: Uses Claude Code Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com> --- meta-oe/recipes-printing/pdfio/pdfio_1.6.6.bb | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 meta-oe/recipes-printing/pdfio/pdfio_1.6.6.bb