diff options
| author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-03-15 14:11:31 +0000 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-03-17 22:38:32 +0000 |
| commit | 647a2d439773e2d5b2d23c7d318b353382642b55 (patch) | |
| tree | cd12fd4b7fc82e30944d6c155e3a9b1a5426f415 /meta/recipes-support/libical/libical_3.0.20.bb | |
| parent | 2f02b0e4bb95f8f95daab3f5cc1fa0e9952448c8 (diff) | |
| download | poky-647a2d439773e2d5b2d23c7d318b353382642b55.tar.gz | |
libical: upgrade 3.0.19 -> 3.0.20
(From OE-Core rev: 88c6ffab00f9da9075c7cafe619d5e7d823f9d77)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/libical/libical_3.0.20.bb')
| -rw-r--r-- | meta/recipes-support/libical/libical_3.0.20.bb | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/meta/recipes-support/libical/libical_3.0.20.bb b/meta/recipes-support/libical/libical_3.0.20.bb new file mode 100644 index 0000000000..d62c88e347 --- /dev/null +++ b/meta/recipes-support/libical/libical_3.0.20.bb | |||
| @@ -0,0 +1,55 @@ | |||
| 1 | SUMMARY = "iCal and scheduling (RFC 2445, 2446, 2447) library" | ||
| 2 | DESCRIPTION = "An Open Source implementation of the iCalendar protocols \ | ||
| 3 | and protocol data units. The iCalendar specification describes how \ | ||
| 4 | calendar clients can communicate with calendar servers so users can store \ | ||
| 5 | their calendar data and arrange meetings with other users. " | ||
| 6 | HOMEPAGE = "https://github.com/libical/libical" | ||
| 7 | BUGTRACKER = "https://github.com/libical/libical/issues" | ||
| 8 | LICENSE = "LGPL-2.1-only | MPL-2.0" | ||
| 9 | LIC_FILES_CHKSUM = "file://LICENSE;md5=1910a2a76ddf6a9ba369182494170d87 \ | ||
| 10 | file://LICENSE.LGPL21.txt;md5=8f690bb538f4b301d931374a6eb864d0 \ | ||
| 11 | file://LICENSE.MPL2.txt;md5=f75d2927d3c1ed2414ef72048f5ad640 \ | ||
| 12 | " | ||
| 13 | SECTION = "libs" | ||
| 14 | |||
| 15 | SRC_URI = "${GITHUB_BASE_URI}/download/v${PV}/${BP}.tar.gz \ | ||
| 16 | file://0001-cmake-Do-not-export-CC-into-gir-compiler.patch \ | ||
| 17 | " | ||
| 18 | SRC_URI[sha256sum] = "e73de92f5a6ce84c1b00306446b290a2b08cdf0a80988eca0a2c9d5c3510b4c2" | ||
| 19 | |||
| 20 | inherit cmake pkgconfig gobject-introspection vala github-releases | ||
| 21 | |||
| 22 | DEPENDS += "libical-native" | ||
| 23 | |||
| 24 | PACKAGECONFIG ??= "icu glib" | ||
| 25 | PACKAGECONFIG[bdb] = ",-DCMAKE_DISABLE_FIND_PACKAGE_BDB=True,db" | ||
| 26 | PACKAGECONFIG[glib] = "-DICAL_GLIB=True,-DICAL_GLIB=False,glib-2.0-native libxml2-native glib-2.0 libxml2" | ||
| 27 | # ICU is used for RSCALE (RFC7529) support | ||
| 28 | PACKAGECONFIG[icu] = ",-DCMAKE_DISABLE_FIND_PACKAGE_ICU=True,icu" | ||
| 29 | |||
| 30 | # No need to use perl-native, the host perl is sufficient. | ||
| 31 | EXTRA_OECMAKE += "-DPERL_EXECUTABLE=${HOSTTOOLS_DIR}/perl" | ||
| 32 | # Disable the test suite as we can't install it | ||
| 33 | EXTRA_OECMAKE += "-DLIBICAL_BUILD_TESTING=false" | ||
| 34 | # doc build fails with linker error (??) for libical-glib so disable it | ||
| 35 | EXTRA_OECMAKE += "-DICAL_BUILD_DOCS=false" | ||
| 36 | # gobject-introspection | ||
| 37 | EXTRA_OECMAKE:append:class-target = " -DGObjectIntrospection_COMPILER=${STAGING_BINDIR}/g-ir-compiler-wrapper" | ||
| 38 | EXTRA_OECMAKE:append:class-target = " -DGObjectIntrospection_SCANNER=${STAGING_BINDIR}/g-ir-scanner-wrapper" | ||
| 39 | EXTRA_OECMAKE += "-DVAPIGEN=${STAGING_BINDIR_NATIVE}/vapigen" | ||
| 40 | EXTRA_OECMAKE += "${@bb.utils.contains('GI_DATA_ENABLED', 'True', '-DGOBJECT_INTROSPECTION=ON -DICAL_GLIB_VAPI=ON', '-DGOBJECT_INTROSPECTION=OFF -DICAL_GLIB_VAPI=OFF', d)}" | ||
| 41 | EXTRA_OECMAKE:append:class-native = " -DGOBJECT_INTROSPECTION=OFF -DICAL_GLIB_VAPI=OFF" | ||
| 42 | |||
| 43 | # Tell the cross-libical where the tool it needs to build is | ||
| 44 | EXTRA_OECMAKE:append:class-target = " -DIMPORT_ICAL_GLIB_SRC_GENERATOR=${STAGING_LIBDIR_NATIVE}/cmake/LibIcal/IcalGlibSrcGenerator.cmake" | ||
| 45 | |||
| 46 | do_install:append () { | ||
| 47 | # Remove build host references (https://github.com/libical/libical/issues/532) | ||
| 48 | sed -i \ | ||
| 49 | -e 's,${STAGING_LIBDIR},${libdir},g' \ | ||
| 50 | -e 's,${STAGING_INCDIR},${includedir},g' \ | ||
| 51 | ${D}${libdir}/cmake/LibIcal/LibIcal*.cmake \ | ||
| 52 | ${D}${libdir}/cmake/LibIcal/Ical*.cmake | ||
| 53 | } | ||
| 54 | |||
| 55 | BBCLASSEXTEND = "native" | ||
