Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions srcpkgs/json-c++/template
Original file line number Diff line number Diff line change
@@ -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"
Expand All @@ -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() {
Expand Down