summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/p11-kit
diff options
context:
space:
mode:
authorAlexander Kanavin <alexander.kanavin@linux.intel.com>2016-08-25 18:09:33 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-09-09 12:12:23 +0100
commitc370dda61c06e03f9d749bd7bdb428afb9f6860f (patch)
tree6fd59153ba62e9d773129bd952872fda7550f2fc /meta/recipes-support/p11-kit
parentfe14b2415afc5458760813b2b806dbae0737cbee (diff)
downloadpoky-c370dda61c06e03f9d749bd7bdb428afb9f6860f.tar.gz
p11-kit: enable gtk-doc
(From OE-Core rev: a9372c630e4a27d0ec2f139cba57d1b98d93eb5f) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/p11-kit')
-rw-r--r--meta/recipes-support/p11-kit/p11-kit_0.22.1.bb22
1 files changed, 21 insertions, 1 deletions
diff --git a/meta/recipes-support/p11-kit/p11-kit_0.22.1.bb b/meta/recipes-support/p11-kit/p11-kit_0.22.1.bb
index a4efff1617..38fa09bf9a 100644
--- a/meta/recipes-support/p11-kit/p11-kit_0.22.1.bb
+++ b/meta/recipes-support/p11-kit/p11-kit_0.22.1.bb
@@ -2,7 +2,7 @@ SUMMARY = "Provides a way to load and enumerate PKCS#11 modules"
2LICENSE = "BSD" 2LICENSE = "BSD"
3LIC_FILES_CHKSUM = "file://COPYING;md5=02933887f609807fbb57aa4237d14a50" 3LIC_FILES_CHKSUM = "file://COPYING;md5=02933887f609807fbb57aa4237d14a50"
4 4
5inherit autotools gettext pkgconfig upstream-version-is-even 5inherit autotools gettext pkgconfig upstream-version-is-even gtk-doc
6 6
7DEPENDS = "libtasn1 libffi" 7DEPENDS = "libtasn1 libffi"
8 8
@@ -12,6 +12,26 @@ SRC_URI[sha256sum] = "ef3a339fcf6aa0e32c8c23f79ba7191e57312be2bda8b24e6d121c2670
12 12
13EXTRA_OECONF = "--without-trust-paths" 13EXTRA_OECONF = "--without-trust-paths"
14 14
15# This recipe does not use the standard gtk-doc m4 macros, and so the ./configure flags
16# that control gtk-doc build are non-standard
17EXTRA_OECONF_prepend_class-target = "${@bb.utils.contains('GTKDOC_ENABLED', 'True', '--enable-doc --enable-doc-html --disable-doc-pdf', \
18 '--disable-doc', d)} "
19
20# When building native recipes, disable gtkdoc, as it is not necessary,
21# pulls in additional dependencies, and makes build times longer
22EXTRA_OECONF_prepend_class-native = "--disable-doc "
23EXTRA_OECONF_prepend_class-nativesdk = "--disable-doc "
24
25UNKNOWN_CONFIGURE_WHITELIST_append = " --enable-gtk-doc-html --disable-gtk-doc-pdf --enable-gtk-doc --disable-gtk-doc"
26
27# p11-kit relies on these two being copied from source tree
28# instead of being regenerated by gtkdoc-scan, but doesn't setup
29# dependencies correctly when there is a parallel build. Let's pre-copy
30# them instead.
31do_compile_prepend () {
32 cp ${S}/doc/manual/p11-kit-overrides.txt ${S}/doc/manual/p11-kit-sections.txt ${B}/doc/manual/
33}
34
15FILES_${PN} += " \ 35FILES_${PN} += " \
16 ${libdir}/p11-kit-proxy.so \ 36 ${libdir}/p11-kit-proxy.so \
17 ${libdir}/pkcs11/*.so \ 37 ${libdir}/pkcs11/*.so \