blob: 5965b8d09d11eae0b47ea6d38e0ea0563b74ba7d [file] [log] [blame]
Brad Bishope42b3e32020-01-15 22:08:42 -05001DESCRIPTION = "PDF transformation/inspection software"
2HOMEPAGE = "http://qpdf.sourceforge.net"
3LICENSE = "Artistic-2.0"
4SECTION = "libs"
5DEPENDS = "libpcre zlib libjpeg-turbo"
6
7SRC_URI = "${SOURCEFORGE_MIRROR}/qpdf/qpdf-${PV}.tar.gz"
8
9LIC_FILES_CHKSUM = "file://Artistic-2.0;md5=7806296b9fae874361e6fb10072b7ee3"
Andrew Geissler7f40b712020-05-15 14:09:53 -050010SRC_URI[md5sum] = "eb7fb7c6cd5d3036bf4f7a5e3f44d995"
11SRC_URI[sha256sum] = "5d2277c738188b7f4e3f01a6db7f2937ed6df54671f1fba834cd3d7ff865827b"
Brad Bishope42b3e32020-01-15 22:08:42 -050012
13inherit autotools-brokensep gettext
14
15# disable random file detection for cross-compile
16EXTRA_OECONF = "--without-random \
17 --disable-static \
18 --disable-check-autofiles \
19 "
20
21EXTRA_OEMAKE_class-target = "LIBTOOL=${HOST_SYS}-libtool"
22
Andrew Geissler7f40b712020-05-15 14:09:53 -050023LDFLAGS_append_mipsarch = " -latomic"
Andrew Geissler4b7c1152020-11-30 19:55:29 -060024LDFLAGS_append_riscv32 = " -latomic"
Andrew Geissler7f40b712020-05-15 14:09:53 -050025
Brad Bishope42b3e32020-01-15 22:08:42 -050026S="${WORKDIR}/${BPN}-${PV}"
27
28# avoid Makefile returning error on 'make clean' before configure was run
29CLEANBROKEN = "1"
30
31DEBIAN_NOAUTONAME_libqpdf = "1"
32
33PACKAGES =+ "libqpdf"
34FILES_libqpdf = "${libdir}/libqpdf.so.*"
35
Andrew Geisslereafcbb82020-06-05 17:59:17 -050036RDEPENDS_${PN} = "libqpdf"