1 |
commit: ac44fd3d3acf849c468408e0aea567c6b3de02db |
2 |
Author: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Nov 26 23:04:11 2013 +0000 |
4 |
Commit: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Dec 1 14:23:34 2013 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=ac44fd3d |
7 |
|
8 |
app-misc/geoclue: 0.12.99 → 2.0.0 |
9 |
|
10 |
New slot, new ebuild. Not sure about everything yet but this should work |
11 |
for now. |
12 |
|
13 |
--- |
14 |
app-misc/geoclue/geoclue-2.0.0.ebuild | 45 +++++++++++++++++++++++++++++++++++ |
15 |
app-misc/geoclue/metadata.xml | 8 +++++++ |
16 |
2 files changed, 53 insertions(+) |
17 |
|
18 |
diff --git a/app-misc/geoclue/geoclue-2.0.0.ebuild b/app-misc/geoclue/geoclue-2.0.0.ebuild |
19 |
new file mode 100644 |
20 |
index 0000000..88b8ab4 |
21 |
--- /dev/null |
22 |
+++ b/app-misc/geoclue/geoclue-2.0.0.ebuild |
23 |
@@ -0,0 +1,45 @@ |
24 |
+# Copyright 1999-2013 Gentoo Foundation |
25 |
+# Distributed under the terms of the GNU General Public License v2 |
26 |
+# $Header: $ |
27 |
+ |
28 |
+EAPI="5" |
29 |
+ |
30 |
+inherit gnome2 user versionator |
31 |
+ |
32 |
+MY_PV=$(get_version_component_range 1-2) |
33 |
+DESCRIPTION="A geoinformation D-Bus service" |
34 |
+HOMEPAGE="http://freedesktop.org/wiki/Software/GeoClue" |
35 |
+SRC_URI="http://www.freedesktop.org/software/${PN}/releases/${MY_PV}/${P}.tar.xz" |
36 |
+ |
37 |
+LICENSE="LGPL-2" |
38 |
+SLOT="2.0" |
39 |
+KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd" |
40 |
+IUSE="server" |
41 |
+ |
42 |
+RDEPEND=" |
43 |
+ >=dev-libs/glib-2.34:2 |
44 |
+ >=dev-libs/json-glib-0.14 |
45 |
+ net-libs/libsoup:2.4 |
46 |
+ sys-apps/dbus |
47 |
+ server? ( >=dev-libs/geoip-1.5.1 ) |
48 |
+ !<sci-geosciences/geocode-glib-3.10.0 |
49 |
+" |
50 |
+DEPEND="${RDEPEND} |
51 |
+ >=dev-util/gtk-doc-am-1 |
52 |
+ >=dev-util/intltool-0.40 |
53 |
+ virtual/pkgconfig |
54 |
+" |
55 |
+ |
56 |
+RESTRICT="test" |
57 |
+ |
58 |
+src_configure() { |
59 |
+ # debug only affects CFLAGS |
60 |
+ gnome2_src_configure \ |
61 |
+ --with-dbus-service-user=geoclue \ |
62 |
+ $(use_enable server geoip-server) |
63 |
+} |
64 |
+ |
65 |
+pkg_preinst() { |
66 |
+ enewgroup geoclue |
67 |
+ enewuser geoclue -1 -1 /var/lib/geoclue geoclue |
68 |
+} |
69 |
|
70 |
diff --git a/app-misc/geoclue/metadata.xml b/app-misc/geoclue/metadata.xml |
71 |
new file mode 100644 |
72 |
index 0000000..05a5702 |
73 |
--- /dev/null |
74 |
+++ b/app-misc/geoclue/metadata.xml |
75 |
@@ -0,0 +1,8 @@ |
76 |
+<?xml version="1.0" encoding="UTF-8"?> |
77 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
78 |
+<pkgmetadata> |
79 |
+ <herd>gnome</herd> |
80 |
+ <use> |
81 |
+ <flag name="server">Install geoip server</flag> |
82 |
+ </use> |
83 |
+</pkgmetadata> |