json-glib_1.10.8.bb 1.4 KB

1234567891011121314151617181920212223242526272829303132
  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. LICENSE = "LGPL-2.1-or-later"
  9. LIC_FILES_CHKSUM = "file://COPYING;md5=41890f71f740302b785c27661123bff5"
  10. DEPENDS = "glib-2.0 glib-2.0-native"
  11. inherit gnomebase lib_package gobject-introspection gi-docgen gettext ptest-gnome manpages upstream-version-is-even
  12. GIR_MESON_ENABLE_FLAG = 'enabled'
  13. GIR_MESON_DISABLE_FLAG = 'disabled'
  14. GIDOCGEN_MESON_OPTION = 'documentation'
  15. GIDOCGEN_MESON_ENABLE_FLAG = 'enabled'
  16. GIDOCGEN_MESON_DISABLE_FLAG = 'disabled'
  17. SRC_URI += " file://run-ptest"
  18. SRC_URI[archive.sha256sum] = "55c5c141a564245b8f8fbe7698663c87a45a7333c2a2c56f06f811ab73b212dd"
  19. PACKAGECONFIG ??= "${@bb.utils.contains('PTEST_ENABLED', '1', 'tests', '', d)}"
  20. PACKAGECONFIG[manpages] = "-Dman=true,-Dman=false,libxslt-native xmlto-native python3-docutils-native"
  21. PACKAGECONFIG[tests] = "-Dtests=true,-Dtests=false"
  22. BBCLASSEXTEND = "native nativesdk"
  23. # Currently it's not possible to disable gettext in Meson, so we need to force
  24. # this back on.
  25. USE_NLS:class-native = "yes"