-
Notifications
You must be signed in to change notification settings - Fork 710
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
1 parent
ef16acb
commit 1a3b260
Showing
1 changed file
with
33 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |