Skip to content

Commit

Permalink
qpdf: add recipe
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
diegorondini committed Jan 5, 2020
1 parent ef16acb commit 1a3b260
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions meta-oe/recipes-printing/qpdf/qpdf_9.1.0.bb
Original file line number Diff line number Diff line change
@@ -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 = "https://github.com/qpdf/qpdf/archive/release-qpdf-${PV}.tar.gz"

LIC_FILES_CHKSUM = "file://Artistic-2.0;md5=7806296b9fae874361e6fb10072b7ee3"
SRC_URI[md5sum] = "9681c3ceb25040a7ce381196ddac937b"
SRC_URI[sha256sum] = "98364eb3fec1bdc4343c7708100624e5fd2b3ada8e52532ee3480e8265bd5c5c"

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}-release-${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"

0 comments on commit 1a3b260

Please sign in to comment.