-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
-EGIT_REPO_URI="git://lug.rose-hulman.edu/proj/aweather"
-EGIT_BOOTSTRAP="gtkdocize && eautoreconf"
+EAPI=4
+EGIT_REPO_URI="git://pileus.org/aweather"
+EGIT_BOOTSTRAP="eautoreconf"
-inherit autotools gnome2 git
+inherit autotools gnome2 git-2
DESCRIPTION="A weather monitoring program"
-HOMEPAGE="http://lug.rose-hulman.edu/wiki/AWeather"
+HOMEPAGE="http://pileus.org/aweather"
SRC_URI=""
LICENSE="GPL-3"
SLOT="0"
KEYWORDS=""
-IUSE="doc"
+IUSE="gps"
-RDEPEND=">=net-libs/libsoup-2.26
- >=x11-libs/gtk+-2.16
- x11-libs/gtkglext
- sci-libs/rsl"
-
-# gtk-doc-am needed to eautoreconf
-DEPEND="${RDEPEND}
- dev-util/gtk-doc-am
- doc? ( dev-util/gtk-doc )"
+RDEPEND="~sci-libs/grits-9999
+ x11-libs/gtk+:2
+ sci-libs/rsl
+ gps? ( >=sci-geosciences/gpsd-3 )"
+DEPEND="${RDEPEND}"
DOCS="ChangeLog README TODO"
-# Fix for gtk-doc bug
-MAKEOPTS="${MAKEOPTS} -j1"
+pkg_setup() {
+ G2CONF="${G2CONF}
+ $(use_enable gps)"
+}