summaryrefslogtreecommitdiffstats
path: root/meta/classes/gobject-introspection.bbclass
diff options
context:
space:
mode:
authorAndre McCurdy <armccurdy@gmail.com>2016-03-17 10:19:27 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-03-20 23:12:29 +0000
commitac347da7595936d91801ff7d1ad7da20fd676884 (patch)
tree9b60b8786ff10fe9a6661f3cf22242f65e6cb8a6 /meta/classes/gobject-introspection.bbclass
parentae63b8843eff399bfba3272b8612c972b6d12b7e (diff)
downloadpoky-ac347da7595936d91801ff7d1ad7da20fd676884.tar.gz
gobject-introspection.bbclass: wrap comments at 80 columns
Whitespace and comment updates only, no functional changes. (From OE-Core rev: 738393ea98baec364d3da117a1307a39d348b660) Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/gobject-introspection.bbclass')
-rw-r--r--meta/classes/gobject-introspection.bbclass26
1 files changed, 12 insertions, 14 deletions
diff --git a/meta/classes/gobject-introspection.bbclass b/meta/classes/gobject-introspection.bbclass
index ef5162974f..d8b8b3ed27 100644
--- a/meta/classes/gobject-introspection.bbclass
+++ b/meta/classes/gobject-introspection.bbclass
@@ -1,22 +1,22 @@
1# Inherit this class in recipes to enable building their introspection files 1# Inherit this class in recipes to enable building their introspection files
2 2
3# This allows disabling introspection support in recipes 3# This allows disabling introspection support (and therefore avoiding the use
4# (and therefore avoiding the use of qemu) 4# of qemu) in recipes if gobject-introspection-data is omitted from
5# if gobject-introspection-data is omitted from DISTRO_FEATURES and MACHINE_FEATURES. 5# DISTRO_FEATURES or MACHINE_FEATURES.
6EXTRA_OECONF_prepend = "${@bb.utils.contains('COMBINED_FEATURES', 'gobject-introspection-data', '--enable-introspection', '--disable-introspection', d)} " 6EXTRA_OECONF_prepend = "${@bb.utils.contains('COMBINED_FEATURES', 'gobject-introspection-data', '--enable-introspection', '--disable-introspection', d)} "
7 7
8UNKNOWN_CONFIGURE_WHITELIST_append = " --enable-introspection --disable-introspection" 8UNKNOWN_CONFIGURE_WHITELIST_append = " --enable-introspection --disable-introspection"
9 9
10# Generating introspection data depends on a combination of native and target introspection tools, 10# Generating introspection data depends on a combination of native and target
11# and qemu to run the target tools. 11# introspection tools, and qemu to run the target tools.
12DEPENDS_append = " gobject-introspection gobject-introspection-native qemu-native" 12DEPENDS_append = " gobject-introspection gobject-introspection-native qemu-native"
13 13
14# This is necessary for python scripts to succeed - distutils 14# This is necessary for python scripts to succeed - distutils fails if these
15# failes if these are not set 15# are not set
16export BUILD_SYS 16export BUILD_SYS
17export HOST_SYS 17export HOST_SYS
18export STAGING_LIBDIR
19export STAGING_INCDIR 18export STAGING_INCDIR
19export STAGING_LIBDIR
20 20
21# This is used by introspection tools to find .gir includes 21# This is used by introspection tools to find .gir includes
22export XDG_DATA_DIRS = "${STAGING_DATADIR}" 22export XDG_DATA_DIRS = "${STAGING_DATADIR}"
@@ -28,12 +28,10 @@ do_configure_prepend_class-target () {
28 cp ${STAGING_DIR_TARGET}/${datadir}/aclocal/introspection.m4 ${S}/m4 28 cp ${STAGING_DIR_TARGET}/${datadir}/aclocal/introspection.m4 ${S}/m4
29} 29}
30 30
31 31# .typelib files are needed at runtime and so they go to the main package (so
32# .typelib files are needed at runtime and so they go to the main package 32# they'll be together with libraries they support).
33# (so they'll be together with libraries they support).
34FILES_${PN}_append = " ${libdir}/girepository-*/*.typelib" 33FILES_${PN}_append = " ${libdir}/girepository-*/*.typelib"
35 34
36# .gir files go to dev package, as they're needed for developing (but not for running) 35# .gir files go to dev package, as they're needed for developing (but not for
37# things that depends on introspection. 36# running) things that depends on introspection.
38FILES_${PN}-dev_append = " ${datadir}/gir-*/*.gir" 37FILES_${PN}-dev_append = " ${datadir}/gir-*/*.gir"
39