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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (hide annotations) (download)
Wed Jul 23 15:13:23 2014 UTC (5 years, 6 months ago) by ago
Branch: MAIN
Changes since 1.2: +2 -2 lines
Stable for x86, wrt bug #512012

(Portage version: 2.2.8-r1/cvs/Linux x86_64, RepoMan options: --force, signed Manifest commit with key 7194459F)

1 pacho 1.1 # Copyright 1999-2014 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 ago 1.3 # $Header: /var/cvsroot/gentoo-x86/app-misc/geoclue/geoclue-2.1.9.ebuild,v 1.2 2014/07/22 10:42:08 ago Exp $
4 pacho 1.1
5     EAPI="5"
6     GCONF_DEBUG="no"
7    
8     inherit gnome2 systemd user versionator
9    
10     MY_PV=$(get_version_component_range 1-2)
11     DESCRIPTION="A geoinformation D-Bus service"
12     HOMEPAGE="http://freedesktop.org/wiki/Software/GeoClue"
13     SRC_URI="http://www.freedesktop.org/software/${PN}/releases/${MY_PV}/${P}.tar.xz"
14    
15     LICENSE="LGPL-2"
16     SLOT="2.0"
17 ago 1.3 KEYWORDS="~alpha amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~sparc x86 ~amd64-fbsd"
18 pacho 1.1 IUSE="+modemmanager"
19    
20     RDEPEND="
21     >=dev-libs/glib-2.34:2
22     >=dev-libs/json-glib-0.14
23     net-libs/libsoup:2.4
24     sys-apps/dbus
25     modemmanager? ( >=net-misc/modemmanager-1 )
26     !<sci-geosciences/geocode-glib-3.10.0
27     "
28     DEPEND="${RDEPEND}
29     dev-util/gdbus-codegen
30     >=dev-util/gtk-doc-am-1
31     >=dev-util/intltool-0.40
32     virtual/pkgconfig
33     "
34    
35     src_configure() {
36     # debug only affects CFLAGS
37     gnome2_src_configure \
38     --with-dbus-service-user=geoclue \
39     $(use_enable modemmanager 3g-source) \
40     $(use_enable modemmanager modem-gps-source) \
41     $(systemd_with_unitdir)
42     }
43    
44     pkg_preinst() {
45     enewgroup geoclue
46     enewuser geoclue -1 -1 /var/lib/geoclue geoclue
47     }

  ViewVC Help
Powered by ViewVC 1.1.20