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" |
William A. Kennington III | b95905d | 2021-06-02 12:40:56 -0700 | [diff] [blame] | 10 | SRC_URI[sha256sum] = "062808c40ef8741ec8160ae00168638a712cfa1d4bf673e8e595ab5eba1da947" |
Brad Bishop | e42b3e3 | 2020-01-15 22:08:42 -0500 | [diff] [blame] | 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 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame^] | 20 | EXTRA_OEMAKE:class-target = "LIBTOOL=${HOST_SYS}-libtool" |
Brad Bishop | e42b3e3 | 2020-01-15 22:08:42 -0500 | [diff] [blame] | 21 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame^] | 22 | LDFLAGS:append:mipsarch = " -latomic" |
| 23 | LDFLAGS:append:riscv32 = " -latomic" |
Andrew Geissler | 7f40b71 | 2020-05-15 14:09:53 -0500 | [diff] [blame] | 24 | |
Brad Bishop | e42b3e3 | 2020-01-15 22:08:42 -0500 | [diff] [blame] | 25 | S="${WORKDIR}/${BPN}-${PV}" |
| 26 | |
| 27 | # avoid Makefile returning error on 'make clean' before configure was run |
| 28 | CLEANBROKEN = "1" |
| 29 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame^] | 30 | DEBIAN_NOAUTONAME:libqpdf = "1" |
Brad Bishop | e42b3e3 | 2020-01-15 22:08:42 -0500 | [diff] [blame] | 31 | |
| 32 | PACKAGES =+ "libqpdf" |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame^] | 33 | FILES:libqpdf = "${libdir}/libqpdf.so.*" |
Brad Bishop | e42b3e3 | 2020-01-15 22:08:42 -0500 | [diff] [blame] | 34 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame^] | 35 | RDEPENDS:${PN} = "libqpdf" |