mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-14 05:49:57 +00:00
0ef03e2f75
Update packageconfig option to use "gnutls" prefix[1] Also include tag in the SRC_URI [1]https://github.com/hughsie/libjcat/commit/d873545c23064620eb884b7e67ff1cda94b891fa PTEST passed: root@qemuarm64:~# ptest-runner libjcat START: ptest-runner 2026-05-21T21:45 BEGIN: /usr/lib/libjcat/ptest Running test: libjcat/libjcat.test ... ... # End of jcat tests PASS: libjcat/libjcat.test SUMMARY: total=1; passed=1; skipped=0; failed=0; user=5.1s; system=0.1s; maxrss=9688 DURATION: 6 END: /usr/lib/libjcat/ptest 2026-05-21T21:45 STOP: ptest-runner TOTAL: 1 FAIL: 0 Signed-off-by: Ankur Tyagi <ankur.tyagi85@gmail.com> Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
36 lines
1.0 KiB
BlitzBasic
36 lines
1.0 KiB
BlitzBasic
SUMMARY = "Library for reading and writing Jcat files"
|
|
LICENSE = "LGPL-2.1-only"
|
|
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;tag=${PV} \
|
|
file://run-ptest \
|
|
"
|
|
SRCREV = "4f4bf849c1728ba291f28cea86d140785368fdd0"
|
|
|
|
inherit gobject-introspection gtk-doc meson ptest-gnome vala lib_package
|
|
|
|
PACKAGECONFIG ??= "\
|
|
gpg \
|
|
gnutls_pkcs7 \
|
|
${@bb.utils.contains('PTEST_ENABLED', '1', 'tests', '', d)} \
|
|
"
|
|
PACKAGECONFIG[gpg] = "-Dgpg=true,-Dgpg=false,gpgme"
|
|
PACKAGECONFIG[gnutls_pkcs7] = "-Dgnutls_pkcs7=true,-Dgnutls_pkcs7=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)} \
|
|
"
|
|
|
|
INSANE_SKIP:${PN}-ptest += "buildpaths"
|