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