PKGNAME=lxc
PKGSEC=admin
PKGDEP="libcap libseccomp liburing lua perl python-3 rsync apparmor"
BUILDDEP="docbook-utils doxygen graphite"
PKGDES="LXC is a userspace interface for the Linux kernel containment features"

# FIXME: docbook-utils not compatible with this build system.
MESON_AFTER="-Dcoverity-build=false \
             -Dexamples=true \
             -Dinit-script=systemd \
             -Dio-uring-event-loop=true \
             -Dman=false \
             -Dpam-cgroup=true \
             -Dtools=true \
             -Dcommands=true \
             -Dcapabilities=true \
             -Dseccomp=true \
             -Dapparmor=true \
             -Dopenssl=true \
             -Dselinux=false \
             -Doss-fuzz=false \
             -Dthread-safety=true \
             -Dmemfd-rexec=true"
# FIXME: ../src/lxc/seccomp.c:1132:41: error: passing argument 3 of
# ‘parse_config_v2’ from incompatible pointer type
# [-Werror=incompatible-pointer-types]
MESON_AFTER__LOONGARCH64=" \
             ${MESON_AFTER} \
             -Dseccomp=false"
