1 |
commit: 56c1d7b0fbd1c807c4678735400d25a2f54e38ad |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jan 7 08:03:44 2018 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jan 7 08:03:44 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=56c1d7b0 |
7 |
|
8 |
sci-geosciences/viking: fix QA issues, bug 643332 |
9 |
|
10 |
Call gnome2_icon_cache_update and xdg_desktop_database_update |
11 |
to updated caches. |
12 |
|
13 |
Closes: https://bugs.gentoo.org/643332 |
14 |
Package-Manager: Portage-2.3.13, Repoman-2.3.3 |
15 |
|
16 |
sci-geosciences/viking/viking-1.6.2-r1.ebuild | 84 +++++++++++++++++++++++++++ |
17 |
1 file changed, 84 insertions(+) |
18 |
|
19 |
diff --git a/sci-geosciences/viking/viking-1.6.2-r1.ebuild b/sci-geosciences/viking/viking-1.6.2-r1.ebuild |
20 |
new file mode 100644 |
21 |
index 00000000000..3fec473d5bf |
22 |
--- /dev/null |
23 |
+++ b/sci-geosciences/viking/viking-1.6.2-r1.ebuild |
24 |
@@ -0,0 +1,84 @@ |
25 |
+# Copyright 1999-2018 Gentoo Foundation |
26 |
+# Distributed under the terms of the GNU General Public License v2 |
27 |
+ |
28 |
+EAPI=6 |
29 |
+ |
30 |
+inherit gnome2-utils |
31 |
+ |
32 |
+DESCRIPTION="GPS data editor and analyzer" |
33 |
+HOMEPAGE="https://sourceforge.net/projects/viking/" |
34 |
+IUSE="doc +exif libexif gps +magic mapnik nls sqlite" |
35 |
+SRC_URI=" |
36 |
+ mirror://sourceforge/${PN}/${P}.tar.bz2 |
37 |
+ doc? ( mirror://sourceforge/${PN}/${PN}.pdf )" |
38 |
+ |
39 |
+LICENSE="GPL-2" |
40 |
+SLOT="0" |
41 |
+KEYWORDS="~amd64 ~ppc ~x86" |
42 |
+ |
43 |
+COMMONDEPEND=" |
44 |
+ app-arch/bzip2 |
45 |
+ dev-libs/expat |
46 |
+ dev-libs/glib:2 |
47 |
+ net-misc/curl |
48 |
+ sys-libs/zlib |
49 |
+ x11-libs/gdk-pixbuf:2 |
50 |
+ x11-libs/gtk+:2 |
51 |
+ gps? ( >=sci-geosciences/gpsd-2.96 ) |
52 |
+ exif? ( libexif? ( media-libs/libexif ) !libexif? ( media-libs/gexiv2 ) ) |
53 |
+ magic? ( sys-apps/file ) |
54 |
+ mapnik? ( sci-geosciences/mapnik ) |
55 |
+ sqlite? ( dev-db/sqlite:3 ) |
56 |
+" |
57 |
+RDEPEND="${COMMONDEPEND} |
58 |
+ sci-geosciences/gpsbabel |
59 |
+" |
60 |
+DEPEND="${COMMONDEPEND} |
61 |
+ app-text/gnome-doc-utils |
62 |
+ dev-util/intltool |
63 |
+ dev-util/gtk-doc-am |
64 |
+ app-text/rarian |
65 |
+ dev-libs/libxslt |
66 |
+ virtual/pkgconfig |
67 |
+ sys-devel/gettext |
68 |
+" |
69 |
+ |
70 |
+src_configure() { |
71 |
+ econf \ |
72 |
+ --disable-deprecations \ |
73 |
+ --with-libcurl \ |
74 |
+ --with-expat \ |
75 |
+ --enable-google \ |
76 |
+ --enable-terraserver \ |
77 |
+ --enable-expedia \ |
78 |
+ --enable-openstreetmap \ |
79 |
+ --enable-bluemarble \ |
80 |
+ --enable-geonames \ |
81 |
+ --enable-geocaches \ |
82 |
+ --disable-dem24k \ |
83 |
+ $(use_enable exif geotag) \ |
84 |
+ $(use_with libexif ) \ |
85 |
+ $(use_enable gps realtime-gps-tracking) \ |
86 |
+ $(use_enable magic) \ |
87 |
+ $(use_enable mapnik) \ |
88 |
+ $(use_enable nls) \ |
89 |
+ $(use_enable sqlite mbtiles ) |
90 |
+} |
91 |
+ |
92 |
+src_install() { |
93 |
+ default |
94 |
+ if use doc; then |
95 |
+ insinto /usr/share/doc/${PF} |
96 |
+ doins "${DISTDIR}"/${PN}.pdf |
97 |
+ fi |
98 |
+} |
99 |
+ |
100 |
+pkg_postinst() { |
101 |
+ xdg_desktop_database_update |
102 |
+ gnome2_icon_cache_update |
103 |
+} |
104 |
+ |
105 |
+pkg_postrm() { |
106 |
+ xdg_desktop_database_update |
107 |
+ gnome2_icon_cache_update |
108 |
+} |