PKGNAME=wireplumber
PKGSEC=sound
PKGDES="Modular session/policy manager for PipeWire"
PKGDEP="glib pipewire lua-5.4 systemd"
BUILDDEP="meson gobject-introspection lxml doxygen sphinx \
          sphinx-rtd-theme breathe"
BUILDDEP__RETRO="meson"

ABTYPE=meson
MESON_AFTER=(
    '-Dsystem-lua=true'
    '-Ddoc=enabled'
    '-Dsystemd=enabled'
    '-Dsystemd-user-service=true'
    '-Dintrospection=enabled'
    '-Delogind=disabled'
)
MESON_AFTER__RETRO=(
    "${MESON_AFTER[@]}"
    '-Dintrospection=disabled'
    '-Ddoc=disabled'
)

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