Files
buildroot/package/libical/libical.mk
Yegor Yefremov 410b9c87c2 package/libical: bump to version 4.0.7
libical 4 is a new major version that is neither source nor binary
compatible with 3.x, see the migration guide:
https://github.com/libical/libical/blob/v4.0.7/docs/MigrationGuide_to_4.md

The in-tree users have been checked:
- asterisk builds fine as is (including res_calendar_icalendar);
- bluez5_utils needs version 5.87 for libical 4 support, as
  libical.pc no longer links libicalvcal.

Build system changes:
- most CMake options got a LIBICAL_ prefix, the old names being
  deprecated: switch to the new names;
- SHARED_ONLY has been removed: use LIBICAL_STATIC=OFF instead;
- the new LIBICAL_JAVA_BINDINGS option defaults to ON and makes the
  configure step fail when JNI is not found: disable it.

The license files have moved to the LICENSES/ directory (the LGPL-2.1
text only changed in formatting). Also list the BSD-3-Clause license
of the new icaldate code and the MIT-like license of libicalvcal, which
was already used in 3.x but not declared.

Release notes:
https://github.com/libical/libical/blob/v4.0.7/CHANGELOG.md

Assisted-by: Claude:claude-opus-5-5
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Julien Olivain <ju.o@free.fr>
2026-10-23 21:13:57 +02:00

33 lines
1022 B
Makefile

################################################################################
#
# libical
#
################################################################################
LIBICAL_VERSION = 4.0.7
LIBICAL_SITE = https://github.com/libical/libical/releases/download/v$(LIBICAL_VERSION)
LIBICAL_INSTALL_STAGING = YES
LIBICAL_LICENSE = MPL-2.0 or LGPL-2.1, BSD-3-Clause (icaldate), MIT-like (libicalvcal)
LIBICAL_LICENSE_FILES = \
LICENSE.txt \
LICENSES/MPL-2.0.txt \
LICENSES/LGPL-2.1-only.txt \
LICENSES/BSD-3-Clause.txt \
LICENSES/LicenseRef-APPLEMIT.txt
LIBICAL_CPE_ID_VALID = YES
LIBICAL_DEPENDENCIES = host-perl
LIBICAL_CONF_OPTS = \
-DLIBICAL_BUILD_DOCS=OFF \
-DLIBICAL_BUILD_EXAMPLES=OFF \
-DLIBICAL_BUILD_TESTING=OFF \
-DLIBICAL_CXX_BINDINGS=OFF \
-DLIBICAL_GLIB=OFF \
-DLIBICAL_GOBJECT_INTROSPECTION=OFF \
-DLIBICAL_JAVA_BINDINGS=OFF \
-DLIBICAL_STATIC=OFF
# never build time zone info, always use system's tzinfo
LIBICAL_CONF_OPTS += -DLIBICAL_ENABLE_BUILTIN_TZDATA=OFF
$(eval $(cmake-package))