void-packages/srcpkgs/gnome-weather/template
jbu 0f54db474a gnome-*: add build option 'gir'
This should allow cross compilation of all gnome-* packages
2015-06-20 13:16:15 +02:00

22 lines
766 B
Bash

# Template file for 'gnome-weather'
pkgname=gnome-weather
version=3.16.2.1
revision=2
lib32disabled=yes
build_style=gnu-configure
configure_args="--disable-schemas-compile"
hostmakedepends="pkg-config intltool itstool gnome-doc-utils glib-devel
$(vopt_if gir gobject-introspection)"
makedepends="gtk+3-devel gjs-devel libgweather-devel"
depends="desktop-file-utils"
short_desc="Access current weather conditions and forecasts for GNOME"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://www.gnome.org"
license="GPL-2"
distfiles="${GNOME_SITE}/$pkgname/${version%.*.*}/$pkgname-$version.tar.xz"
checksum=0fe481d4be192ca32cb401f3f4b74feb0f1ea3241f23dc51ec1949874836e355
build_options="gir"
if [ -z "$CROSS_BUILD" ]; then
build_options_default+=" gir"
fi