/[gentoo-x86]/app-misc/geoclue/geoclue-0.12.0_p20110307.ebuild
Gentoo

Contents of /app-misc/geoclue/geoclue-0.12.0_p20110307.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.14 - (show annotations) (download)
Tue Dec 24 15:35:15 2013 UTC (8 months, 3 weeks ago) by pacho
Branch: MAIN
CVS Tags: HEAD
Changes since 1.13: +1 -1 lines
FILE REMOVED
Version bump for Gnome 3.10, drop old

(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key A188FBD4)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-misc/geoclue/geoclue-0.12.0_p20110307.ebuild,v 1.13 2012/09/11 14:01:50 armin76 Exp $
4
5 EAPI=4
6 inherit autotools eutils
7
8 DESCRIPTION="A geoinformation D-Bus service"
9 HOMEPAGE="http://freedesktop.org/wiki/Software/GeoClue"
10 SRC_URI="http://dev.gentoo.org/~signals/${P}.tar.bz2"
11
12 LICENSE="LGPL-2"
13 SLOT="0"
14 KEYWORDS="amd64 ~arm ppc ppc64 ~sparc x86 ~amd64-fbsd"
15 IUSE="geonames gps gsmloc gtk hostip manual networkmanager nominatim plazes
16 skyhook yahoo-geo"
17
18 REQUIRED_USE="skyhook? ( networkmanager )"
19
20 RDEPEND="dev-libs/dbus-glib
21 dev-libs/glib:2
22 dev-libs/libxml2
23 gnome-base/gconf
24 skyhook? ( net-libs/libsoup )
25 sys-apps/dbus
26 gtk? ( x11-libs/gtk+:2 )
27 gps? ( <=sci-geosciences/gpsd-2.95-r1 )
28 networkmanager? ( net-misc/networkmanager )"
29 DEPEND="${RDEPEND}
30 dev-util/gtk-doc
31 dev-util/gtk-doc-am"
32
33 src_prepare() {
34 epatch "${FILESDIR}"/${P}-use-flag.patch \
35 "${FILESDIR}"/${P}-use-fallback-mac.patch
36 sed -i -e 's/-Werror//' configure.ac || die #363723
37 gtkdocize || die
38 eautoreconf
39 }
40
41 src_configure() {
42 # Conic is only for Maemo. Don't enable.
43 # Gypsy has multiple vulnerabilities:
44 # https://bugs.freedesktop.org/show_bug.cgi?id=33431
45 econf \
46 --disable-conic \
47 --disable-gypsy \
48 $(use_enable geonames) \
49 $(use_enable gps gpsd) \
50 $(use_enable gsmloc) \
51 $(use_enable gtk) \
52 $(use_enable hostip) \
53 $(use_enable manual) \
54 $(use_enable networkmanager) \
55 $(use_enable nominatim) \
56 $(use_enable plazes) \
57 $(use_enable skyhook) \
58 $(use_enable yahoo-geo yahoo)
59 }
60
61 src_install() {
62 emake DESTDIR="${D}" install
63 use gtk && dobin test/.libs/geoclue-test-gui
64 }

  ViewVC Help
Powered by ViewVC 1.1.20