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

104.3. libcacard-2.8.2

Virtual CAC smartcard emulation — the card a SPICE or QEMU guest sees, backed by NSS or a real reader

2.8.2-1 · LGPL-2.1-or-later · 0.1 SBU · 176.8 KiB, 18 files · 41_system, 1002 of 1047 · ports/core/virt/libcacard

Homepage: https://gitlab.freedesktop.org/spice/libcacard

Depends on: meson, ninja, pkgconf, glib, nss, pcsc-lite.

Required by (3): qemu, spice, spice-gtk.

Sources: libcacard-2.8.2.tar.xz (403.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 libcacard'

build.sh:

meson setup build --prefix=/usr --libdir=lib --buildtype=release \
	-Dpcsc=enabled \
	-Ddisable_tests=true
meson compile -C build
DESTDIR=$PKG meson install --no-rebuild -C build

Libraries: libcacard.so.

Directories: /usr/include/cacard, /usr/share/licenses/libcacard.