/[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.5 - (hide annotations) (download)
Wed Sep 26 14:10:14 2012 UTC (7 years, 5 months ago) by ago
Branch: MAIN
Changes since 1.4: +2 -2 lines
Stable for amd64, wrt bug #427556

(Portage version: 2.1.11.9/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 ago 1.5 # $Header: /var/cvsroot/gentoo-x86/app-misc/geoclue/geoclue-0.12.99.ebuild,v 1.4 2012/09/11 14:01:51 armin76 Exp $
4 ssuominen 1.1
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 ago 1.5 KEYWORDS="amd64 ~arm ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd"
15 ssuominen 1.1 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     sys-apps/dbus
23     gps? ( sci-geosciences/gpsd )
24     gtk? ( x11-libs/gtk+:2 )
25     networkmanager? ( net-misc/networkmanager )
26     skyhook? ( net-libs/libsoup )"
27     DEPEND="${RDEPEND}
28     dev-util/gtk-doc
29     dev-util/gtk-doc-am
30     virtual/pkgconfig"
31    
32     src_prepare() {
33     epatch \
34     "${FILESDIR}"/${PN}-0.12.0_p20110307-use-flag.patch \
35     "${FILESDIR}"/${PN}-0.12.0_p20110307-use-fallback-mac.patch \
36     "${FILESDIR}"/${P}-gpsd.patch
37    
38 ssuominen 1.2 sed -i -e '/CFLAGS/s:-g ::' configure.ac || die #399177
39    
40 ssuominen 1.1 eautoreconf
41     }
42    
43     src_configure() {
44     # Conic is only for Maemo. Don't enable.
45     # Gypsy has multiple vulnerabilities:
46     # https://bugs.freedesktop.org/show_bug.cgi?id=33431
47     econf \
48 ssuominen 1.2 --disable-silent-rules \
49 ssuominen 1.1 $(use_enable static-libs static) \
50     --disable-schemas-compile \
51     $(use_enable gtk tests) \
52     $(use_enable gtk) \
53     --disable-conic \
54     $(use_enable connman) \
55     $(use_enable networkmanager) \
56     --disable-gypsy \
57     $(use_enable gps gpsd) \
58     $(use_enable skyhook) \
59     $(use_enable geonames) \
60     $(use_enable gsmloc) \
61     $(use_enable hostip) \
62     $(use_enable manual) \
63     $(use_enable nominatim) \
64     $(use_enable plazes) \
65     $(use_enable yahoo-geo yahoo) \
66     --with-html-dir=/usr/share/doc/${PF}/html
67     }
68    
69     src_install() {
70     emake DESTDIR="${D}" install
71     use gtk && dobin test/.libs/geoclue-test-gui
72     prune_libtool_files
73     }

  ViewVC Help
Powered by ViewVC 1.1.20