1 |
commit: b3fc2c2b04dac74e69a7aabf4dbaa89080de5604 |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jan 8 08:33:33 2022 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jan 8 11:46:59 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b3fc2c2b |
7 |
|
8 |
sci-geosciences/viking: cleanup |
9 |
|
10 |
Package-Manager: Portage-3.0.28, Repoman-3.0.3 |
11 |
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> |
12 |
|
13 |
sci-geosciences/viking/Manifest | 2 - |
14 |
.../viking/files/viking-1.7-no-common.patch | 13 --- |
15 |
.../viking/files/viking-1.8-libexif.patch | 22 ----- |
16 |
.../viking/files/viking-1.9-geocache.patch | 88 ------------------ |
17 |
sci-geosciences/viking/metadata.xml | 3 - |
18 |
sci-geosciences/viking/viking-1.8-r1.ebuild | 99 -------------------- |
19 |
sci-geosciences/viking/viking-1.8.ebuild | 99 -------------------- |
20 |
sci-geosciences/viking/viking-1.9.ebuild | 100 --------------------- |
21 |
8 files changed, 426 deletions(-) |
22 |
|
23 |
diff --git a/sci-geosciences/viking/Manifest b/sci-geosciences/viking/Manifest |
24 |
index 26b6a8c3c166..7218e68ea4eb 100644 |
25 |
--- a/sci-geosciences/viking/Manifest |
26 |
+++ b/sci-geosciences/viking/Manifest |
27 |
@@ -1,4 +1,2 @@ |
28 |
DIST viking-1.10.tar.gz 6014926 BLAKE2B 667a5cd854449f54c6f5969118a445903cafae4e8f046f14b6802f53a76c217cf960dd11876ed237112026f96da2906bb68b2474ba4e72696bd8b8a082cf7189 SHA512 8d0b3b46e139b8c03730140d89e8eaf6f1dbcde504011710d122e5239d11d1115464b087edd531228be199286605df0deb3f4b75fae0222128b0f5098344527e |
29 |
-DIST viking-1.8.tar.gz 5207444 BLAKE2B 6a9b786dd23e643a68c25d68e2e14c5a38d2fe6a4a57f6266e13d9208f8c3b49c122921ecf4c54c2630bf9a11e5288346643b4bf92aad67824e8c928de270f84 SHA512 c401e69a6038e4b20c5a2fdecb8b028156e7e8829dd9d48596b0501b6e0a364dc6cc0ab0a8c4bcc731b5c6721835d3cfb605b76ec3b266dab2426df12c321e62 |
30 |
-DIST viking-1.9.tar.gz 5962048 BLAKE2B 7997286619d55687c5f2a394c8e068432c025f4210e579eae68e344495690e08e609352af3a71f3dc10161bd3cbb1126241abd928a13555466c37d164aa1fa5c SHA512 44be8e008db369e8700f91a67f4e4fb7aaab67fa498e71da98502b2893e8efd85502caca23ce9ccba4cf0d167328c4b87b5e422e15b3f8611acf814053646697 |
31 |
DIST viking.pdf 383200 BLAKE2B 388129023e62008de2d2c402a72aa1e4a1834f99e6666bb9deedb5f5c32e8b94edeadf5a40e7b1f941aacc0057d4dcfbaf13c3098eb4efa02e3a1a8e00288201 SHA512 481c88afd43783475366d41cd46a7fa5fdbcd20fec27b3ce286fb8abe1e9efbb4164def0d19fca2380fa95b5b97e9472f25ff5e10f8d95261e85b7c4a52d29ee |
32 |
|
33 |
diff --git a/sci-geosciences/viking/files/viking-1.7-no-common.patch b/sci-geosciences/viking/files/viking-1.7-no-common.patch |
34 |
deleted file mode 100644 |
35 |
index bf49709dc865..000000000000 |
36 |
--- a/sci-geosciences/viking/files/viking-1.7-no-common.patch |
37 |
+++ /dev/null |
38 |
@@ -1,13 +0,0 @@ |
39 |
---- a/src/babel.h.orig 2020-02-06 07:22:12.924565811 +0100 |
40 |
-+++ b/src/babel.h 2020-02-06 07:22:25.092329302 +0100 |
41 |
-@@ -109,8 +109,8 @@ |
42 |
- gchar *label; |
43 |
- } BabelFile; |
44 |
- |
45 |
--GList *a_babel_file_list; |
46 |
--GList *a_babel_device_list; |
47 |
-+extern GList *a_babel_file_list; |
48 |
-+extern GList *a_babel_device_list; |
49 |
- |
50 |
- void a_babel_foreach_file_with_mode (BabelMode mode, GFunc func, gpointer user_data); |
51 |
- void a_babel_foreach_file_read_any (GFunc func, gpointer user_data); |
52 |
|
53 |
diff --git a/sci-geosciences/viking/files/viking-1.8-libexif.patch b/sci-geosciences/viking/files/viking-1.8-libexif.patch |
54 |
deleted file mode 100644 |
55 |
index 0f8bd81fe1cd..000000000000 |
56 |
--- a/sci-geosciences/viking/files/viking-1.8-libexif.patch |
57 |
+++ /dev/null |
58 |
@@ -1,22 +0,0 @@ |
59 |
-From da4e97b0766243f937d11a4a4cbd6ab5aaac4e0f Mon Sep 17 00:00:00 2001 |
60 |
-From: Rob Norris <rw_norris@×××××××.com> |
61 |
-Date: Sun, 9 Feb 2020 11:28:30 +0000 |
62 |
-Subject: [PATCH] Github #80: Fix build with '--with-libexif' |
63 |
- |
64 |
---- |
65 |
- src/geotag_exif.c | 2 +- |
66 |
- 1 file changed, 1 insertion(+), 1 deletion(-) |
67 |
- |
68 |
-diff --git a/src/geotag_exif.c b/src/geotag_exif.c |
69 |
-index 0e879a39..6e9514a7 100644 |
70 |
---- a/src/geotag_exif.c |
71 |
-+++ b/src/geotag_exif.c |
72 |
-@@ -362,7 +362,7 @@ VikWaypoint* a_geotag_create_waypoint_from_file ( const gchar *filename, VikCoor |
73 |
- // Not worried if none of the other fields exist, as can default the values to something |
74 |
- // |
75 |
- |
76 |
-- gdouble alt = VIK_DEFAULT_ALTITUDE; |
77 |
-+ gdouble alt = NAN; |
78 |
- ee = exif_content_get_entry (ed->ifd[EXIF_IFD_GPS], EXIF_TAG_GPS_ALTITUDE); |
79 |
- if ( ee && ee->components == 1 && ee->format == EXIF_FORMAT_RATIONAL ) { |
80 |
- alt = Rational2Double ( ee->data, |
81 |
|
82 |
diff --git a/sci-geosciences/viking/files/viking-1.9-geocache.patch b/sci-geosciences/viking/files/viking-1.9-geocache.patch |
83 |
deleted file mode 100644 |
84 |
index 4779c10dcd4c..000000000000 |
85 |
--- a/sci-geosciences/viking/files/viking-1.9-geocache.patch |
86 |
+++ /dev/null |
87 |
@@ -1,88 +0,0 @@ |
88 |
-From bdfa84467787138b8a180938006b864a39d0dec0 Mon Sep 17 00:00:00 2001 |
89 |
-From: Rob Norris <rw_norris@×××××××.com> |
90 |
-Date: Thu, 3 Jun 2021 21:30:02 +0100 |
91 |
-Subject: [PATCH] Github #128: Maintain datasource_gc.c such that it at least |
92 |
- compiles |
93 |
- |
94 |
---- |
95 |
- src/datasource_gc.c | 28 +++++++++++++++------------- |
96 |
- 1 file changed, 15 insertions(+), 13 deletions(-) |
97 |
- |
98 |
-diff --git a/src/datasource_gc.c b/src/datasource_gc.c |
99 |
-index 37fa425a..22292b2c 100644 |
100 |
---- a/src/datasource_gc.c |
101 |
-+++ b/src/datasource_gc.c |
102 |
-@@ -128,9 +128,9 @@ static void datasource_gc_draw_circle ( datasource_gc_widgets_t *widgets ) |
103 |
- gdouble lat, lon; |
104 |
- if ( widgets->circle_onscreen ) { |
105 |
- vik_viewport_draw_arc ( widgets->vvp, widgets->circle_gc, FALSE, |
106 |
-- widgets->circle_x - widgets->circle_width/2, |
107 |
-- widgets->circle_y - widgets->circle_width/2, |
108 |
-- widgets->circle_width, widgets->circle_width, 0, 360*64 ); |
109 |
-+ widgets->circle_x - widgets->circle_width/2, |
110 |
-+ widgets->circle_y - widgets->circle_width/2, |
111 |
-+ widgets->circle_width, widgets->circle_width, 0, 360*64, NULL ); |
112 |
- } |
113 |
- /* calculate widgets circle_x and circle_y */ |
114 |
- /* split up lat,lon into lat and lon */ |
115 |
-@@ -157,13 +157,13 @@ static void datasource_gc_draw_circle ( datasource_gc_widgets_t *widgets ) |
116 |
- pixels_per_meter = ((gdouble)vik_viewport_get_width(widgets->vvp)) / vik_coord_diff(&c1, &c2); |
117 |
- |
118 |
- /* this is approximate */ |
119 |
-- widgets->circle_width = gtk_spin_button_get_value_as_float ( GTK_SPIN_BUTTON(widgets->miles_radius_spin) ) |
120 |
-+ widgets->circle_width = gtk_spin_button_get_value ( GTK_SPIN_BUTTON(widgets->miles_radius_spin) ) |
121 |
- * METERSPERMILE * pixels_per_meter * 2; |
122 |
- |
123 |
- vik_viewport_draw_arc ( widgets->vvp, widgets->circle_gc, FALSE, |
124 |
-- widgets->circle_x - widgets->circle_width/2, |
125 |
-- widgets->circle_y - widgets->circle_width/2, |
126 |
-- widgets->circle_width, widgets->circle_width, 0, 360*64 ); |
127 |
-+ widgets->circle_x - widgets->circle_width/2, |
128 |
-+ widgets->circle_y - widgets->circle_width/2, |
129 |
-+ widgets->circle_width, widgets->circle_width, 0, 360*64, NULL ); |
130 |
- |
131 |
- widgets->circle_onscreen = TRUE; |
132 |
- } else |
133 |
-@@ -172,7 +172,7 @@ static void datasource_gc_draw_circle ( datasource_gc_widgets_t *widgets ) |
134 |
- |
135 |
- /* see if onscreen */ |
136 |
- /* okay */ |
137 |
-- vik_viewport_sync ( widgets->vvp ); |
138 |
-+ vik_viewport_sync ( widgets->vvp, NULL ); |
139 |
- } |
140 |
- |
141 |
- static void datasource_gc_add_setup_widgets ( GtkWidget *dialog, VikViewport *vvp, gpointer user_data ) |
142 |
-@@ -197,7 +197,9 @@ static void datasource_gc_add_setup_widgets ( GtkWidget *dialog, VikViewport *vv |
143 |
- |
144 |
- widgets->vvp = vvp; |
145 |
- widgets->circle_gc = vik_viewport_new_gc ( vvp, "#000000", 3 ); |
146 |
-+#if !GTK_CHECK_VERSION (3,0,0) |
147 |
- gdk_gc_set_function ( widgets->circle_gc, GDK_INVERT ); |
148 |
-+#endif |
149 |
- widgets->circle_onscreen = TRUE; |
150 |
- datasource_gc_draw_circle ( widgets ); |
151 |
- |
152 |
-@@ -240,7 +242,7 @@ static void datasource_gc_get_process_options ( datasource_gc_widgets_t *widgets |
153 |
- po->shell_command = g_strdup_printf( "rm -f ~/.geo/caches/*.html ; %s -H ~/.geo/caches -P -n%d -r%.1fM -u %s -p %s %s %s ; %s -z ~/.geo/caches/*.html ", |
154 |
- GC_PROGRAM1, |
155 |
- gtk_spin_button_get_value_as_int ( GTK_SPIN_BUTTON(widgets->num_spin) ), |
156 |
-- gtk_spin_button_get_value_as_float ( GTK_SPIN_BUTTON(widgets->miles_radius_spin) ), |
157 |
-+ gtk_spin_button_get_value ( GTK_SPIN_BUTTON(widgets->miles_radius_spin) ), |
158 |
- safe_user, |
159 |
- safe_pass, |
160 |
- slat, slon, |
161 |
-@@ -256,10 +258,10 @@ static void datasource_gc_cleanup ( datasource_gc_widgets_t *widgets ) |
162 |
- { |
163 |
- if ( widgets->circle_onscreen ) { |
164 |
- vik_viewport_draw_arc ( widgets->vvp, widgets->circle_gc, FALSE, |
165 |
-- widgets->circle_x - widgets->circle_width/2, |
166 |
-- widgets->circle_y - widgets->circle_width/2, |
167 |
-- widgets->circle_width, widgets->circle_width, 0, 360*64 ); |
168 |
-- vik_viewport_sync( widgets->vvp ); |
169 |
-+ widgets->circle_x - widgets->circle_width/2, |
170 |
-+ widgets->circle_y - widgets->circle_width/2, |
171 |
-+ widgets->circle_width, widgets->circle_width, 0, 360*64, NULL ); |
172 |
-+ vik_viewport_sync( widgets->vvp, NULL ); |
173 |
- } |
174 |
- g_free ( widgets ); |
175 |
- } |
176 |
|
177 |
diff --git a/sci-geosciences/viking/metadata.xml b/sci-geosciences/viking/metadata.xml |
178 |
index 178eb9cbdd6f..d113d8a61afa 100644 |
179 |
--- a/sci-geosciences/viking/metadata.xml |
180 |
+++ b/sci-geosciences/viking/metadata.xml |
181 |
@@ -18,9 +18,6 @@ |
182 |
<flag name="oauth"> |
183 |
Enable OAuth authentication for OSM |
184 |
</flag> |
185 |
- <flag name="sqlite"> |
186 |
- Enable MBTiles support based on <pkg>dev-db/sqlite</pkg> |
187 |
- </flag> |
188 |
</use> |
189 |
<upstream> |
190 |
<remote-id type="sourceforge">viking</remote-id> |
191 |
|
192 |
diff --git a/sci-geosciences/viking/viking-1.8-r1.ebuild b/sci-geosciences/viking/viking-1.8-r1.ebuild |
193 |
deleted file mode 100644 |
194 |
index 01aa13e51818..000000000000 |
195 |
--- a/sci-geosciences/viking/viking-1.8-r1.ebuild |
196 |
+++ /dev/null |
197 |
@@ -1,99 +0,0 @@ |
198 |
-# Copyright 1999-2021 Gentoo Authors |
199 |
-# Distributed under the terms of the GNU General Public License v2 |
200 |
- |
201 |
-EAPI=7 |
202 |
- |
203 |
-inherit autotools xdg-utils |
204 |
- |
205 |
-DESCRIPTION="GPS data editor and analyzer" |
206 |
-HOMEPAGE="https://github.com/viking-gps/viking/" |
207 |
-IUSE="doc +exif libexif geoclue gps +magic nls oauth" |
208 |
-SRC_URI=" |
209 |
- https://github.com/viking-gps/${PN}/archive/${P}.tar.gz |
210 |
- doc? ( https://github.com/viking-gps/${PN}/releases/download/${P}/${PN}.pdf )" |
211 |
- |
212 |
-LICENSE="GPL-2" |
213 |
-SLOT="0" |
214 |
-KEYWORDS="~amd64 ~x86" |
215 |
- |
216 |
-COMMONDEPEND=" |
217 |
- app-arch/bzip2 |
218 |
- >=dev-tcltk/expect-5.45.4 |
219 |
- dev-db/sqlite:3 |
220 |
- dev-libs/expat |
221 |
- dev-libs/glib:2 |
222 |
- dev-libs/nettle |
223 |
- net-misc/curl |
224 |
- sys-libs/zlib |
225 |
- x11-libs/gdk-pixbuf:2 |
226 |
- x11-libs/gtk+:2 |
227 |
- geoclue? ( >=app-misc/geoclue-2.4.4:2.0 ) |
228 |
- gps? ( >=sci-geosciences/gpsd-3.20 ) |
229 |
- exif? ( libexif? ( media-libs/libexif ) !libexif? ( media-libs/gexiv2 ) ) |
230 |
- magic? ( sys-apps/file ) |
231 |
- oauth? ( net-libs/liboauth ) |
232 |
-" |
233 |
-RDEPEND="${COMMONDEPEND} |
234 |
- sci-geosciences/gpsbabel |
235 |
-" |
236 |
-DEPEND="${COMMONDEPEND} |
237 |
- app-text/gnome-doc-utils |
238 |
- dev-util/intltool |
239 |
- dev-util/gtk-doc |
240 |
- dev-util/gtk-doc-am |
241 |
- app-text/rarian |
242 |
- dev-libs/libxslt |
243 |
- virtual/pkgconfig |
244 |
- sys-devel/gettext |
245 |
-" |
246 |
- |
247 |
-PATCHES=( "${FILESDIR}/${PN}-1.7-no-common.patch" "${FILESDIR}/${P}-libexif.patch" ) |
248 |
- |
249 |
-S="${WORKDIR}/${PN}-${P}" |
250 |
- |
251 |
-src_prepare() { |
252 |
- default |
253 |
- eautoreconf |
254 |
-} |
255 |
- |
256 |
-src_configure() { |
257 |
- econf \ |
258 |
- --disable-deprecations \ |
259 |
- --with-libcurl \ |
260 |
- --with-expat \ |
261 |
- --enable-google \ |
262 |
- --enable-nettle \ |
263 |
- --enable-terraserver \ |
264 |
- --enable-expedia \ |
265 |
- --enable-openstreetmap \ |
266 |
- --enable-bluemarble \ |
267 |
- --enable-geonames \ |
268 |
- --enable-geocaches \ |
269 |
- --disable-dem24k \ |
270 |
- --disable-mapnik \ |
271 |
- --enable-mbtiles \ |
272 |
- $(use_enable exif geotag) \ |
273 |
- $(use_with libexif ) \ |
274 |
- $(use_enable geoclue) \ |
275 |
- $(use_enable gps realtime-gps-tracking) \ |
276 |
- $(use_enable magic) \ |
277 |
- $(use_enable nls) \ |
278 |
- $(use_enable oauth) |
279 |
-} |
280 |
- |
281 |
-src_install() { |
282 |
- default |
283 |
- if use doc; then |
284 |
- dodoc "${DISTDIR}"/${PN}.pdf |
285 |
- fi |
286 |
-} |
287 |
- |
288 |
-pkg_postinst() { |
289 |
- xdg_icon_cache_update |
290 |
- xdg_desktop_database_update |
291 |
-} |
292 |
- |
293 |
-pkg_postrm() { |
294 |
- xdg_icon_cache_update |
295 |
- xdg_desktop_database_update |
296 |
-} |
297 |
|
298 |
diff --git a/sci-geosciences/viking/viking-1.8.ebuild b/sci-geosciences/viking/viking-1.8.ebuild |
299 |
deleted file mode 100644 |
300 |
index 30f8dbe12482..000000000000 |
301 |
--- a/sci-geosciences/viking/viking-1.8.ebuild |
302 |
+++ /dev/null |
303 |
@@ -1,99 +0,0 @@ |
304 |
-# Copyright 1999-2021 Gentoo Authors |
305 |
-# Distributed under the terms of the GNU General Public License v2 |
306 |
- |
307 |
-EAPI=7 |
308 |
- |
309 |
-inherit autotools xdg-utils |
310 |
- |
311 |
-DESCRIPTION="GPS data editor and analyzer" |
312 |
-HOMEPAGE="https://github.com/viking-gps/viking/" |
313 |
-IUSE="doc +exif libexif geoclue gps +magic nls oauth sqlite" |
314 |
-SRC_URI=" |
315 |
- https://github.com/viking-gps/${PN}/archive/${P}.tar.gz |
316 |
- doc? ( https://github.com/viking-gps/${PN}/releases/download/${P}/${PN}.pdf )" |
317 |
- |
318 |
-LICENSE="GPL-2" |
319 |
-SLOT="0" |
320 |
-KEYWORDS="~amd64 ~x86" |
321 |
- |
322 |
-COMMONDEPEND=" |
323 |
- app-arch/bzip2 |
324 |
- >=dev-tcltk/expect-5.45.4 |
325 |
- dev-libs/expat |
326 |
- dev-libs/glib:2 |
327 |
- dev-libs/nettle |
328 |
- net-misc/curl |
329 |
- sys-libs/zlib |
330 |
- x11-libs/gdk-pixbuf:2 |
331 |
- x11-libs/gtk+:2 |
332 |
- geoclue? ( >=app-misc/geoclue-2.4.4:2.0 ) |
333 |
- gps? ( >=sci-geosciences/gpsd-3.20 ) |
334 |
- exif? ( libexif? ( media-libs/libexif ) !libexif? ( media-libs/gexiv2 ) ) |
335 |
- magic? ( sys-apps/file ) |
336 |
- oauth? ( net-libs/liboauth ) |
337 |
- sqlite? ( dev-db/sqlite:3 ) |
338 |
-" |
339 |
-RDEPEND="${COMMONDEPEND} |
340 |
- sci-geosciences/gpsbabel |
341 |
-" |
342 |
-DEPEND="${COMMONDEPEND} |
343 |
- app-text/gnome-doc-utils |
344 |
- dev-util/intltool |
345 |
- dev-util/gtk-doc |
346 |
- dev-util/gtk-doc-am |
347 |
- app-text/rarian |
348 |
- dev-libs/libxslt |
349 |
- virtual/pkgconfig |
350 |
- sys-devel/gettext |
351 |
-" |
352 |
- |
353 |
-PATCHES=( "${FILESDIR}/${PN}-1.7-no-common.patch" ) |
354 |
- |
355 |
-S="${WORKDIR}/${PN}-${P}" |
356 |
- |
357 |
-src_prepare() { |
358 |
- default |
359 |
- eautoreconf |
360 |
-} |
361 |
- |
362 |
-src_configure() { |
363 |
- econf \ |
364 |
- --disable-deprecations \ |
365 |
- --with-libcurl \ |
366 |
- --with-expat \ |
367 |
- --enable-google \ |
368 |
- --enable-nettle \ |
369 |
- --enable-terraserver \ |
370 |
- --enable-expedia \ |
371 |
- --enable-openstreetmap \ |
372 |
- --enable-bluemarble \ |
373 |
- --enable-geonames \ |
374 |
- --enable-geocaches \ |
375 |
- --disable-dem24k \ |
376 |
- --disable-mapnik \ |
377 |
- $(use_enable exif geotag) \ |
378 |
- $(use_with libexif ) \ |
379 |
- $(use_enable geoclue) \ |
380 |
- $(use_enable gps realtime-gps-tracking) \ |
381 |
- $(use_enable magic) \ |
382 |
- $(use_enable nls) \ |
383 |
- $(use_enable oauth) \ |
384 |
- $(use_enable sqlite mbtiles ) |
385 |
-} |
386 |
- |
387 |
-src_install() { |
388 |
- default |
389 |
- if use doc; then |
390 |
- dodoc "${DISTDIR}"/${PN}.pdf |
391 |
- fi |
392 |
-} |
393 |
- |
394 |
-pkg_postinst() { |
395 |
- xdg_icon_cache_update |
396 |
- xdg_desktop_database_update |
397 |
-} |
398 |
- |
399 |
-pkg_postrm() { |
400 |
- xdg_icon_cache_update |
401 |
- xdg_desktop_database_update |
402 |
-} |
403 |
|
404 |
diff --git a/sci-geosciences/viking/viking-1.9.ebuild b/sci-geosciences/viking/viking-1.9.ebuild |
405 |
deleted file mode 100644 |
406 |
index 3a74ac41d23c..000000000000 |
407 |
--- a/sci-geosciences/viking/viking-1.9.ebuild |
408 |
+++ /dev/null |
409 |
@@ -1,100 +0,0 @@ |
410 |
-# Copyright 1999-2021 Gentoo Authors |
411 |
-# Distributed under the terms of the GNU General Public License v2 |
412 |
- |
413 |
-EAPI=8 |
414 |
- |
415 |
-inherit autotools xdg-utils |
416 |
- |
417 |
-DESCRIPTION="GPS data editor and analyzer" |
418 |
-HOMEPAGE="https://github.com/viking-gps/viking/" |
419 |
-IUSE="doc +exif libexif geoclue gps +magic nls oauth" |
420 |
-SRC_URI=" |
421 |
- https://github.com/viking-gps/${PN}/archive/${P}.tar.gz |
422 |
- doc? ( https://github.com/viking-gps/${PN}/releases/download/${P}/${PN}.pdf )" |
423 |
- |
424 |
-LICENSE="GPL-2" |
425 |
-SLOT="0" |
426 |
-KEYWORDS="~amd64 ~x86" |
427 |
- |
428 |
-COMMONDEPEND=" |
429 |
- app-arch/bzip2 |
430 |
- >=dev-tcltk/expect-5.45.4 |
431 |
- dev-db/sqlite:3 |
432 |
- dev-libs/expat |
433 |
- >=dev-libs/glib-2.44:2 |
434 |
- >=dev-libs/json-glib-0.16 |
435 |
- dev-libs/nettle |
436 |
- net-misc/curl |
437 |
- sys-libs/zlib |
438 |
- >=x11-libs/gdk-pixbuf-2.26:2 |
439 |
- >=x11-libs/gtk+-3.22:3 |
440 |
- geoclue? ( >=app-misc/geoclue-2.4.4:2.0 ) |
441 |
- gps? ( >=sci-geosciences/gpsd-3.20 ) |
442 |
- exif? ( libexif? ( media-libs/libexif ) !libexif? ( media-libs/gexiv2 ) ) |
443 |
- magic? ( sys-apps/file ) |
444 |
- oauth? ( net-libs/liboauth ) |
445 |
-" |
446 |
-RDEPEND="${COMMONDEPEND} |
447 |
- sci-geosciences/gpsbabel |
448 |
-" |
449 |
-DEPEND="${COMMONDEPEND} |
450 |
- app-text/yelp-tools |
451 |
- dev-util/intltool |
452 |
- dev-util/gtk-doc |
453 |
- dev-util/gtk-doc-am |
454 |
- dev-libs/libxslt |
455 |
- virtual/pkgconfig |
456 |
- sys-devel/gettext |
457 |
-" |
458 |
- |
459 |
-S="${WORKDIR}/${PN}-${P}" |
460 |
- |
461 |
-PATCHES=( "${FILESDIR}/${P}-geocache.patch" ) |
462 |
- |
463 |
-src_prepare() |
464 |
-{ |
465 |
- default |
466 |
- eautoreconf |
467 |
-} |
468 |
- |
469 |
-src_configure() { |
470 |
- econf \ |
471 |
- --disable-deprecations \ |
472 |
- --with-libcurl \ |
473 |
- --with-expat \ |
474 |
- --enable-google \ |
475 |
- --enable-nettle \ |
476 |
- --enable-terraserver \ |
477 |
- --enable-expedia \ |
478 |
- --enable-openstreetmap \ |
479 |
- --enable-bluemarble \ |
480 |
- --enable-geonames \ |
481 |
- --enable-geocaches \ |
482 |
- --disable-dem24k \ |
483 |
- --disable-mapnik \ |
484 |
- --enable-mbtiles \ |
485 |
- $(use_enable exif geotag) \ |
486 |
- $(use_with libexif ) \ |
487 |
- $(use_enable geoclue) \ |
488 |
- $(use_enable gps realtime-gps-tracking) \ |
489 |
- $(use_enable magic) \ |
490 |
- $(use_enable nls) \ |
491 |
- $(use_enable oauth) |
492 |
-} |
493 |
- |
494 |
-src_install() { |
495 |
- default |
496 |
- if use doc; then |
497 |
- dodoc "${DISTDIR}"/${PN}.pdf |
498 |
- fi |
499 |
-} |
500 |
- |
501 |
-pkg_postinst() { |
502 |
- xdg_icon_cache_update |
503 |
- xdg_desktop_database_update |
504 |
-} |
505 |
- |
506 |
-pkg_postrm() { |
507 |
- xdg_icon_cache_update |
508 |
- xdg_desktop_database_update |
509 |
-} |