summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Beierlein <tomjbe@gentoo.org>2017-10-02 18:56:23 +0200
committerThomas Beierlein <tomjbe@gentoo.org>2017-10-02 18:56:23 +0200
commit380ac4dfac703b396e367e8c29d84c86e2888dc4 (patch)
treef03c74cd311db90ce5ae3e7d8311d1458ebd9bf9 /media-radio
parentmedia-libs/mesa: Version bump to 17.2.2 (diff)
downloadgentoo-380ac4dfac703b396e367e8c29d84c86e2888dc4.tar.gz
gentoo-380ac4dfac703b396e367e8c29d84c86e2888dc4.tar.bz2
gentoo-380ac4dfac703b396e367e8c29d84c86e2888dc4.zip
media-radio/gpredict: drop symlink to license (bug #632126)
Package-Manager: Portage-2.3.10, Repoman-2.3.3
Diffstat (limited to 'media-radio')
-rw-r--r--media-radio/gpredict/files/gpredict-1.3-doc.patch15
-rw-r--r--media-radio/gpredict/gpredict-1.3-r2.ebuild38
2 files changed, 53 insertions, 0 deletions
diff --git a/media-radio/gpredict/files/gpredict-1.3-doc.patch b/media-radio/gpredict/files/gpredict-1.3-doc.patch
new file mode 100644
index 00000000000..c4217ad2327
--- /dev/null
+++ b/media-radio/gpredict/files/gpredict-1.3-doc.patch
@@ -0,0 +1,15 @@
+--- Makefile.am.orig 2009-04-19 12:09:03.000000000 +0200
++++ Makefile.am 2009-04-19 12:09:20.000000000 +0200
+@@ -2,12 +2,8 @@
+
+ install-data-local:
+ @$(NORMAL_INSTALL)
+- $(INSTALL_DATA) $(top_srcdir)/AUTHORS $(DESTDIR)$(pkgdatadir)
+- $(INSTALL_DATA) $(top_srcdir)/ChangeLog $(DESTDIR)$(pkgdatadir)
+ $(INSTALL_DATA) $(top_srcdir)/NEWS $(DESTDIR)$(pkgdatadir)
+- $(INSTALL_DATA) $(top_srcdir)/README $(DESTDIR)$(pkgdatadir)
+ $(INSTALL_DATA) $(top_srcdir)/COPYING $(DESTDIR)$(pkgdatadir)
+- $(INSTALL_DATA) $(top_srcdir)/TODO $(DESTDIR)$(pkgdatadir)
+
+ EXTRA_DIST = \
+ autogen.sh \
diff --git a/media-radio/gpredict/gpredict-1.3-r2.ebuild b/media-radio/gpredict/gpredict-1.3-r2.ebuild
new file mode 100644
index 00000000000..4d41ca55836
--- /dev/null
+++ b/media-radio/gpredict/gpredict-1.3-r2.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit autotools 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+:2
+ x11-libs/goocanvas:0
+ net-misc/curl"
+DEPEND="${RDEPEND}
+ dev-util/intltool
+ virtual/pkgconfig
+ sys-devel/gettext"
+
+src_prepare() {
+ # remove wrong doc location
+ epatch "${FILESDIR}/${PN}-1.3-doc.patch"
+ sed -i -e "s/0.15/0.14/g" configure.ac || die
+ eautoreconf
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+ make_desktop_entry ${PN} "GPredict" "/usr/share/pixmaps/gpredict/icons/gpredict-icon.png" Science
+ dodoc AUTHORS ChangeLog NEWS README TODO
+}