PKGNAME=libinput
PKGSEC=libs
PKGDEP="mtdev systemd libevdev libwacom lua-5.4"
PKGDEP__RETRO="mtdev systemd libevdev libwacom"
PKGDES="Library that handles input devices for display servers and other applications"

ABTYPE=meson
MESON_AFTER=(
    '-Dlibwacom=true'
    '-Dmtdev=true'
    '-Ddebug-gui=false'
    '-Dtests=false'
    '-Dinstall-tests=false'
    '-Ddocumentation=false'
    '-Dcoverity=false'
    '-Dinternal-event-debugging=false'
    '-Dautoload-plugins=false'
    '-Dlua-plugins=enabled'
)
MESON_AFTER__RETRO=(
    "${MESON_AFTER[@]}"
    '-Dlua-plugins=disabled'
)

# Needed by Afterglow, whereas FAIL_ARCH defaults to mainline-only.
FAIL_ARCH="!(mainline|retro)"
