json-c++: update to 3.12.0
This commit is contained in:
committed by
Đoàn Trần Công Danh
parent
87cbe00faf
commit
2b477a7ce4
@@ -1,6 +1,6 @@
|
||||
# Template file for 'json-c++'
|
||||
pkgname=json-c++
|
||||
version=3.11.3
|
||||
version=3.12.0
|
||||
revision=1
|
||||
build_style=cmake
|
||||
configure_args="-DJSON_MultipleHeaders=ON"
|
||||
@@ -10,12 +10,17 @@ maintainer="Érico Nogueira <ericonr@disroot.org>"
|
||||
license="MIT"
|
||||
homepage="https://github.com/nlohmann/json"
|
||||
distfiles="https://github.com/nlohmann/json/archive/v${version}.tar.gz"
|
||||
checksum=0d8ef5af7f9794e3263480193c491549b2ba6cc74bb018906202ada498a79406
|
||||
checksum=4b92eb0c06d10683f7447ce9406cb97cd4b453be18d7279320f7b2f025c10187
|
||||
|
||||
do_check() {
|
||||
# skip tests requiring wrksrc to be a git clone as they always fail
|
||||
cd build
|
||||
ctest -LE "git_required"
|
||||
if [ "$XBPS_TARGET_LIBC" = "glibc" ]; then
|
||||
ctest -LE "git_required"
|
||||
else
|
||||
# also skip locale-dependent test
|
||||
ctest -LE "git_required" -E "test-locale-cpp_cpp11"
|
||||
fi
|
||||
}
|
||||
|
||||
post_install() {
|
||||
|
||||
Reference in New Issue
Block a user