Signed-off-by: Markus Volk <[email protected]>
---
 meta/recipes-support/libical/libical_3.0.12.bb | 18 +++++++++++++++++-
 1 file changed, 17 insertions(+), 1 deletion(-)

diff --git a/meta/recipes-support/libical/libical_3.0.12.bb 
b/meta/recipes-support/libical/libical_3.0.12.bb
index b2b2211b9b..fef569ea64 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
 SRC_URI[sha256sum] = 
"35095a4cc1a061a3de0f332c2dc728226cf127fa0baa818e9f8856cee6d35830"
 UPSTREAM_CHECK_URI = "https://github.com/libical/libical/releases";
 
-inherit cmake pkgconfig
+inherit cmake pkgconfig gobject-introspection vala
 
 DEPENDS += "libical-native"
 
@@ -32,10 +32,26 @@ EXTRA_OECMAKE += "-DPERL_EXECUTABLE=${HOSTTOOLS_DIR}/perl"
 EXTRA_OECMAKE += "-DLIBICAL_BUILD_TESTING=false"
 # doc build fails with linker error (??) for libical-glib so disable it
 EXTRA_OECMAKE += "-DICAL_BUILD_DOCS=false"
+EXTRA_OECMAKE += "-DGOBJECT_INTROSPECTION=ON"
+EXTRA_OECMAKE += "-DICAL_GLIB_VAPI=ON"
 
 # Tell the cross-libical where the tool it needs to build is
 EXTRA_OECMAKE:append:class-target = " 
-DIMPORT_ICAL_GLIB_SRC_GENERATOR=${STAGING_LIBDIR_NATIVE}/cmake/LibIcal/IcalGlibSrcGenerator.cmake"
 
+do_configure:append () {
+    # fix abs path for g-ir-scanner-wrapper
+    sed  -i ${B}/build.ninja \
+        -e 's: ${bindir}/g-ir-scanner-wrapper: 
${STAGING_BINDIR}/g-ir-scanner-wrapper:g'
+
+    # fix abs path for g-ir-compiler-wrapper
+    sed  -i ${B}/build.ninja \
+        -e 's: ${bindir}/g-ir-compiler-wrapper: 
${STAGING_BINDIR}/g-ir-compiler-wrapper:g'
+
+    # fix abs path for vapigen
+    sed  -i ${B}/build.ninja \
+        -e 's: ${STAGING_BINDIR}/vapigen: ${STAGING_BINDIR_NATIVE}/vapigen:g'
+}
+
 do_install:append () {
     # Remove build host references 
(https://github.com/libical/libical/issues/532)
     sed -i \
-- 
2.25.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#160805): 
https://lists.openembedded.org/g/openembedded-core/message/160805
Mute This Topic: https://lists.openembedded.org/mt/88572597/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to