127.2. utfcpp-4.2.1
Header-only C++ library for checking and converting UTF-8, UTF-16 and UTF-32 text
4.2.1-1 · BSL-1.0 · 0.1 SBU · 64.5 KiB, 11 files · 41_system, 130 of 1047 · ports/core/i18n/utfcpp
Homepage: https://github.com/nemtrif/utfcpp
Required by (4): libebml, musescore, organicmaps, taglib.
Sources: utfcpp-4.2.1.tar.gz (38.8 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 utfcpp'
build.sh:
cmake -S . -B build -G Ninja \
-DCMAKE_POLICY_VERSION_MINIMUM=3.5 \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DUTF8CPP_ENABLE_TESTS=OFF \
-DUTF8CPP_ENABLE_BENCHMARKS=OFF
cmake --build build
DESTDIR=$PKG cmake --install build
Directories: /usr/include/utf8cpp, /usr/share/licenses/utfcpp, /usr/share/utf8cpp.