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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Fri Jun 26 09:20:54 2015 UTC (4 years, 8 months ago) by ago
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +2 -2 lines
Stable for x86, wrt bug #551814

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

1 # Copyright 1999-2015 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.2.0.ebuild,v 1.2 2015/06/21 10:38:50 zlogene 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