88.15. pugixml-1.16
Light XML parser — libkiwix reads its OPDS catalogues with it
1.16-1 · MIT · 0.4 SBU · 389.1 KiB, 11 files · 41_system, 455 of 1047 · ports/core/formats/pugixml
Homepage: https://pugixml.org/
pugixml is a small, fast C++ XML parser with a DOM-style tree and XPath 1.0 queries. Desktop applications use it to read their XML formats and project files: libkiwix reads its OPDS catalogues with it, and blender, darktable, audacity, mkvtoolnix, musescore and filezilla link it.
Depends on: cmake.
Required by (14): audacity, avogadrolibs, blender, darktable, filezilla, libkiwix, libsavitar, mkvtoolnix, musescore, openimageio, organicmaps, python3-pysavitar, vtk, waylandpp.
Sources: pugixml-1.16.tar.gz (389.0 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 pugixml'
build.sh:
mkdir -p build
cd build
cmake .. \
-DCMAKE_POLICY_VERSION_MINIMUM=3.5 \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DBUILD_SHARED_LIBS=ON
make
make DESTDIR=$PKG install
-DBUILD_SHARED_LIBS=ON— Buildlibpugixml.so. Upstream’s default is a static archive, which would put a private copy of the parser into every program that links it.
Libraries: libpugixml.so.
Directories: /usr/lib/cmake/pugixml, /usr/share/licenses/pugixml.