libaccounts-glib: unmark nocross

This commit is contained in:
Nathan Owens 2019-11-15 18:35:54 -06:00 committed by Helmut Pozimski
parent aa8e525b11
commit a02b9cd0a4

View file

@ -4,16 +4,24 @@ version=1.24
revision=2
wrksrc="${pkgname}-VERSION_${version}-8948717702424ce15f4e23e5db2c8ce0799ec120"
build_style=meson
hostmakedepends="gtk-doc pkg-config glib-devel gobject-introspection vala"
makedepends="sqlite-devel libxml2-devel libglib-devel python3-gobject-devel
check-devel"
build_helper="gir"
hostmakedepends="gtk-doc pkg-config python3-gobject-devel glib-devel gobject-introspection
vala"
makedepends="sqlite-devel libxml2-devel libglib-devel python3-gobject-devel check-devel"
short_desc="GLib-based client library for the accounts database"
maintainer="John Rowley <enterthevoid@codesector.co>"
license="LGPL-2.1-only"
homepage="https://gitlab.com/accounts-sso/libaccounts-glib"
distfiles="https://gitlab.com/accounts-sso/${pkgname}/repository/archive.tar.gz?ref=VERSION_${version}>${pkgname}-${version}.tar.gz"
checksum=b0c52ddbd0305a37395890c61ec9ca9b389a3ee923a4364640205cf798a92f56
nocross="Hard depends on both gobject-introspection & python-gobject"
if [ "$CROSS_BUILD" ]; then
# Remove docs. During install of package, it will try
# to run target binary with host, which causes exec error
pre_build() {
vsed -e '/docs/d' -i meson.build
}
fi
libaccounts-glib-devel_package() {
short_desc+=" - development files"