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

Contents of /app-misc/geoclue/geoclue-0.12.99.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations) (download)
Sat Aug 11 17:41:36 2012 UTC (7 years, 6 months ago) by ssuominen
Branch: MAIN
Version bump with patch for new gpsd API wrt #424587 by "jannis". USE="static-libs" and prune_libtool_files wrt #399173 by Maurizio Camisaschi.

(Portage version: 2.2.0_alpha120/cvs/Linux x86_64)

1 ssuominen 1.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.12 2012/08/08 19:42:09 ranger 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://freedesktop.org/~hadess/${P}.tar.gz"
11    
12     LICENSE="LGPL-2"
13     SLOT="0"
14     KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-fbsd"
15     IUSE="connman geonames gps gsmloc gtk hostip manual networkmanager nominatim plazes skyhook static-libs yahoo-geo"
16    
17     REQUIRED_USE="skyhook? ( networkmanager )"
18    
19     RDEPEND=">=dev-libs/dbus-glib-0.100
20     >=dev-libs/glib-2
21     dev-libs/libxml2
22     gnome-base/gconf
23     sys-apps/dbus
24     gps? ( sci-geosciences/gpsd )
25     gtk? ( x11-libs/gtk+:2 )
26     networkmanager? ( net-misc/networkmanager )
27     skyhook? ( net-libs/libsoup )"
28     DEPEND="${RDEPEND}
29     dev-util/gtk-doc
30     dev-util/gtk-doc-am
31     virtual/pkgconfig"
32    
33     src_prepare() {
34     epatch \
35     "${FILESDIR}"/${PN}-0.12.0_p20110307-use-flag.patch \
36     "${FILESDIR}"/${PN}-0.12.0_p20110307-use-fallback-mac.patch \
37     "${FILESDIR}"/${P}-gpsd.patch
38    
39     eautoreconf
40     }
41    
42     src_configure() {
43     # Conic is only for Maemo. Don't enable.
44     # Gypsy has multiple vulnerabilities:
45     # https://bugs.freedesktop.org/show_bug.cgi?id=33431
46     econf \
47     $(use_enable static-libs static) \
48     --disable-schemas-compile \
49     $(use_enable gtk tests) \
50     $(use_enable gtk) \
51     --disable-conic \
52     $(use_enable connman) \
53     $(use_enable networkmanager) \
54     --disable-gypsy \
55     $(use_enable gps gpsd) \
56     $(use_enable skyhook) \
57     $(use_enable geonames) \
58     $(use_enable gsmloc) \
59     $(use_enable hostip) \
60     $(use_enable manual) \
61     $(use_enable nominatim) \
62     $(use_enable plazes) \
63     $(use_enable yahoo-geo yahoo) \
64     --with-html-dir=/usr/share/doc/${PF}/html
65     }
66    
67     src_install() {
68     emake DESTDIR="${D}" install
69     use gtk && dobin test/.libs/geoclue-test-gui
70     prune_libtool_files
71     }

  ViewVC Help
Powered by ViewVC 1.1.20