diff options
Diffstat (limited to 'meta/recipes-gnome/json-glib/json-glib_1.2.8.bb')
-rw-r--r-- | meta/recipes-gnome/json-glib/json-glib_1.2.8.bb | 24 |
1 files changed, 22 insertions, 2 deletions
diff --git a/meta/recipes-gnome/json-glib/json-glib_1.2.8.bb b/meta/recipes-gnome/json-glib/json-glib_1.2.8.bb index 2c5d3817ba..88653efec7 100644 --- a/meta/recipes-gnome/json-glib/json-glib_1.2.8.bb +++ b/meta/recipes-gnome/json-glib/json-glib_1.2.8.bb | |||
@@ -10,11 +10,31 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=7fbc338309ac38fefcd64b04bb903e34" | |||
10 | 10 | ||
11 | DEPENDS = "glib-2.0" | 11 | DEPENDS = "glib-2.0" |
12 | 12 | ||
13 | SRC_URI_append = " \ | ||
14 | file://0001-Do-not-disable-gobject-introspection-when-cross-comp.patch \ | ||
15 | " | ||
13 | SRC_URI[archive.md5sum] = "ff31e7d0594df44318e12facda3d086e" | 16 | SRC_URI[archive.md5sum] = "ff31e7d0594df44318e12facda3d086e" |
14 | SRC_URI[archive.sha256sum] = "fd55a9037d39e7a10f0db64309f5f0265fa32ec962bf85066087b83a2807f40a" | 17 | SRC_URI[archive.sha256sum] = "fd55a9037d39e7a10f0db64309f5f0265fa32ec962bf85066087b83a2807f40a" |
15 | 18 | ||
16 | inherit gnomebase gettext lib_package gobject-introspection gtk-doc manpages | 19 | GNOMEBASEBUILDCLASS = "meson" |
20 | inherit gnomebase lib_package gobject-introspection gtk-doc manpages | ||
17 | 21 | ||
18 | PACKAGECONFIG[manpages] = "--enable-man --with-xml-catalog=${STAGING_ETCDIR_NATIVE}/xml/catalog.xml, --disable-man, libxslt-native xmlto-native" | 22 | GTKDOC_ENABLE_FLAG = "-Denable-gtk-doc=true" |
23 | GTKDOC_DISABLE_FLAG = "-Denable-gtk-doc=false" | ||
24 | |||
25 | GI_ENABLE_FLAG = "-Ddisable_introspection=false" | ||
26 | GI_DISABLE_FLAG = "-Ddisable_introspection=true" | ||
27 | |||
28 | EXTRA_OEMESON_append_class-target = " ${@bb.utils.contains('GTKDOC_ENABLED', 'True', '${GTKDOC_ENABLE_FLAG}', \ | ||
29 | '${GTKDOC_DISABLE_FLAG}', d)} " | ||
30 | EXTRA_OEMESON_append_class-target = " ${@bb.utils.contains('GI_DATA_ENABLED', 'True', '${GI_ENABLE_FLAG}', \ | ||
31 | '${GI_DISABLE_FLAG}', d)} " | ||
32 | |||
33 | PACKAGECONFIG[manpages] = "-Denable-man=true, -Denable-man=false, libxslt-native xmlto-native" | ||
34 | |||
35 | do_install_append() { | ||
36 | # FIXME: these need to be provided via ptest | ||
37 | rm -rf ${D}${datadir}/installed-tests ${D}${libexecdir} | ||
38 | } | ||
19 | 39 | ||
20 | BBCLASSEXTEND = "native nativesdk" | 40 | BBCLASSEXTEND = "native nativesdk" |