PKGNAME=libpeas
PKGSEC=libs
PKGDEP="gobject-introspection gtk-3 lgi luajit"
# FIXME: LuaJIT not available on these architectures.
PKGDEP__NOLUAJIT="${PKGDEP/luajit/lua}"
PKGDEP__PPC64EL="${PKGDEP__NOLUAJIT}"
PKGDEP__RISCV64="${PKGDEP__NOLUAJIT}"
BUILDDEP="gobject-introspection intltool"
PKGDES="GObject-based plugins engine"

# FIXME: Python 3 support is broken with pygobject 3.54+
MESON_AFTER=(
    '-Dlua51=true'
    '-Dpython2=false'
    '-Dpython3=false'
    '-Dintrospection=true'
    '-Dvapi=true'
    '-Dwidgetry=true'
    '-Dglade_catalog=false'
    '-Ddemos=false'
    '-Dgtk_doc=false'
)
