Andrew Geissler | c87764f | 2020-06-27 00:16:32 -0500 | [diff] [blame] | 1 | SUMMARY = "Library for reading and writing Jcat files" |
| 2 | LICENSE = "LGPLv2.1" |
| 3 | LIC_FILES_CHKSUM = "file://LICENSE;md5=1803fa9c2c3ce8cb06b4861d75310742" |
| 4 | |
| 5 | DEPENDS = "\ |
| 6 | glib-2.0 \ |
| 7 | json-glib \ |
| 8 | " |
| 9 | |
| 10 | SRC_URI = "\ |
| 11 | git://github.com/hughsie/libjcat.git \ |
| 12 | file://run-ptest \ |
| 13 | " |
Andrew Geissler | bffdb3e | 2020-08-21 16:13:29 -0500 | [diff] [blame] | 14 | SRCREV = "3c120a9132a36b100366cfe3d658ae31e6f4b7e9" |
Andrew Geissler | c87764f | 2020-06-27 00:16:32 -0500 | [diff] [blame] | 15 | S = "${WORKDIR}/git" |
| 16 | |
| 17 | inherit gobject-introspection gtk-doc meson ptest-gnome vala |
| 18 | |
| 19 | PACKAGECONFIG ??= "\ |
| 20 | gpg \ |
| 21 | pkcs7 \ |
| 22 | ${@bb.utils.contains('PTEST_ENABLED', '1', 'tests', '', d)} \ |
| 23 | " |
| 24 | PACKAGECONFIG[gpg] = "-Dgpg=true,-Dgpg=false,gpgme" |
| 25 | PACKAGECONFIG[pkcs7] = "-Dpkcs7=true,-Dpkcs7=false,gnutls gnutls-native" |
| 26 | PACKAGECONFIG[tests] = "-Dtests=true,-Dtests=false" |
| 27 | |
| 28 | # manpage generation is broken because help2man needs to run the target binary on the host... |
| 29 | EXTRA_OEMESON = "-Dman=false" |
| 30 | GTKDOC_MESON_OPTION = "gtkdoc" |
| 31 | |
| 32 | RDEPENDS_${PN}_class-target = "\ |
| 33 | ${@bb.utils.contains('PACKAGECONFIG', 'gpg', 'gnupg', '', d)} \ |
| 34 | " |