# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
maintainers {michaelld @michaelld} openmaintainer
description JSON C++ library
long_description JSON data format manipulation C++ library
if {${subport} eq ${name}} {
github.setup open-source-parsers jsoncpp 1.9.2
checksums rmd160 34374a13fadc93e42b26c60282029a5c1f113023 \
sha256 6bc246534c35df7c9b200869b6e8536c9b0024e6c11f3023541f7fdd88794168 \
# temporary patch to fix build errors
patchfiles-append patch-fix-build.release.diff
github.setup open-source-parsers jsoncpp a3c8642886b348d4f8fcb5384266c3a94ffe66b3
version 20191203-[string range ${github.version} 0 7]
checksums rmd160 34f9089fb8e7efd6d4324a8edbd56c19a03ffc4e \
sha256 c69af6d2b71e219c8d5dfc1273ea3ccf52631d3cebeb12ae7c8317560d0aee6d \
long_description ${description}: \
This port follows the GIT master version of ${name}, which is typically updated every few days to weeks.
# temporary patch to fix variable type to be same as others
patchfiles-append patch-src_test_lib_json_main.cpp.diff
-DJSONCPP_WITH_POST_BUILD_UNITTEST=OFF \