-
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
b2baaae
commit 72514cc
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 = "${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" |