Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 1 | SUMMARY = "Provides a way to load and enumerate PKCS#11 modules" |
| 2 | LICENSE = "BSD-3-Clause" |
| 3 | LIC_FILES_CHKSUM = "file://COPYING;md5=02933887f609807fbb57aa4237d14a50" |
| 4 | |
Andrew Geissler | d1e8949 | 2021-02-12 15:35:20 -0600 | [diff] [blame^] | 5 | inherit meson gettext pkgconfig gtk-doc bash-completion manpages |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 6 | |
| 7 | DEPENDS = "libtasn1 libtasn1-native libffi" |
| 8 | |
| 9 | DEPENDS_append = "${@' glib-2.0' if d.getVar('GTKDOC_ENABLED') == 'True' else ''}" |
| 10 | |
Andrew Geissler | d1e8949 | 2021-02-12 15:35:20 -0600 | [diff] [blame^] | 11 | SRC_URI = "git://github.com/p11-glue/p11-kit;branch=0.23" |
| 12 | SRCREV = "bd97afbfe28d5fbbde95ce36ff7a8834fc0291ee" |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 13 | S = "${WORKDIR}/git" |
| 14 | |
| 15 | PACKAGECONFIG ??= "" |
Andrew Geissler | d1e8949 | 2021-02-12 15:35:20 -0600 | [diff] [blame^] | 16 | PACKAGECONFIG[manpages] = "-Dman=true,-Dman=false,libxslt-native" |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 17 | PACKAGECONFIG[trust-paths] = "-Dtrust_paths=/etc/ssl/certs/ca-certificates.crt,,,ca-certificates" |
| 18 | |
| 19 | GTKDOC_MESON_OPTION = 'gtk_doc' |
| 20 | |
| 21 | FILES_${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 |
| 28 | INSANE_SKIP_${PN} = "dev-so" |
| 29 | |
| 30 | BBCLASSEXTEND = "nativesdk" |