336.3. gpredict-2.6
Real-time satellite tracking and pass prediction with radio and rotator control
2.6-1 · GPL-2.0-or-later · 0.3 SBU · 4.7 MiB, 88 files · 44_apps, 10 of 422 · ports/core/astronomy/gpredict
Homepage: https://oz9aec.dk/gpredict/
Depends on: pkgconf, intltool, perl-xml-parser, gettext, glib, gtk3, curl, gpsd, hamlib, librsvg.
Required by: no port names it.
Sources: gpredict-2.6.tar.bz2 (4.4 MiB). Every step kpkg takes applies to this port.
Install: script/chroot/exec.sh bash -c 'source script/phases/44_apps/phase.env && kpkg install gpredict'
build.sh:
./configure \
--prefix=/usr \
--libdir=/usr/lib \
--sysconfdir=/etc \
--disable-nls \
--disable-caches
grep -q '^#define HAS_LIBGPS 1' build-config.h
make
make DESTDIR=$PKG install
for s in 48 64 128 256; do
install -d "$PKG/usr/share/icons/hicolor/${s}x${s}/apps"
rsvg-convert -w $s -h $s icons/gpredict.svg \
-o "$PKG/usr/share/icons/hicolor/${s}x${s}/apps/gpredict.png"
done
cat > "$PKG/usr/share/applications/gpredict.desktop" <<'DESKTOP'
[Desktop Entry]
Type=Application
Name=Gpredict
GenericName=Satellite Tracker
Comment=Track satellites and predict passes, with Doppler tuning and rotator control
Exec=gpredict
Icon=gpredict
Terminal=false
StartupWMClass=gpredict
Categories=HamRadio;Science;Astronomy;Education;Network;
Keywords=satellite;tracking;iss;pass;prediction;orbit;tle;ham;radio;doppler;
DESKTOP
chmod 644 "$PKG/usr/share/applications/gpredict.desktop"
test -x "$PKG/usr/bin/gpredict"
Programs: gpredict.
Directories: /usr/share/gpredict, /usr/share/licenses/gpredict, /usr/share/pixmaps/gpredict.