150.2. libkiwix-14.2.1
The library under kiwix-serve and kiwix-desktop that searches and serves ZIM archives
14.2.1-1 · GPL-3.0-or-later · 1.2 SBU · 2.8 MiB, 24 files · 41_system, 456 of 1047 · ports/core/education/libkiwix
Homepage: https://github.com/kiwix/libkiwix
Why it is in KDOS. The comment above the 3 ports from libzim to kiwix-tools in script/phases/41_system/packages.d/education.txt:
kiwix-serve puts a ZIM on localhost and every reader on the machine reaches it over HTTP — including a browser. On a distro whose medium IS the software library, this is the half that makes the library readable.
Depends on: meson, libzim, libmicrohttpd, xapian-core, icu, pugixml, curl, mustache, zlib.
Required by (2): kiwix-desktop, kiwix-tools.
Sources: libkiwix-14.2.1.tar.gz (1.2 MiB). Every step kpkg takes applies to this port.
Install: script/chroot/exec.sh bash -c 'source script/phases/41_system/phase.env && kpkg install libkiwix'
build.sh:
meson setup build \
--prefix=/usr --libdir=lib --buildtype=release \
--wrap-mode=nofallback \
-Dwerror=false -Ddoc=false
meson compile -C build
DESTDIR=$PKG meson install --no-rebuild -C build
Programs: kiwix-compile-i18n, kiwix-compile-resources.
Libraries: libkiwix.so.
Directories: /usr/include/kiwix, /usr/share/licenses/libkiwix.