1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
7 VALA_MIN_API_VERSION="0.18"
8 VALA_USE_DEPEND="vapigen"
12 DESCRIPTION="Library to access weather information from online services"
13 HOMEPAGE="https://wiki.gnome.org/Projects/LibGWeather"
16 SLOT="2/3-6" # subslot = 3-(libgweather-3 soname suffix)
17 IUSE="glade +introspection vala"
18 REQUIRED_USE="vala? ( introspection )"
20 KEYWORDS="~alpha amd64 ~arm ~ia64 ~ppc ~ppc64 ~sh ~sparc x86 ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~x86-solaris"
23 >=x11-libs/gtk+-3.13.5:3[introspection?]
24 >=dev-libs/glib-2.35.1:2
25 >=net-libs/libsoup-2.34:2.4
26 >=dev-libs/libxml2-2.6.0
27 sci-geosciences/geocode-glib
28 >=sys-libs/timezone-data-2010k
30 glade? ( >=dev-util/glade-3.16:3.10 )
31 introspection? ( >=dev-libs/gobject-introspection-0.9.5 )
33 RDEPEND="${COMMON_DEPEND}
34 !<gnome-base/gnome-applets-2.22.0
36 DEPEND="${COMMON_DEPEND}
37 >=dev-util/gtk-doc-am-1.11
38 >=dev-util/intltool-0.50
39 >=sys-devel/gettext-0.18
41 vala? ( $(vala_depend) )
45 use vala && vala_src_prepare
50 DOCS="AUTHORS MAINTAINERS NEWS README"
51 gnome2_src_configure \
53 $(use_enable glade glade-catalog) \
54 $(use_enable introspection) \