Gentoo Archives: gentoo-commits

From: Thomas Beierlein <tomjbe@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-radio/gpredict/
Date: Sat, 29 Apr 2017 17:34:00
Message-Id: 1493487187.cd05719d2f648f21e33dc173af530e8ea97b1565.tomjbe@gentoo
1 commit: cd05719d2f648f21e33dc173af530e8ea97b1565
2 Author: Thomas Beierlein <tomjbe <AT> gentoo <DOT> org>
3 AuthorDate: Sat Apr 29 17:30:46 2017 +0000
4 Commit: Thomas Beierlein <tomjbe <AT> gentoo <DOT> org>
5 CommitDate: Sat Apr 29 17:33:07 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd05719d
7
8 media-radio/gpredict: Add missing USE dep (Bug #616414). Thanks J.Haas
9
10 Package-Manager: Portage-2.3.5, Repoman-2.3.2
11
12 media-radio/gpredict/gpredict-1.3-r1.ebuild | 41 +++++++++++++++++++++++++++++
13 1 file changed, 41 insertions(+)
14
15 diff --git a/media-radio/gpredict/gpredict-1.3-r1.ebuild b/media-radio/gpredict/gpredict-1.3-r1.ebuild
16 new file mode 100644
17 index 00000000000..a6dd005587f
18 --- /dev/null
19 +++ b/media-radio/gpredict/gpredict-1.3-r1.ebuild
20 @@ -0,0 +1,41 @@
21 +# Copyright 1999-2017 Gentoo Foundation
22 +# Distributed under the terms of the GNU General Public License v2
23 +
24 +EAPI=5
25 +
26 +inherit autotools eutils
27 +
28 +DESCRIPTION="Real-time satellite tracking and orbit prediction application"
29 +HOMEPAGE="http://gpredict.oz9aec.net"
30 +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
31 +
32 +LICENSE="GPL-2"
33 +SLOT="0"
34 +KEYWORDS="~amd64 ~ppc ~x86"
35 +IUSE=""
36 +
37 +RDEPEND="dev-libs/glib:2
38 + x11-libs/gdk-pixbuf[jpeg]
39 + x11-libs/gtk+:2
40 + x11-libs/goocanvas:0
41 + net-misc/curl"
42 +DEPEND="${RDEPEND}
43 + dev-util/intltool
44 + virtual/pkgconfig
45 + sys-devel/gettext"
46 +
47 +src_prepare() {
48 + # remove wrong doc location
49 + epatch "${FILESDIR}/${PN}-1.1-doc.patch"
50 + sed -i -e "s/0.15/0.14/g" configure.ac || die
51 + eautoreconf
52 +}
53 +
54 +src_install() {
55 + emake DESTDIR="${D}" install
56 + make_desktop_entry ${PN} "GPredict" "/usr/share/pixmaps/gpredict/icons/gpredict-icon.png" Science
57 + # provide a link to GPL license to allow the program to show it (see
58 + # Help->license menu entry)
59 + dosym /usr/portage/licenses/GPL-2 /usr/share/${PN}/COPYING
60 + dodoc AUTHORS ChangeLog NEWS README TODO
61 +}