PKGNAME=gcr-3
PKGSEC=libs
PKGDES="Library to display certificates and access key stores (version 3)"
PKGDEP="dconf desktop-file-utils gtk-3 hicolor-icon-theme libgcrypt \
        p11-kit python-3 libsecret gcr-common"
BUILDDEP="gobject-introspection vala"
# Neither gir or vapi is needed for Afterglow.
BUILDDEP__RETRO=""

ABTYPE=meson
MESON_AFTER=(
    '-Dintrospection=true'
    '-Dgtk=true'
    '-Dgtk_doc=false'
    '-Dsystemd=enabled'
    '-Dssh_agent=false'
)

MESON_AFTER__RETRO=(
    "${MESON_AFTER[@]}"
    '-Dintrospection=false'
)

PKGBREAK="gcr<=3.41.1-3"
PKGREP="gcr<=3.41.1-3"

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