xref: /OK3568_Linux_fs/yocto/poky/meta/recipes-gnome/json-glib/json-glib_1.6.6.bb (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunSUMMARY = "JSON-GLib implements a full JSON parser using GLib and GObject"
2*4882a593SmuzhiyunDESCRIPTION = "Use JSON-GLib it is possible to parse and generate valid JSON\
3*4882a593Smuzhiyun data structures, using a DOM-like API. JSON-GLib also offers GObject \
4*4882a593Smuzhiyunintegration, providing the ability to serialize and deserialize GObject \
5*4882a593Smuzhiyuninstances to and from JSON data types."
6*4882a593SmuzhiyunHOMEPAGE = "https://wiki.gnome.org/Projects/JsonGlib"
7*4882a593SmuzhiyunBUGTRACKER = "https://gitlab.gnome.org/GNOME/json-glib/issues"
8*4882a593Smuzhiyun
9*4882a593SmuzhiyunLICENSE = "LGPL-2.1-only"
10*4882a593SmuzhiyunLIC_FILES_CHKSUM = "file://COPYING;md5=7fbc338309ac38fefcd64b04bb903e34"
11*4882a593Smuzhiyun
12*4882a593SmuzhiyunDEPENDS = "glib-2.0"
13*4882a593Smuzhiyun
14*4882a593SmuzhiyunGNOMEBASEBUILDCLASS = "meson"
15*4882a593Smuzhiyuninherit gnomebase lib_package gobject-introspection gi-docgen gettext ptest-gnome manpages upstream-version-is-even
16*4882a593SmuzhiyunGIR_MESON_ENABLE_FLAG = 'enabled'
17*4882a593SmuzhiyunGIR_MESON_DISABLE_FLAG = 'disabled'
18*4882a593SmuzhiyunGIDOCGEN_MESON_ENABLE_FLAG = 'enabled'
19*4882a593SmuzhiyunGIDOCGEN_MESON_DISABLE_FLAG = 'disabled'
20*4882a593Smuzhiyun
21*4882a593SmuzhiyunSRC_URI += " file://run-ptest"
22*4882a593SmuzhiyunSRC_URI[archive.sha256sum] = "96ec98be7a91f6dde33636720e3da2ff6ecbb90e76ccaa49497f31a6855a490e"
23*4882a593Smuzhiyun
24*4882a593SmuzhiyunPACKAGECONFIG ??= "${@bb.utils.contains('PTEST_ENABLED', '1', 'tests', '', d)}"
25*4882a593SmuzhiyunPACKAGECONFIG[manpages] = "-Dman=true,-Dman=false,libxslt-native xmlto-native"
26*4882a593SmuzhiyunPACKAGECONFIG[tests] = "-Dtests=true,-Dtests=false"
27*4882a593Smuzhiyun
28*4882a593SmuzhiyunBBCLASSEXTEND = "native nativesdk"
29*4882a593Smuzhiyun
30*4882a593Smuzhiyun# Currently it's not possible to disable gettext in Meson, so we need to force
31*4882a593Smuzhiyun# this back on.
32*4882a593SmuzhiyunUSE_NLS:class-native = "yes"
33