/[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.2 - (hide annotations) (download)
Sat Aug 11 17:46:16 2012 UTC (7 years, 6 months ago) by ssuominen
Branch: MAIN
Changes since 1.1: +4 -1 lines
Remove -g from CFLAGS to respect environment instead wrt #399177 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 ssuominen 1.2 # $Header: /var/cvsroot/gentoo-x86/app-misc/geoclue/geoclue-0.12.99.ebuild,v 1.1 2012/08/11 17:41:36 ssuominen 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     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 ssuominen 1.2 sed -i -e '/CFLAGS/s:-g ::' configure.ac || die #399177
40    
41 ssuominen 1.1 eautoreconf
42     }
43    
44     src_configure() {
45     # Conic is only for Maemo. Don't enable.
46     # Gypsy has multiple vulnerabilities:
47     # https://bugs.freedesktop.org/show_bug.cgi?id=33431
48     econf \
49 ssuominen 1.2 --disable-silent-rules \
50 ssuominen 1.1 $(use_enable static-libs static) \
51     --disable-schemas-compile \
52     $(use_enable gtk tests) \
53     $(use_enable gtk) \
54     --disable-conic \
55     $(use_enable connman) \
56     $(use_enable networkmanager) \
57     --disable-gypsy \
58     $(use_enable gps gpsd) \
59     $(use_enable skyhook) \
60     $(use_enable geonames) \
61     $(use_enable gsmloc) \
62     $(use_enable hostip) \
63     $(use_enable manual) \
64     $(use_enable nominatim) \
65     $(use_enable plazes) \
66     $(use_enable yahoo-geo yahoo) \
67     --with-html-dir=/usr/share/doc/${PF}/html
68     }
69    
70     src_install() {
71     emake DESTDIR="${D}" install
72     use gtk && dobin test/.libs/geoclue-test-gui
73     prune_libtool_files
74     }

  ViewVC Help
Powered by ViewVC 1.1.20