/[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.8 - (show annotations) (download)
Tue Oct 2 11:14:38 2012 UTC (7 years, 4 months ago) by blueness
Branch: MAIN
Changes since 1.7: +2 -2 lines
stable arm, bug #427556

(Portage version: 2.1.11.9/cvs/Linux x86_64)

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.99.ebuild,v 1.7 2012/10/02 01:07:13 blueness 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 ~sparc 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 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 sed -i -e '/CFLAGS/s:-g ::' configure.ac || die #399177
39
40 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 --disable-silent-rules \
49 $(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