media-radio/gpredict: add 2.4

Signed-off-by: Mario Haustein <mario.haustein@hrz.tu-chemnitz.de>
Part-of: https://github.com/gentoo/gentoo/pull/45231
Signed-off-by: Thomas Beierlein <tomjbe@gentoo.org>
This commit is contained in:
Mario Haustein
2026-01-02 11:27:48 +01:00
committed by Thomas Beierlein
parent 80227810e0
commit 93dba13bf7
2 changed files with 52 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST gpredict-2.3_p20231224.tar.gz 7719540 BLAKE2B 3febc18a5e69075b8345b695f4286cefb5ee56ae14fee53ff0a3add729e7f03a42626b94bb51d09a8f792c7a8da46a697f0e9f98f6f5cd12a8080369bf2a131d SHA512 e4299eb1b23629f08945a6b0ddfac2d6e78d3588297db441d0440ef714c4daf044fbacfb071c3b9c7f66227053ec27ae94f770f73ee3b352f820c959e657bb6a
DIST gpredict-2.4.tar.bz2 4587954 BLAKE2B b840548878db42cddc76bee03c7397a6b55dea054d15d3aefdf2684b141ae3f6fb668c3b66de6ecda6863d20e979745c5222e7dfaae51f68743415e30f7ac722 SHA512 658eac97691ea2f8330ffe151ca3e3785686e08dee9f5d92cfeccf5b95de21c02697e2aef3f2b5417ce083efc758736757ba06de857e551cd22c859e9955a9ae

View File

@@ -0,0 +1,51 @@
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit autotools xdg
DESCRIPTION="Real-time satellite tracking and orbit prediction application"
HOMEPAGE="http://gpredict.oz9aec.net"
if [[ ${PV} = "9999" ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/csete/gpredict.git"
else
SRC_URI="https://github.com/csete/gpredict/releases/download/v${PV}/${P}.tar.bz2"
KEYWORDS="~amd64 ~ppc ~x86"
fi
LICENSE="GPL-2"
SLOT="0"
RDEPEND="
dev-libs/glib:2
x11-libs/gdk-pixbuf[jpeg]
x11-libs/gtk+:3
x11-libs/goocanvas:3.0
net-misc/curl
"
DEPEND="${RDEPEND}"
BDEPEND="
dev-util/intltool
sys-devel/gettext
virtual/pkgconfig
"
DOCS=( AUTHORS NEWS README )
PATCHES=(
# remove wrong doc location
"${FILESDIR}/${PN}-2.3-doc.patch"
"${FILESDIR}/${PN}-2.3-gethostbyname.patch"
)
src_prepare() {
default
# prepare Version info
if [[ ${PV} != "9999" ]]; then
echo "${PV}" > "${S}"/.tarball-version
fi
eautoreconf
}