blob: 977c3213f58955eb1b1b25cfcf5878f45a6331d0 [file] [log] [blame]
Andrew Geisslerc87764f2020-06-27 00:16:32 -05001SUMMARY = "Library for reading and writing Jcat files"
2LICENSE = "LGPLv2.1"
3LIC_FILES_CHKSUM = "file://LICENSE;md5=1803fa9c2c3ce8cb06b4861d75310742"
4
5DEPENDS = "\
6 glib-2.0 \
7 json-glib \
8"
9
10SRC_URI = "\
11 git://github.com/hughsie/libjcat.git \
12 file://run-ptest \
13"
William A. Kennington III49e95662021-09-15 16:19:36 -070014SRCREV = "356cd2faf2d2197156b0dae7984482cf781d64db"
Andrew Geisslerc87764f2020-06-27 00:16:32 -050015S = "${WORKDIR}/git"
16
17inherit gobject-introspection gtk-doc meson ptest-gnome vala
18
19PACKAGECONFIG ??= "\
20 gpg \
21 pkcs7 \
22 ${@bb.utils.contains('PTEST_ENABLED', '1', 'tests', '', d)} \
23"
24PACKAGECONFIG[gpg] = "-Dgpg=true,-Dgpg=false,gpgme"
25PACKAGECONFIG[pkcs7] = "-Dpkcs7=true,-Dpkcs7=false,gnutls gnutls-native"
26PACKAGECONFIG[tests] = "-Dtests=true,-Dtests=false"
27
28# manpage generation is broken because help2man needs to run the target binary on the host...
29EXTRA_OEMESON = "-Dman=false"
30GTKDOC_MESON_OPTION = "gtkdoc"
31
Patrick Williams213cb262021-08-07 19:21:33 -050032RDEPENDS:${PN}:class-target = "\
Andrew Geisslerc87764f2020-06-27 00:16:32 -050033 ${@bb.utils.contains('PACKAGECONFIG', 'gpg', 'gnupg', '', d)} \
34"