diff options
author | Ross Burton <ross.burton@intel.com> | 2019-09-17 13:36:52 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-09-18 12:09:02 +0100 |
commit | b1cb787c742134cbb0646cd6310ae338940af7f0 (patch) | |
tree | 804d4b9d2da29355d78188b86e6cfde34ac5e378 /meta/recipes-support/libical/libical_3.0.6.bb | |
parent | cf37ca58c2dd1d24c1c0e4d716d6e68314fe3acc (diff) | |
download | poky-b1cb787c742134cbb0646cd6310ae338940af7f0.tar.gz |
libical: upgrade to 3.0.6
(From OE-Core rev: 358b5f94a3d3faf7713530d0159e6e999175b2e0)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/libical/libical_3.0.6.bb')
-rw-r--r-- | meta/recipes-support/libical/libical_3.0.6.bb | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/meta/recipes-support/libical/libical_3.0.6.bb b/meta/recipes-support/libical/libical_3.0.6.bb new file mode 100644 index 0000000000..032f3655e9 --- /dev/null +++ b/meta/recipes-support/libical/libical_3.0.6.bb | |||
@@ -0,0 +1,35 @@ | |||
1 | SUMMARY = "iCal and scheduling (RFC 2445, 2446, 2447) library" | ||
2 | HOMEPAGE = "https://github.com/libical/libical" | ||
3 | BUGTRACKER = "https://github.com/libical/libical/issues" | ||
4 | LICENSE = "LGPLv2.1 | MPL-2.0" | ||
5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=1910a2a76ddf6a9ba369182494170d87 \ | ||
6 | file://LICENSE.LGPL21.txt;md5=933adb561f159e7c3da079536f0ed871 \ | ||
7 | file://LICENSE.MPL2.txt;md5=9741c346eef56131163e13b9db1241b3" | ||
8 | SECTION = "libs" | ||
9 | |||
10 | SRC_URI = "https://github.com/${BPN}/${BPN}/releases/download/v${PV}/${BP}.tar.gz" | ||
11 | |||
12 | SRC_URI[md5sum] = "463a59244c6767b8e67b29379405e297" | ||
13 | SRC_URI[sha256sum] = "5c8a21c2b732ece4a33e5c862970b4f35a8548bbcda50de5695f6fc211ac4d97" | ||
14 | UPSTREAM_CHECK_URI = "https://github.com/libical/libical/releases" | ||
15 | |||
16 | inherit cmake pkgconfig | ||
17 | |||
18 | PACKAGECONFIG ??= "icu" | ||
19 | PACKAGECONFIG[bdb] = ",-DCMAKE_DISABLE_FIND_PACKAGE_BDB=True,db" | ||
20 | # ICU is used for RSCALE (RFC7529) support | ||
21 | PACKAGECONFIG[icu] = ",-DCMAKE_DISABLE_FIND_PACKAGE_ICU=True,icu" | ||
22 | |||
23 | # No need to use perl-native, the host perl is sufficient. | ||
24 | EXTRA_OECMAKE += "-DPERL_EXECUTABLE=${HOSTTOOLS_DIR}/perl" | ||
25 | |||
26 | # The glib library can't be cross-compiled, disable for now. | ||
27 | # https://github.com/libical/libical/issues/394 | ||
28 | EXTRA_OECMAKE += "-DICAL_GLIB=false" | ||
29 | |||
30 | do_install_append_class-target () { | ||
31 | # Remove build host references | ||
32 | sed -i \ | ||
33 | -e 's,${STAGING_LIBDIR},${libdir},g' \ | ||
34 | ${D}${libdir}/cmake/LibIcal/LibIcal*.cmake | ||
35 | } | ||