p11-kit_0.23.14.bb 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. SUMMARY = "Provides a way to load and enumerate PKCS#11 modules"
  2. LICENSE = "BSD"
  3. LIC_FILES_CHKSUM = "file://COPYING;md5=02933887f609807fbb57aa4237d14a50"
  4. inherit autotools gettext pkgconfig gtk-doc
  5. DEPENDS = "libtasn1 libffi"
  6. SRC_URI = "git://github.com/p11-glue/p11-kit \
  7. file://0001-LINGUAS-drop-the-languages-for-which-upstream-does-n.patch \
  8. "
  9. SRCREV = "3770793f026e46a000d2d8816d56122598289d5c"
  10. S = "${WORKDIR}/git"
  11. AUTOTOOLS_AUXDIR = "${S}/build/litter"
  12. PACKAGECONFIG ??= ""
  13. PACKAGECONFIG[trust-paths] = "--with-trust-paths=/etc/ssl/certs/ca-certificates.crt,--without-trust-paths,,ca-certificates"
  14. # This recipe does not use the standard gtk-doc m4 macros, and so the ./configure flags
  15. # that control gtk-doc build are non-standard
  16. EXTRA_OECONF_prepend_class-target = "${@bb.utils.contains('GTKDOC_ENABLED', 'True', '--enable-doc --enable-doc-html --disable-doc-pdf', \
  17. '--disable-doc', d)} "
  18. # When building native recipes, disable gtkdoc, as it is not necessary,
  19. # pulls in additional dependencies, and makes build times longer
  20. EXTRA_OECONF_prepend_class-native = "--disable-doc "
  21. EXTRA_OECONF_prepend_class-nativesdk = "--disable-doc "
  22. UNKNOWN_CONFIGURE_WHITELIST_append = " --enable-gtk-doc-html --disable-gtk-doc-pdf --enable-gtk-doc --disable-gtk-doc"
  23. # p11-kit relies on these two being copied from source tree
  24. # instead of being regenerated by gtkdoc-scan, but doesn't setup
  25. # dependencies correctly when there is a parallel build. Let's pre-copy
  26. # them instead.
  27. do_compile_prepend () {
  28. cp ${S}/doc/manual/p11-kit-overrides.txt ${S}/doc/manual/p11-kit-sections.txt ${B}/doc/manual/
  29. }
  30. FILES_${PN} += " \
  31. ${libdir}/p11-kit-proxy.so \
  32. ${libdir}/pkcs11/*.so \
  33. ${libdir}/pkcs11/*.la"
  34. # PN contains p11-kit-proxy.so, a symlink to a loadable module
  35. INSANE_SKIP_${PN} = "dev-so"