Files
meta-openembedded/meta-oe/recipes-gnome/libjcat/libjcat_0.1.9.bb
Richard Hughes 1caa1988af libjcat: Update to 0.1.9
New Features:
 - Set which backends are supported in the pkgconfig file
 - Use -Dcli=false to reduce the install size

Bugfixes:
 - Return an error if we try to self-sign no bytes of data
 - Show a more accurate output when not all engines are enabled

Also, inherit lib_package so the binary isn't installed by default.

Signed-off-by: Richard Hughes <richard@hughsie.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-12-14 08:13:53 -08:00

35 lines
1001 B
BlitzBasic

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;branch=main;protocol=https \
file://run-ptest \
"
SRCREV = "d4833949f8f1997b83f35a03127b9e12c104a7c8"
S = "${WORKDIR}/git"
inherit gobject-introspection gtk-doc meson ptest-gnome vala lib_package
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)} \
"