summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2018-10-14 08:40:12 +0200
committerHans de Graaff <graaff@gentoo.org>2018-10-14 08:40:12 +0200
commitef6b4fb7658ffe5fa59109542da7c8aac938c143 (patch)
tree87501eecdaa15efcbf50ca4bfd7488d926c5d336 /sci-geosciences/viking
parentx11-misc/revelation: move ~ppc keyword forward (diff)
downloadgentoo-ef6b4fb7658ffe5fa59109542da7c8aac938c143.tar.gz
gentoo-ef6b4fb7658ffe5fa59109542da7c8aac938c143.tar.bz2
gentoo-ef6b4fb7658ffe5fa59109542da7c8aac938c143.zip
sci-geosciences/viking: add dependency for unbuffer tool
Add dependency on new enough dev-tcltk/expect which provides the unbuffer tool that viking expects to be present. Closes: https://bugs.gentoo.org/536414 Signed-off-by: Hans de Graaff <graaff@gentoo.org> Package-Manager: Portage-2.3.49, Repoman-2.3.11
Diffstat (limited to 'sci-geosciences/viking')
-rw-r--r--sci-geosciences/viking/viking-1.6.2-r2.ebuild85
1 files changed, 85 insertions, 0 deletions
diff --git a/sci-geosciences/viking/viking-1.6.2-r2.ebuild b/sci-geosciences/viking/viking-1.6.2-r2.ebuild
new file mode 100644
index 000000000000..365f8b560b11
--- /dev/null
+++ b/sci-geosciences/viking/viking-1.6.2-r2.ebuild
@@ -0,0 +1,85 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit gnome2-utils
+
+DESCRIPTION="GPS data editor and analyzer"
+HOMEPAGE="https://sourceforge.net/projects/viking/"
+IUSE="doc +exif libexif gps +magic mapnik nls sqlite"
+SRC_URI="
+ mirror://sourceforge/${PN}/${P}.tar.bz2
+ doc? ( mirror://sourceforge/${PN}/${PN}.pdf )"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+COMMONDEPEND="
+ app-arch/bzip2
+ >=dev-tcltk/expect-5.45.4
+ dev-libs/expat
+ dev-libs/glib:2
+ net-misc/curl
+ sys-libs/zlib
+ x11-libs/gdk-pixbuf:2
+ x11-libs/gtk+:2
+ gps? ( >=sci-geosciences/gpsd-2.96 )
+ exif? ( libexif? ( media-libs/libexif ) !libexif? ( media-libs/gexiv2 ) )
+ magic? ( sys-apps/file )
+ mapnik? ( sci-geosciences/mapnik )
+ sqlite? ( dev-db/sqlite:3 )
+"
+RDEPEND="${COMMONDEPEND}
+ sci-geosciences/gpsbabel
+"
+DEPEND="${COMMONDEPEND}
+ app-text/gnome-doc-utils
+ dev-util/intltool
+ dev-util/gtk-doc-am
+ app-text/rarian
+ dev-libs/libxslt
+ virtual/pkgconfig
+ sys-devel/gettext
+"
+
+src_configure() {
+ econf \
+ --disable-deprecations \
+ --with-libcurl \
+ --with-expat \
+ --enable-google \
+ --enable-terraserver \
+ --enable-expedia \
+ --enable-openstreetmap \
+ --enable-bluemarble \
+ --enable-geonames \
+ --enable-geocaches \
+ --disable-dem24k \
+ $(use_enable exif geotag) \
+ $(use_with libexif ) \
+ $(use_enable gps realtime-gps-tracking) \
+ $(use_enable magic) \
+ $(use_enable mapnik) \
+ $(use_enable nls) \
+ $(use_enable sqlite mbtiles )
+}
+
+src_install() {
+ default
+ if use doc; then
+ insinto /usr/share/doc/${PF}
+ doins "${DISTDIR}"/${PN}.pdf
+ fi
+}
+
+pkg_postinst() {
+ xdg_desktop_database_update
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ xdg_desktop_database_update
+ gnome2_icon_cache_update
+}