From 72514cce4f106dd10a532eae7a566fa78c33664b Mon Sep 17 00:00:00 2001 From: Diego Rondini Date: Fri, 3 Jan 2020 14:37:36 +0000 Subject: [PATCH] qpdf: add recipe Add qpdf PDF transformation library recipe. The recipe has been imported from meta-printing and updated. Signed-off-by: Diego Rondini --- meta-oe/recipes-printing/qpdf/qpdf_9.1.0.bb | 33 +++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 meta-oe/recipes-printing/qpdf/qpdf_9.1.0.bb diff --git a/meta-oe/recipes-printing/qpdf/qpdf_9.1.0.bb b/meta-oe/recipes-printing/qpdf/qpdf_9.1.0.bb new file mode 100644 index 00000000000..44a5fea841e --- /dev/null +++ b/meta-oe/recipes-printing/qpdf/qpdf_9.1.0.bb @@ -0,0 +1,33 @@ +DESCRIPTION = "PDF transformation/inspection software" +HOMEPAGE = "http://qpdf.sourceforge.net" +LICENSE = "Artistic-2.0" +SECTION = "libs" +DEPENDS = "libpcre zlib libjpeg-turbo" + +SRC_URI = "${SOURCEFORGE_MIRROR}/qpdf/qpdf-${PV}.tar.gz" + +LIC_FILES_CHKSUM = "file://Artistic-2.0;md5=7806296b9fae874361e6fb10072b7ee3" +SRC_URI[md5sum] = "090d03ab179c281233f8240ade179d54" +SRC_URI[sha256sum] = "3abbbb7907f2e750336b9c97e67b6e806aca91ab537402ec080656d63940ed79" + +inherit autotools-brokensep gettext + +# disable random file detection for cross-compile +EXTRA_OECONF = "--without-random \ + --disable-static \ + --disable-check-autofiles \ + " + +EXTRA_OEMAKE_class-target = "LIBTOOL=${HOST_SYS}-libtool" + +S="${WORKDIR}/${BPN}-${PV}" + +# avoid Makefile returning error on 'make clean' before configure was run +CLEANBROKEN = "1" + +DEBIAN_NOAUTONAME_libqpdf = "1" + +PACKAGES =+ "libqpdf" +FILES_libqpdf = "${libdir}/libqpdf.so.*" + +RDEPEND_${PN} = "libqpdf"