libgweather: set nocross.

Closes: #12698 [via git-merge-pr]
This commit is contained in:
maxice8 2018-03-19 23:40:25 -03:00 committed by Toyam Cox
parent 025de1197c
commit 096c5b4417

View file

@ -4,17 +4,18 @@ version=3.28.0
revision=1
build_style=meson
build_options="gir"
configure_args="$(vopt_if gir '-Denable_vala=true' '-Denable-vala=false')
configure_args="-Denable_vala=$(vopt_if gir true false)
-Dzoneinfo_dir=/usr/share/zoneinfo"
hostmakedepends="pkg-config intltool glib-devel $(vopt_if gir 'gobject-introspection vala-devel')"
makedepends="libxml2-devel libsoup-gnome-devel gtk+3-devel geocode-glib-devel"
hostmakedepends="glib-devel gobject-introspection intltool pkg-config $(vopt_if gir vala-devel)"
makedepends="geocode-glib-devel gtk+3-devel libsoup-gnome-devel"
checkdepends="tzdata"
short_desc="GNOME Weather information access library"
maintainer="Enno Boland <gottox@voidlinux.eu>"
license="LGPL-2.1"
license="LGPL-2.1-or-later"
homepage="http://www.gnome.org/"
distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz"
checksum=594be78dcc0b4c48bf79cd42ea6768160b661bc2a74d9d35ecc742575416e18f
nocross="requires gobject-introspection"
if [ -z "$CROSS_BUILD" ]; then
build_options_default="gir"