blob: c539ecdbc63b30f519a1f838b601844f8ecfafeb [file] [log] [blame]
Andrew Geissler82c905d2020-04-13 13:39:40 -05001SUMMARY = "Provides a way to load and enumerate PKCS#11 modules"
2LICENSE = "BSD-3-Clause"
3LIC_FILES_CHKSUM = "file://COPYING;md5=02933887f609807fbb57aa4237d14a50"
4
Andrew Geisslerd1e89492021-02-12 15:35:20 -06005inherit meson gettext pkgconfig gtk-doc bash-completion manpages
Andrew Geissler82c905d2020-04-13 13:39:40 -05006
7DEPENDS = "libtasn1 libtasn1-native libffi"
8
9DEPENDS_append = "${@' glib-2.0' if d.getVar('GTKDOC_ENABLED') == 'True' else ''}"
10
Andrew Geisslerd1e89492021-02-12 15:35:20 -060011SRC_URI = "git://github.com/p11-glue/p11-kit;branch=0.23"
12SRCREV = "bd97afbfe28d5fbbde95ce36ff7a8834fc0291ee"
Andrew Geissler82c905d2020-04-13 13:39:40 -050013S = "${WORKDIR}/git"
14
15PACKAGECONFIG ??= ""
Andrew Geisslerd1e89492021-02-12 15:35:20 -060016PACKAGECONFIG[manpages] = "-Dman=true,-Dman=false,libxslt-native"
Andrew Geissler82c905d2020-04-13 13:39:40 -050017PACKAGECONFIG[trust-paths] = "-Dtrust_paths=/etc/ssl/certs/ca-certificates.crt,,,ca-certificates"
18
19GTKDOC_MESON_OPTION = 'gtk_doc'
20
21FILES_${PN} += " \
22 ${libdir}/p11-kit-proxy.so \
23 ${libdir}/pkcs11/*.so \
24 ${libdir}/pkcs11/*.la \
25 ${systemd_user_unitdir}/*"
26
27# PN contains p11-kit-proxy.so, a symlink to a loadable module
28INSANE_SKIP_${PN} = "dev-so"
29
30BBCLASSEXTEND = "nativesdk"