package/libgit2: bump to 1.7.0

This version makes it explicit that it uses libxdiff, a library which is
not maintained upstream since 2008.  It now have numerous forks, none of
them sticking out.  For now, use the one which is bundled in the libgit2
sources.

Signed-off-by: Nicolas Cavallari <nicolas.cavallari@green-communications.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
next
Nicolas Cavallari 2023-08-09 11:23:16 +02:00 committed by Thomas Petazzoni
parent 7da59a69b1
commit 527e538a82
2 changed files with 5 additions and 3 deletions

View File

@ -1,3 +1,3 @@
# Locally calculated
sha256 d25866a4ee275a64f65be2d9a663680a5cf1ed87b7ee4c534997562c828e500d libgit2-1.6.4.tar.gz
sha256 d9d0f84a86bf98b73e68997f5c1543cc5067d0ca9c7a5acaba3e8d117ecefef3 libgit2-1.7.0.tar.gz
sha256 6f3c2cd59b057e366c1acc073b038135c52d77892bb33bd4d931c5369d3f062b COPYING

View File

@ -4,7 +4,7 @@
#
################################################################################
LIBGIT2_VERSION = 1.6.4
LIBGIT2_VERSION = 1.7.0
LIBGIT2_SITE = $(call github,libgit2,libgit2,v$(LIBGIT2_VERSION))
LIBGIT2_LICENSE = \
GPL-2.0 with linking exception, \
@ -12,7 +12,8 @@ LIBGIT2_LICENSE = \
BSD-3-Clause (sha256), \
wildmatch license (wildmatch), \
CC0-1.0 (xoroshiro256), \
BSD-2-Clause (basename_r)
BSD-2-Clause (basename_r), \
LGPL-2.1+ (libxdiff)
LIBGIT2_LICENSE_FILES = COPYING
LIBGIT2_CPE_ID_VENDOR = libgit2_project
LIBGIT2_INSTALL_STAGING = YES
@ -23,6 +24,7 @@ LIBGIT2_CONF_OPTS = \
-DREGEX_BACKEND=regcomp \
-DUSE_HTTP_PARSER=system \
-DUSE_NTLMCLIENT=OFF \
-DUSE_XDIFF=builtin \
-DUSE_THREADS=$(if $(BR2_TOOLCHAIN_HAS_THREADS),ON,OFF)
LIBGIT2_SUPPORTS_IN_SOURCE_BUILD = NO