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