| 1 |
# Copyright 1999-2012 Gentoo Foundation
|
| 2 |
# Distributed under the terms of the GNU General Public License v2
|
| 3 |
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libgweather/libgweather-3.4.1.ebuild,v 1.4 2012/12/19 04:04:02 tetromino Exp $
|
| 4 |
|
| 5 |
EAPI="5"
|
| 6 |
GCONF_DEBUG="no"
|
| 7 |
GNOME2_LA_PUNT="yes"
|
| 8 |
|
| 9 |
inherit gnome2
|
| 10 |
|
| 11 |
DESCRIPTION="Library to access weather information from online services"
|
| 12 |
HOMEPAGE="https://live.gnome.org/LibGWeather"
|
| 13 |
|
| 14 |
LICENSE="GPL-2+"
|
| 15 |
SLOT="2/3-0" # subslot = 3-(libgweather-3 soname suffix)
|
| 16 |
IUSE="+introspection"
|
| 17 |
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~x86-solaris"
|
| 18 |
|
| 19 |
# libsoup-gnome is to be used because libsoup[gnome] might not
|
| 20 |
# get libsoup-gnome installed by the time ${P} is built
|
| 21 |
COMMON_DEPEND=">=x11-libs/gtk+-2.90.0:3[introspection?]
|
| 22 |
>=dev-libs/glib-2.13
|
| 23 |
>=gnome-base/gconf-2.8
|
| 24 |
>=net-libs/libsoup-gnome-2.25.1:2.4
|
| 25 |
>=dev-libs/libxml2-2.6.0
|
| 26 |
>=sys-libs/timezone-data-2010k
|
| 27 |
|
| 28 |
introspection? ( >=dev-libs/gobject-introspection-0.9.5 )"
|
| 29 |
DEPEND="${COMMON_DEPEND}
|
| 30 |
>=dev-util/gtk-doc-am-1.9
|
| 31 |
>=dev-util/intltool-0.40.6
|
| 32 |
sys-devel/gettext
|
| 33 |
virtual/pkgconfig
|
| 34 |
"
|
| 35 |
RDEPEND="${COMMON_DEPEND}
|
| 36 |
!<gnome-base/gnome-applets-2.22.0"
|
| 37 |
|
| 38 |
src_configure() {
|
| 39 |
DOCS="AUTHORS ChangeLog MAINTAINERS NEWS"
|
| 40 |
# Do not add --disable-all-translations-in-one-xml : it will enable them
|
| 41 |
G2CONF="${G2CONF}
|
| 42 |
--enable-locations-compression
|
| 43 |
--disable-static
|
| 44 |
$(use_enable introspection)"
|
| 45 |
gnome2_src_configure
|
| 46 |
}
|