PKGNAME=pygobject-3
PKGSEC=gnome
PKGDEP="gobject-introspection pycairo"
BUILDDEP="meson"
PKGDES="Python bindings for GObject"

ABTYPE=meson
MESON_AFTER=(
	-Dpython=python3
	-Dpycairo=enabled
	-Dwrap_mode=nofallback
	-Dtests=false
	--force-fallback-for=pythoncapi-compat
)

PKGREP="pygobject-3+rt3"
PKGPROV="pygobject-3+rt3"

# pygobject 3.54+ forces use of girepository-2.0, but libpeas is only
# compatible with girepository-1.0. PYthon3 support is removed from
# libpeas package 1.36.0-3.
PKGBREAK="libpeas<=1.36.0-2"

PKGEPOCH=1

FAIL_ARCH="!(mainline|retro)"
