# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 inherit eutils DESCRIPTION="Real-time satellite tracking and orbit prediction application" HOMEPAGE="http://gpredict.oz9aec.net" SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~ppc ~x86" IUSE="" RDEPEND="dev-libs/glib:2 x11-libs/gdk-pixbuf[jpeg] x11-libs/gtk+:3 x11-libs/goocanvas:2.0 net-misc/curl" DEPEND="${RDEPEND} dev-util/intltool virtual/pkgconfig sys-devel/gettext" DOCS=( AUTHORS ChangeLog NEWS README ) src_prepare() { eapply_user # remove wrong doc location epatch "${FILESDIR}/${PN}-2.0-doc.patch" } src_install() { emake DESTDIR="${D}" install einstalldocs make_desktop_entry ${PN} "GPredict" "/usr/share/pixmaps/gpredict/icons/gpredict-icon.png" Science }