summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-geosciences/viking/viking-1.2.1.ebuild')
-rw-r--r--sci-geosciences/viking/viking-1.2.1.ebuild59
1 files changed, 59 insertions, 0 deletions
diff --git a/sci-geosciences/viking/viking-1.2.1.ebuild b/sci-geosciences/viking/viking-1.2.1.ebuild
new file mode 100644
index 000000000000..b88a33bff678
--- /dev/null
+++ b/sci-geosciences/viking/viking-1.2.1.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/viking/viking-1.2.1.ebuild,v 1.1 2011/06/17 08:43:45 scarabeus Exp $
+
+EAPI=4
+
+inherit base
+
+DESCRIPTION="GPS data editor and analyzer"
+HOMEPAGE="http://viking.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="gps nls"
+KEYWORDS="~amd64 ~ppc ~x86"
+
+COMMONDEPEND="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 )
+"
+RDEPEND="${COMMONDEPEND}
+ sci-geosciences/gpsbabel
+"
+DEPEND="${COMMONDEPEND}
+ app-text/gnome-doc-utils
+ app-text/rarian
+ dev-libs/libxslt
+ dev-util/pkgconfig
+ sys-devel/gettext
+"
+
+DOCS=( README doc/GEOCODED-PHOTOS doc/GETTING-STARTED doc/GPSMAPPER )
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-gpsd-2.96.patch
+)
+
+src_configure() {
+ econf \
+ --disable-deprecations \
+ --with-libcurl \
+ --with-expat \
+ --enable-google \
+ --enable-terraserver \
+ --enable-expedia \
+ --enable-openstreetmap \
+ --enable-bluemarble \
+ --enable-geonames \
+ --enable-geocaches \
+ --enable-spotmaps \
+ --disable-dem24k \
+ $(use_enable gps realtime-gps-tracking) \
+ $(use_enable nls)
+}