summaryrefslogtreecommitdiffstats
path: root/app-misc/navit/navit-9999-r1.ebuild
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2019-09-01 00:00:32 +0200
committerSuren A. Chilingaryan <csa@suren.me>2019-09-01 00:00:32 +0200
commitca9627e70852f6b2e835660df870fe3ab405882d (patch)
tree0a008b1d5b16fa0679a195ed7b5662c7891f591c /app-misc/navit/navit-9999-r1.ebuild
downloaddarklin4-ca9627e70852f6b2e835660df870fe3ab405882d.tar.gz
darklin4-ca9627e70852f6b2e835660df870fe3ab405882d.tar.bz2
darklin4-ca9627e70852f6b2e835660df870fe3ab405882d.tar.xz
darklin4-ca9627e70852f6b2e835660df870fe3ab405882d.zip
Initial import
Diffstat (limited to 'app-misc/navit/navit-9999-r1.ebuild')
-rw-r--r--app-misc/navit/navit-9999-r1.ebuild54
1 files changed, 54 insertions, 0 deletions
diff --git a/app-misc/navit/navit-9999-r1.ebuild b/app-misc/navit/navit-9999-r1.ebuild
new file mode 100644
index 0000000..9c448d7
--- /dev/null
+++ b/app-misc/navit/navit-9999-r1.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="1"
+inherit subversion
+
+DESCRIPTION="An open-source car navigation system with a routing engine."
+HOMEPAGE="http://www.navit-project.org"
+SRC_URI=""
+
+LICENSE="LGPL-2"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="dbus garmin gps gtk nls python sdl speechd"
+
+COMMON_DEPEND="dev-libs/glib:2
+ garmin? ( dev-libs/libgarmin )
+ gtk? ( x11-libs/gtk+:2
+ x11-misc/xkbd )
+ sdl? ( media-libs/libsdl
+ media-libs/sdl-image
+ >=dev-games/cegui-0.5
+ media-libs/quesoglc )
+ python? ( dev-lang/python )
+ dbus? ( sys-apps/dbus )
+ gps? ( sci-geosciences/gpsd )
+ speechd? ( app-accessibility/speechd )"
+DEPEND="${COMMON_DEPEND}
+ dev-util/pkgconfig"
+RDEPEND="${COMMON_DEPEND}"
+
+ESVN_REPO_URI="https://navit.svn.sourceforge.net/svnroot/navit/trunk/navit"
+ESVN_BOOTSTRAP="./autogen.sh"
+
+src_compile() {
+# epatch "${FILESDIR}"/navit-ds-externc.patch || die
+ econf $(use_enable garmin) \
+ $(use_enable gps libgps) \
+ $(use_enable gtk gui-gtk) \
+ $(use_enable sdl gui-sdl) \
+ $(use_enable nls) \
+ $(use_enable dbus binding-dbus) \
+ $(use_enable python binding-python) \
+ $(use_enable speechd speech-speechd) \
+ --disable-graphics-qt-painter \
+ --disable-samplemap
+
+ emake || die "Make failed"
+}
+
+src_install () {
+ emake DESTDIR="${D}" install || die "Install failed"
+}