Skip to the text
KDOS
Menu
kdos.dev KDOS from Scratch KDOS 0.2 · 4dd4a10 · 2026-11-30 Contents Index

88.21. jsoncpp-1.9.8

JSON for C++ — recoll stores its index metadata through it

1.9.8-1 · LicenseRef-Public-Domain OR MIT · 0.5 SBU · 459.3 KiB, 16 files · 41_system, 551 of 1047 · ports/core/formats/jsoncpp

Homepage: https://github.com/open-source-parsers/jsoncpp

Why it is in KDOS. The comment above it in script/phases/41_system/packages.d/formats.txt:

recoll stores its index metadata through it, by pkg-config.

Depends on: meson, ninja, pkgconf.

Required by (4): luanti, powder-toy, recoll, vtk.

Sources: jsoncpp-1.9.8.tar.gz (214.9 KiB). Every step kpkg takes applies to this port.

Install: script/chroot/exec.sh bash -c 'source script/phases/41_system/phase.env && kpkg install jsoncpp'

build.sh:

meson setup build --prefix=/usr --libdir=lib --buildtype=release -Dtests=false
meson compile -C build
DESTDIR=$PKG meson install --no-rebuild -C build

Libraries: libjsoncpp.so.

Directories: /usr/include/json, /usr/lib/cmake/jsoncpp, /usr/share/licenses/jsoncpp.