diff options
Diffstat (limited to 'meta/recipes-gnome/json-glib/json-glib_1.6.0.bb')
-rw-r--r-- | meta/recipes-gnome/json-glib/json-glib_1.6.0.bb | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/meta/recipes-gnome/json-glib/json-glib_1.6.0.bb b/meta/recipes-gnome/json-glib/json-glib_1.6.0.bb new file mode 100644 index 0000000000..3cb637f220 --- /dev/null +++ b/meta/recipes-gnome/json-glib/json-glib_1.6.0.bb | |||
@@ -0,0 +1,37 @@ | |||
1 | SUMMARY = "JSON-GLib implements a full JSON parser using GLib and GObject" | ||
2 | DESCRIPTION = "Use JSON-GLib it is possible to parse and generate valid JSON\ | ||
3 | data structures, using a DOM-like API. JSON-GLib also offers GObject \ | ||
4 | integration, providing the ability to serialize and deserialize GObject \ | ||
5 | instances to and from JSON data types." | ||
6 | HOMEPAGE = "https://wiki.gnome.org/Projects/JsonGlib" | ||
7 | BUGTRACKER = "https://gitlab.gnome.org/GNOME/json-glib/issues" | ||
8 | |||
9 | LICENSE = "LGPLv2.1" | ||
10 | LIC_FILES_CHKSUM = "file://COPYING;md5=7fbc338309ac38fefcd64b04bb903e34" | ||
11 | |||
12 | DEPENDS = "glib-2.0" | ||
13 | |||
14 | GNOMEBASEBUILDCLASS = "meson" | ||
15 | inherit gnomebase lib_package gobject-introspection gtk-doc gettext ptest-gnome manpages upstream-version-is-even | ||
16 | GIR_MESON_ENABLE_FLAG = 'enabled' | ||
17 | GIR_MESON_DISABLE_FLAG = 'disabled' | ||
18 | GTKDOC_MESON_OPTION = "gtk_doc" | ||
19 | GTKDOC_MESON_ENABLE_FLAG = 'enabled' | ||
20 | GTKDOC_MESON_DISABLE_FLAG = 'disabled' | ||
21 | |||
22 | SRC_URI += " file://run-ptest" | ||
23 | SRC_URI[archive.sha256sum] = "0d7c67602c4161ea7070fab6c5823afd9bd7f7bc955f652a50d3753b08494e73" | ||
24 | |||
25 | PACKAGECONFIG[manpages] = "-Dman=true,-Dman=false,libxslt-native xmlto-native" | ||
26 | |||
27 | do_install_append() { | ||
28 | if ! ${@bb.utils.contains('PTEST_ENABLED', '1', 'true', 'false', d)}; then | ||
29 | rm -rf ${D}${datadir}/installed-tests ${D}${libexecdir} | ||
30 | fi | ||
31 | } | ||
32 | |||
33 | BBCLASSEXTEND = "native nativesdk" | ||
34 | |||
35 | # Currently it's not possible to disable gettext in Meson, so we need to force | ||
36 | # this back on. | ||
37 | USE_NLS_class-native = "yes" | ||