libzapojit: enable gir

This commit is contained in:
maxice8 2019-02-22 20:48:09 -03:00 committed by maxice8
parent 86ee84c478
commit 2e0ebb1e56

View file

@ -1,22 +1,26 @@
# Template file for 'libzapojit'
pkgname=libzapojit
version=0.0.3
revision=6
revision=7
build_style=gnu-configure
build_helper="gir"
configure_args="--disable-static"
hostmakedepends="pkg-config intltool $(vopt_if gir gobject-introspection)"
hostmakedepends="pkgconf intltool"
makedepends="json-glib-devel rest-devel gnome-online-accounts-devel"
short_desc="GLib/GObject wrapper for the SkyDrive and Hotmail REST APIs"
maintainer="Juan RP <xtraeme@voidlinux.org>"
license="LGPL-2.1-or-later"
homepage="http://live.gnome.org/Zapojit"
distfiles="${GNOME_SITE}/$pkgname/0.0/$pkgname-$version.tar.xz"
homepage="https://wiki.gnome.org/Projects/Zapojit"
distfiles="${GNOME_SITE}/${pkgname}/0.0/${pkgname}-${version}.tar.xz"
checksum=3d25f99329105abb99d1e9651b0aa1842065456ea54c22970a7330e9f3d1c37e
build_options="gir"
if [ -z "$CROSS_BUILD" ]; then
build_options_default="gir"
fi
case "$XBPS_TARGET_MACHINE" in
i686-musl|x86_64-musl) build_options_default+=" gir" ;;
*-musl) ;;
*) build_options_default+=" gir" ;;
esac
libzapojit-devel_package() {
depends="${makedepends} ${sourcepkg}-${version}_${revision}"