diff options
Diffstat (limited to 'meta/recipes-support/libical')
-rw-r--r-- | meta/recipes-support/libical/libical_3.0.12.bb (renamed from meta/recipes-support/libical/libical_3.0.11.bb) | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/meta/recipes-support/libical/libical_3.0.11.bb b/meta/recipes-support/libical/libical_3.0.12.bb index b16081e9e2..b2b2211b9b 100644 --- a/meta/recipes-support/libical/libical_3.0.11.bb +++ b/meta/recipes-support/libical/libical_3.0.12.bb | |||
@@ -12,14 +12,13 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=1910a2a76ddf6a9ba369182494170d87 \ | |||
12 | " | 12 | " |
13 | SECTION = "libs" | 13 | SECTION = "libs" |
14 | 14 | ||
15 | SRC_URI = "https://github.com/${BPN}/${BPN}/releases/download/v${PV}/${BP}.tar.gz \ | 15 | SRC_URI = "https://github.com/${BPN}/${BPN}/releases/download/v${PV}/${BP}.tar.gz" |
16 | " | 16 | SRC_URI[sha256sum] = "35095a4cc1a061a3de0f332c2dc728226cf127fa0baa818e9f8856cee6d35830" |
17 | SRC_URI[sha256sum] = "1e6c5e10c5a48f7a40c68958055f0e2759d9ab3563aca17273fe35a5df7dbbf1" | ||
18 | UPSTREAM_CHECK_URI = "https://github.com/libical/libical/releases" | 17 | UPSTREAM_CHECK_URI = "https://github.com/libical/libical/releases" |
19 | 18 | ||
20 | inherit cmake pkgconfig | 19 | inherit cmake pkgconfig |
21 | 20 | ||
22 | DEPENDS:append:class-target = " libical-native" | 21 | DEPENDS += "libical-native" |
23 | 22 | ||
24 | PACKAGECONFIG ??= "icu glib" | 23 | PACKAGECONFIG ??= "icu glib" |
25 | PACKAGECONFIG[bdb] = ",-DCMAKE_DISABLE_FIND_PACKAGE_BDB=True,db" | 24 | PACKAGECONFIG[bdb] = ",-DCMAKE_DISABLE_FIND_PACKAGE_BDB=True,db" |
@@ -29,13 +28,16 @@ PACKAGECONFIG[icu] = ",-DCMAKE_DISABLE_FIND_PACKAGE_ICU=True,icu" | |||
29 | 28 | ||
30 | # No need to use perl-native, the host perl is sufficient. | 29 | # No need to use perl-native, the host perl is sufficient. |
31 | EXTRA_OECMAKE += "-DPERL_EXECUTABLE=${HOSTTOOLS_DIR}/perl" | 30 | EXTRA_OECMAKE += "-DPERL_EXECUTABLE=${HOSTTOOLS_DIR}/perl" |
31 | # Disable the test suite as we can't install it | ||
32 | EXTRA_OECMAKE += "-DLIBICAL_BUILD_TESTING=false" | ||
32 | # 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 |
33 | EXTRA_OECMAKE += "-DICAL_BUILD_DOCS=false" | 34 | EXTRA_OECMAKE += "-DICAL_BUILD_DOCS=false" |
34 | 35 | ||
36 | # Tell the cross-libical where the tool it needs to build is | ||
35 | EXTRA_OECMAKE:append:class-target = " -DIMPORT_ICAL_GLIB_SRC_GENERATOR=${STAGING_LIBDIR_NATIVE}/cmake/LibIcal/IcalGlibSrcGenerator.cmake" | 37 | EXTRA_OECMAKE:append:class-target = " -DIMPORT_ICAL_GLIB_SRC_GENERATOR=${STAGING_LIBDIR_NATIVE}/cmake/LibIcal/IcalGlibSrcGenerator.cmake" |
36 | 38 | ||
37 | do_install:append () { | 39 | do_install:append () { |
38 | # Remove build host references | 40 | # Remove build host references (https://github.com/libical/libical/issues/532) |
39 | sed -i \ | 41 | sed -i \ |
40 | -e 's,${STAGING_LIBDIR},${libdir},g' \ | 42 | -e 's,${STAGING_LIBDIR},${libdir},g' \ |
41 | -e 's,${STAGING_INCDIR},${includedir},g' \ | 43 | -e 's,${STAGING_INCDIR},${includedir},g' \ |