commit:     c319d22e5ffeaaa58054a136a31ac3fb395b3f25
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 13 05:43:16 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Mar 13 05:43:16 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c319d22e

media-radio/gpredict: [QA] use eautoreconf

Use eautoreconf instead of autogen.sh (handles everything we need, plus
inheriting autotools.eclass guarantees correct dependencies).

Signed-off-by: Sam James <sam <AT> gentoo.org>

 media-radio/gpredict/gpredict-2.3-r1.ebuild | 36 +++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)

diff --git a/media-radio/gpredict/gpredict-2.3-r1.ebuild 
b/media-radio/gpredict/gpredict-2.3-r1.ebuild
new file mode 100644
index 000000000000..a24b2f3a6e4b
--- /dev/null
+++ b/media-radio/gpredict/gpredict-2.3-r1.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools
+
+DESCRIPTION="Real-time satellite tracking and orbit prediction application"
+HOMEPAGE="http://gpredict.oz9aec.net";
+SRC_URI="https://github.com/csete/gpredict/archive/v${PV}.tar.gz -> 
${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}"
+BDEPEND="dev-util/intltool
+       sys-devel/gettext
+       virtual/pkgconfig"
+
+DOCS=( AUTHORS NEWS README )
+
+src_prepare() {
+       eapply_user
+       # remove wrong doc location
+       eapply "${FILESDIR}/${P}-doc.patch"
+       eapply "${FILESDIR}/${PN}-2.2.1-fno-common.patch"
+
+       eautoreconf
+}

Reply via email to