diff options
author | Markus Volk <f_l_k@t-online.de> | 2022-01-25 16:13:30 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-01-26 06:27:00 +0000 |
commit | 92bb6f72ceb39c99e5c93c0a99b70fb210233acb (patch) | |
tree | 62de9d558d2bf3c43ba95eeeca912d1b81bb042f /meta/recipes-support | |
parent | 0e1d27b69dddd5d5e7c9a901f85da3e592d6d376 (diff) | |
download | poky-92bb6f72ceb39c99e5c93c0a99b70fb210233acb.tar.gz |
libical: build gobject and vala introspection
(From OE-Core rev: 5e2fc4676b8944fc1d36d567bb2d1ff4cff32294)
Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support')
-rw-r--r-- | meta/recipes-support/libical/libical_3.0.12.bb | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/meta/recipes-support/libical/libical_3.0.12.bb b/meta/recipes-support/libical/libical_3.0.12.bb index b2b2211b9b..832d244672 100644 --- a/meta/recipes-support/libical/libical_3.0.12.bb +++ b/meta/recipes-support/libical/libical_3.0.12.bb | |||
@@ -16,7 +16,7 @@ SRC_URI = "https://github.com/${BPN}/${BPN}/releases/download/v${PV}/${BP}.tar.g | |||
16 | SRC_URI[sha256sum] = "35095a4cc1a061a3de0f332c2dc728226cf127fa0baa818e9f8856cee6d35830" | 16 | SRC_URI[sha256sum] = "35095a4cc1a061a3de0f332c2dc728226cf127fa0baa818e9f8856cee6d35830" |
17 | UPSTREAM_CHECK_URI = "https://github.com/libical/libical/releases" | 17 | UPSTREAM_CHECK_URI = "https://github.com/libical/libical/releases" |
18 | 18 | ||
19 | inherit cmake pkgconfig | 19 | inherit cmake pkgconfig gobject-introspection vala |
20 | 20 | ||
21 | DEPENDS += "libical-native" | 21 | DEPENDS += "libical-native" |
22 | 22 | ||
@@ -32,6 +32,11 @@ EXTRA_OECMAKE += "-DPERL_EXECUTABLE=${HOSTTOOLS_DIR}/perl" | |||
32 | EXTRA_OECMAKE += "-DLIBICAL_BUILD_TESTING=false" | 32 | EXTRA_OECMAKE += "-DLIBICAL_BUILD_TESTING=false" |
33 | # doc build fails with linker error (??) for libical-glib so disable it | 33 | # doc build fails with linker error (??) for libical-glib so disable it |
34 | EXTRA_OECMAKE += "-DICAL_BUILD_DOCS=false" | 34 | EXTRA_OECMAKE += "-DICAL_BUILD_DOCS=false" |
35 | # gobject-introspection | ||
36 | EXTRA_OECMAKE:append:class-target = " -DGObjectIntrospection_COMPILER=${STAGING_BINDIR}/g-ir-compiler-wrapper" | ||
37 | EXTRA_OECMAKE:append:class-target = " -DGObjectIntrospection_SCANNER=${STAGING_BINDIR}/g-ir-scanner-wrapper" | ||
38 | EXTRA_OECMAKE += "-DVAPIGEN=${STAGING_BINDIR_NATIVE}/vapigen" | ||
39 | EXTRA_OECMAKE += "${@bb.utils.contains('GI_DATA_ENABLED', 'True', '-DGOBJECT_INTROSPECTION=ON -DICAL_GLIB_VAPI=ON', '-DGOBJECT_INTROSPECTION=OFF', d)}" | ||
35 | 40 | ||
36 | # Tell the cross-libical where the tool it needs to build is | 41 | # Tell the cross-libical where the tool it needs to build is |
37 | EXTRA_OECMAKE:append:class-target = " -DIMPORT_ICAL_GLIB_SRC_GENERATOR=${STAGING_LIBDIR_NATIVE}/cmake/LibIcal/IcalGlibSrcGenerator.cmake" | 42 | EXTRA_OECMAKE:append:class-target = " -DIMPORT_ICAL_GLIB_SRC_GENERATOR=${STAGING_LIBDIR_NATIVE}/cmake/LibIcal/IcalGlibSrcGenerator.cmake" |