aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDiego Rondini <diego.rondini@kynetics.com>2020-01-03 14:37:36 +0000
committerKhem Raj <raj.khem@gmail.com>2020-01-10 12:34:08 -0800
commit4e23f0a2fef79e3a1eb08e90b9a277e40ed66a39 (patch)
tree4f2c64ad35205945bf0980c457b08374f26f2ce4
parenta67aaaf00f4c818847f95c02340872a1a49a0f34 (diff)
downloadmeta-openembedded-4e23f0a2fef79e3a1eb08e90b9a277e40ed66a39.tar.gz
qpdf: add recipe
Add qpdf PDF transformation library recipe. The recipe has been imported from meta-printing and updated. Signed-off-by: Diego Rondini <diego.rondini@kynetics.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-oe/recipes-printing/qpdf/qpdf_9.1.0.bb33
1 files changed, 33 insertions, 0 deletions
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 000000000..44a5fea84
--- /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"