summaryrefslogtreecommitdiff
path: root/media-radio/gpredict
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-03-14 12:18:12 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-03-14 12:18:12 +0000
commita18f8581f716592db51c45679c46e319db13ca29 (patch)
tree74125f25c6d522f24e2577328ab2c9f83b35eac2 /media-radio/gpredict
parentc24da107a8903eb6e86d811f19448c01fa81ba15 (diff)
gentoo auto-resync : 14:03:2023 - 12:18:11
Diffstat (limited to 'media-radio/gpredict')
-rw-r--r--media-radio/gpredict/Manifest2
-rw-r--r--media-radio/gpredict/files/gpredict-2.3-gethostbyname.patch32
-rw-r--r--media-radio/gpredict/gpredict-2.3-r2.ebuild37
3 files changed, 71 insertions, 0 deletions
diff --git a/media-radio/gpredict/Manifest b/media-radio/gpredict/Manifest
index 9791ee336e86..800280e7ef25 100644
--- a/media-radio/gpredict/Manifest
+++ b/media-radio/gpredict/Manifest
@@ -1,5 +1,7 @@
AUX gpredict-2.2.1-fno-common.patch 334 BLAKE2B f822b1685c3e5c96a1810c62fb501879cad0c6aeae04ee57845fb0df2cd7c0e4605b668bbb3807723213e896e8feaf19e162ac821c0995a7bf801bcfc8385dee SHA512 7b060f18508202c1b37f6799c83321c0e8a90312e0afa0a24e1ad978458a4a91246892366b39eb505965db1dba13a8cf75d8c2f45e36011d27b99dbdace12f0e
AUX gpredict-2.3-doc.patch 473 BLAKE2B ed1a1a742ca972a53cd2ac35723f5b02eb212f8d6bf4049eef4ae78afbaa50067f8777c0c5614456251e68050e38d4f64f840a3b886024a0d9869f1a163e74de SHA512 af5d9cff76ba3cadea43c664bfa5d3292d1e02765b36776c26346c6a89b146162ca67c1a90c0fb6388a3ccca2cdbd0dedeb2d71e109e8435980aaabbce80fac1
+AUX gpredict-2.3-gethostbyname.patch 712 BLAKE2B 60b75449f0a3fa68e1ecdda1b48c110690853c0393997eb3ded65244c300dde96d6a0eb8362a02a2be655b819f1738605ba9b0a63cae333e64026ffa251ea082 SHA512 22224c729aa2edd5a6e277c2cd16849796de04a0226e4d9919125d4ff4b4da5774128ca6d6afbdcb9835692cfb41ffe402bc41096584f257f4a856c70a6654d2
DIST gpredict-2.3.tar.gz 7742902 BLAKE2B 1ff567871838b062c59ab0076330a354afee082506044f5ce2ae1c7553e7f3462770f7134d13e3b603f7966476d13b365dd3575cc6c7e32d23865ba29b602cc9 SHA512 d7434aff482c943951a79cb607c91f118cfbde8209b4b370d0d2147766244fab2839b5c712864c2c521635f31c484ef2bfd3c771371e946f5a3561801ab474b5
EBUILD gpredict-2.3-r1.ebuild 775 BLAKE2B 0d0630069b8558064977a49a99143c35c7741468396bfe474466fdd0794919ff6de99fb250643b3c9272a016d757e1f6153c96e87af7737638b9400492f3a99d SHA512 de6e03f029dc4744b252ecb208af01189b839e0621217c1fc23cbe69ba6d54a7681dde159e7b24c28d1062eaa89d607443044665c3253af431fd07b7c035a7ea
+EBUILD gpredict-2.3-r2.ebuild 830 BLAKE2B da8c041fe6c15d6ab4764b7825bca0ecc325d65a179a0cb7aeea54896592a6f8b66ccc70d7205547adf7b7c720e9f5f09411291f0bc6a6491b94ba9e859b1d40 SHA512 ea86020ee0299d6f1a0e902ef471d2dd8245705a712ff1292b1657feabeeed5cba74453381165feddb4ef76d5b6345194c0f9413373451ba86d85587ba88d82b
MISC metadata.xml 328 BLAKE2B b4b0687c3d8f2e47cca383f78a620fa997398ceb9cbb01bc10c872d971bb277fee6831b95768f9ef8ccbf86beb120e97f344cfc2ebe2077b9a33fa90db9471e7 SHA512 ca3a9ce7b68a7dcfedd0dd0a64c8c1e34cc07133c4822864b3f55f51356ea615edfca7954414fcdd8607be0e1b9a105797450b0f661d2c16fc773b1e45fa7a71
diff --git a/media-radio/gpredict/files/gpredict-2.3-gethostbyname.patch b/media-radio/gpredict/files/gpredict-2.3-gethostbyname.patch
new file mode 100644
index 000000000000..5fb7c3f3ef3e
--- /dev/null
+++ b/media-radio/gpredict/files/gpredict-2.3-gethostbyname.patch
@@ -0,0 +1,32 @@
+# MUSL needs _GNU_SOURCE defined to work with gethostbyname()
+# see bug# 896424
+diff --git a/src/gtk-rig-ctrl.c b/src/gtk-rig-ctrl.c
+index 288fa42..25de30c 100644
+--- a/src/gtk-rig-ctrl.c
++++ b/src/gtk-rig-ctrl.c
+@@ -34,6 +34,10 @@
+ #include <build-config.h>
+ #endif
+
++#ifndef _GNU_SOURCE
++#define _GNU_SOURCE
++#endif
++
+ #include <gdk/gdkkeysyms.h>
+ #include <glib.h>
+ #include <glib/gi18n.h>
+diff --git a/src/gtk-rot-ctrl.c b/src/gtk-rot-ctrl.c
+index 5ff5d09..f9e3b4c 100644
+--- a/src/gtk-rot-ctrl.c
++++ b/src/gtk-rot-ctrl.c
+@@ -32,6 +32,10 @@
+ #include <build-config.h>
+ #endif
+
++#ifndef _GNU_SOURCE
++#define _GNU_SOURCE
++#endif
++
+ /* NETWORK */
+ #ifndef WIN32
+ #include <arpa/inet.h> /* htons() */
diff --git a/media-radio/gpredict/gpredict-2.3-r2.ebuild b/media-radio/gpredict/gpredict-2.3-r2.ebuild
new file mode 100644
index 000000000000..cf8fa7dccbcf
--- /dev/null
+++ b/media-radio/gpredict/gpredict-2.3-r2.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2023 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"
+ eapply "${FILESDIR}/${PN}-2.3-gethostbyname.patch"
+
+ eautoreconf
+}