Skip to content

Commit 2b477a7

Browse files
chrysos349sgn
authored andcommitted
json-c++: update to 3.12.0
1 parent 87cbe00 commit 2b477a7

1 file changed

Lines changed: 8 additions & 3 deletions

File tree

srcpkgs/json-c++/template

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Template file for 'json-c++'
22
pkgname=json-c++
3-
version=3.11.3
3+
version=3.12.0
44
revision=1
55
build_style=cmake
66
configure_args="-DJSON_MultipleHeaders=ON"
@@ -10,12 +10,17 @@ maintainer="Érico Nogueira <ericonr@disroot.org>"
1010
license="MIT"
1111
homepage="https://github.com/nlohmann/json"
1212
distfiles="https://github.com/nlohmann/json/archive/v${version}.tar.gz"
13-
checksum=0d8ef5af7f9794e3263480193c491549b2ba6cc74bb018906202ada498a79406
13+
checksum=4b92eb0c06d10683f7447ce9406cb97cd4b453be18d7279320f7b2f025c10187
1414

1515
do_check() {
1616
# skip tests requiring wrksrc to be a git clone as they always fail
1717
cd build
18-
ctest -LE "git_required"
18+
if [ "$XBPS_TARGET_LIBC" = "glibc" ]; then
19+
ctest -LE "git_required"
20+
else
21+
# also skip locale-dependent test
22+
ctest -LE "git_required" -E "test-locale-cpp_cpp11"
23+
fi
1924
}
2025

2126
post_install() {

0 commit comments

Comments
 (0)