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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Fri Dec 19 13:33:49 2014 UTC (5 years, 2 months ago) by pacho
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +2 -2 lines
amd64 stable, bug 529964

(Portage version: 2.2.15/cvs/Linux x86_64, RepoMan options: --include-arches="amd64", signed Manifest commit with key A188FBD4)

1 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-misc/geoclue/geoclue-2.1.10.ebuild,v 1.3 2014/12/18 14:53:28 pacho Exp $
4
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 KEYWORDS="~alpha amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~sparc x86 ~amd64-fbsd"
18 IUSE="+modemmanager"
19
20 RDEPEND="
21 >=dev-libs/glib-2.34:2
22 >=dev-libs/json-glib-0.14
23 >=net-libs/libsoup-2.42: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 cdma-source) \
41 $(use_enable modemmanager modem-gps-source) \
42 $(systemd_with_unitdir)
43 }
44
45 pkg_preinst() {
46 enewgroup geoclue
47 enewuser geoclue -1 -1 /var/lib/geoclue geoclue
48 }

  ViewVC Help
Powered by ViewVC 1.1.20