qpdf_10.0.4.bb 1.0 KB

123456789101112131415161718192021222324252627282930313233343536
  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. SRC_URI = "${SOURCEFORGE_MIRROR}/qpdf/qpdf-${PV}.tar.gz"
  7. LIC_FILES_CHKSUM = "file://Artistic-2.0;md5=7806296b9fae874361e6fb10072b7ee3"
  8. SRC_URI[md5sum] = "b4c6a66c45bb946944c2fe14ef02d0e0"
  9. SRC_URI[sha256sum] = "b191dc4af4ea4630cdc404a4ee95a0f21c12f56ecc4ae045f04425464d7c696e"
  10. inherit autotools-brokensep gettext
  11. # disable random file detection for cross-compile
  12. EXTRA_OECONF = "--without-random \
  13. --disable-static \
  14. --disable-check-autofiles \
  15. "
  16. EXTRA_OEMAKE_class-target = "LIBTOOL=${HOST_SYS}-libtool"
  17. LDFLAGS_append_mipsarch = " -latomic"
  18. LDFLAGS_append_riscv32 = " -latomic"
  19. S="${WORKDIR}/${BPN}-${PV}"
  20. # avoid Makefile returning error on 'make clean' before configure was run
  21. CLEANBROKEN = "1"
  22. DEBIAN_NOAUTONAME_libqpdf = "1"
  23. PACKAGES =+ "libqpdf"
  24. FILES_libqpdf = "${libdir}/libqpdf.so.*"
  25. RDEPENDS_${PN} = "libqpdf"