2015-06-04 10:19:15 +00:00
|
|
|
SUMMARY = "Provides a way to load and enumerate PKCS#11 modules"
|
|
|
|
LICENSE = "BSD"
|
|
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=02933887f609807fbb57aa4237d14a50"
|
|
|
|
|
2018-02-01 18:01:57 +00:00
|
|
|
inherit autotools gettext pkgconfig gtk-doc
|
2015-06-04 10:19:15 +00:00
|
|
|
|
|
|
|
DEPENDS = "libtasn1 libffi"
|
|
|
|
|
2018-02-01 18:01:57 +00:00
|
|
|
SRC_URI = "git://github.com/p11-glue/p11-kit \
|
|
|
|
file://0001-LINGUAS-drop-the-languages-for-which-upstream-does-n.patch \
|
|
|
|
"
|
|
|
|
SRCREV = "bfb3bd47aa48983f5349479bca598403097ff81c"
|
|
|
|
S = "${WORKDIR}/git"
|
|
|
|
# exclude odd minor versions, which are development releases
|
|
|
|
UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>\d+\.(\d*[02468])+(\.\d+)+)"
|
2015-06-04 10:19:15 +00:00
|
|
|
|
2018-02-01 18:01:57 +00:00
|
|
|
AUTOTOOLS_AUXDIR = "${S}/build/litter"
|
2015-09-23 09:04:37 +00:00
|
|
|
EXTRA_OECONF = "--without-trust-paths"
|
|
|
|
|
2016-08-25 15:09:33 +00:00
|
|
|
# This recipe does not use the standard gtk-doc m4 macros, and so the ./configure flags
|
|
|
|
# that control gtk-doc build are non-standard
|
|
|
|
EXTRA_OECONF_prepend_class-target = "${@bb.utils.contains('GTKDOC_ENABLED', 'True', '--enable-doc --enable-doc-html --disable-doc-pdf', \
|
|
|
|
'--disable-doc', d)} "
|
|
|
|
|
|
|
|
# When building native recipes, disable gtkdoc, as it is not necessary,
|
|
|
|
# pulls in additional dependencies, and makes build times longer
|
|
|
|
EXTRA_OECONF_prepend_class-native = "--disable-doc "
|
|
|
|
EXTRA_OECONF_prepend_class-nativesdk = "--disable-doc "
|
|
|
|
|
|
|
|
UNKNOWN_CONFIGURE_WHITELIST_append = " --enable-gtk-doc-html --disable-gtk-doc-pdf --enable-gtk-doc --disable-gtk-doc"
|
|
|
|
|
|
|
|
# p11-kit relies on these two being copied from source tree
|
|
|
|
# instead of being regenerated by gtkdoc-scan, but doesn't setup
|
|
|
|
# dependencies correctly when there is a parallel build. Let's pre-copy
|
|
|
|
# them instead.
|
|
|
|
do_compile_prepend () {
|
|
|
|
cp ${S}/doc/manual/p11-kit-overrides.txt ${S}/doc/manual/p11-kit-sections.txt ${B}/doc/manual/
|
|
|
|
}
|
|
|
|
|
2016-02-01 21:09:04 +00:00
|
|
|
FILES_${PN} += " \
|
2015-06-04 10:19:15 +00:00
|
|
|
${libdir}/p11-kit-proxy.so \
|
2016-02-01 21:09:04 +00:00
|
|
|
${libdir}/pkcs11/*.so \
|
|
|
|
${libdir}/pkcs11/*.la"
|
2015-12-15 16:32:43 +00:00
|
|
|
|
2016-02-01 21:09:04 +00:00
|
|
|
# PN contains p11-kit-proxy.so, a symlink to a loadable module
|
2016-02-03 10:35:14 +00:00
|
|
|
INSANE_SKIP_${PN} = "dev-so"
|