Andrew Geissler | 595f630 | 2022-01-24 19:11:47 +0000 | [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" |
Patrick Williams | 03907ee | 2022-05-01 06:28:52 -0500 | [diff] [blame^] | 8 | SRC_URI[sha256sum] = "e8fc23b2a584ea68c963a897515d3eb3129186741dd19d13c86d31fa33493811" |
Andrew Geissler | 595f630 | 2022-01-24 19:11:47 +0000 | [diff] [blame] | 9 | |
| 10 | LIC_FILES_CHKSUM = "file://Artistic-2.0;md5=7806296b9fae874361e6fb10072b7ee3" |
| 11 | |
| 12 | inherit autotools-brokensep gettext |
| 13 | |
| 14 | # disable random file detection for cross-compile |
| 15 | EXTRA_OECONF = "--without-random \ |
| 16 | --disable-static \ |
| 17 | --disable-check-autofiles \ |
| 18 | " |
| 19 | |
| 20 | LDFLAGS:append:mipsarch = " -latomic" |
| 21 | LDFLAGS:append:riscv32 = " -latomic" |
| 22 | |
| 23 | S="${WORKDIR}/${BPN}-${PV}" |
| 24 | |
| 25 | # avoid Makefile returning error on 'make clean' before configure was run |
| 26 | CLEANBROKEN = "1" |
| 27 | |
| 28 | DEBIAN_NOAUTONAME:libqpdf = "1" |
| 29 | |
| 30 | PACKAGES =+ "libqpdf" |
| 31 | FILES:libqpdf = "${libdir}/libqpdf.so.*" |
| 32 | |
| 33 | RDEPENDS:${PN} = "libqpdf" |