# Template file for 'gnome-photos'
pkgname=gnome-photos
version=3.24.2
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"
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}/$pkgname/${version%.*}/$pkgname-$version.tar.xz"
checksum=31ddc078ad2f6bc4bbfa2f71eb23377782750b9cb2ad2b0e6ff2a1971548cdf9
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
