# Template file for 'gnome-photos'
pkgname=gnome-photos
version=3.26.0
revision=1
build_style=gnu-configure
configure_args="--disable-schemas-compile"
hostmakedepends="pkg-config intltool itstool gnome-doc-utils $(vopt_if gir gobject-introspection)"
makedepends="gtk+3-devel babl-devel gegl3-devel exempi-devel lcms2-devel gfbgraph-devel
 tracker-devel libexif-devel librsvg-devel grilo-devel libgexiv2-devel
 gnome-online-accounts-devel gnome-desktop-devel libgdata-devel
 geocode-glib-devel tracker-devel"
depends="desktop-file-utils"
short_desc="Access, organize, and share your photos on GNOME"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="https://wiki.gnome.org/Apps/Photos"
license="GPL-2"
distfiles="${GNOME_SITE}/gnome-photos/${version%.*}/gnome-photos-$version.tar.xz"
checksum=d664f1cca5aca7b2288ebba83d341c70170ca37165981142e8ca7ceb5c348055
nocross="https://s3.amazonaws.com/archive.travis-ci.org/jobs/219873990/log.txt"

build_options="gir"
if [ -z "$CROSS_BUILD" ]; then
	build_options_default+=" gir"
fi
