diff options
Diffstat (limited to 'meta-openembedded/meta-oe/recipes-gnome/libjcat')
-rw-r--r-- | meta-openembedded/meta-oe/recipes-gnome/libjcat/libjcat/run-ptest | 3 | ||||
-rw-r--r-- | meta-openembedded/meta-oe/recipes-gnome/libjcat/libjcat_0.1.3.bb | 34 |
2 files changed, 37 insertions, 0 deletions
diff --git a/meta-openembedded/meta-oe/recipes-gnome/libjcat/libjcat/run-ptest b/meta-openembedded/meta-oe/recipes-gnome/libjcat/libjcat/run-ptest new file mode 100644 index 000000000..14980a7d0 --- /dev/null +++ b/meta-openembedded/meta-oe/recipes-gnome/libjcat/libjcat/run-ptest @@ -0,0 +1,3 @@ +#! /bin/sh + +gnome-desktop-testing-runner libjcat diff --git a/meta-openembedded/meta-oe/recipes-gnome/libjcat/libjcat_0.1.3.bb b/meta-openembedded/meta-oe/recipes-gnome/libjcat/libjcat_0.1.3.bb new file mode 100644 index 000000000..7ef2e5305 --- /dev/null +++ b/meta-openembedded/meta-oe/recipes-gnome/libjcat/libjcat_0.1.3.bb @@ -0,0 +1,34 @@ +SUMMARY = "Library for reading and writing Jcat files" +LICENSE = "LGPLv2.1" +LIC_FILES_CHKSUM = "file://LICENSE;md5=1803fa9c2c3ce8cb06b4861d75310742" + +DEPENDS = "\ + glib-2.0 \ + json-glib \ +" + +SRC_URI = "\ + git://github.com/hughsie/libjcat.git \ + file://run-ptest \ +" +SRCREV = "3c120a9132a36b100366cfe3d658ae31e6f4b7e9" +S = "${WORKDIR}/git" + +inherit gobject-introspection gtk-doc meson ptest-gnome vala + +PACKAGECONFIG ??= "\ + gpg \ + pkcs7 \ + ${@bb.utils.contains('PTEST_ENABLED', '1', 'tests', '', d)} \ +" +PACKAGECONFIG[gpg] = "-Dgpg=true,-Dgpg=false,gpgme" +PACKAGECONFIG[pkcs7] = "-Dpkcs7=true,-Dpkcs7=false,gnutls gnutls-native" +PACKAGECONFIG[tests] = "-Dtests=true,-Dtests=false" + +# manpage generation is broken because help2man needs to run the target binary on the host... +EXTRA_OEMESON = "-Dman=false" +GTKDOC_MESON_OPTION = "gtkdoc" + +RDEPENDS_${PN}_class-target = "\ + ${@bb.utils.contains('PACKAGECONFIG', 'gpg', 'gnupg', '', d)} \ +" |