wsjtx: update to 2.2.0.

This commit is contained in:
bra1nwave 2020-06-05 10:10:46 +02:00 committed by Piraty
parent 59fbe5d81b
commit b7083d7163

View file

@ -1,6 +1,6 @@
# Template file for 'wsjtx'
pkgname=wsjtx
version=2.1.2
version=2.2.0
revision=1
build_wrksrc="wsjtx"
build_style=cmake
@ -10,17 +10,13 @@ hostmakedepends="pkg-config gcc-fortran ruby-asciidoctor asciidoc tar"
makedepends="boost-devel fftw-devel libgomp-devel hamlib-devel libusb-devel qt5-devel
qt5-multimedia-devel qt5-tools-devel qt5-serialport-devel qt5-plugin-mysql
qt5-plugin-odbc qt5-plugin-pgsql qt5-plugin-sqlite qt5-plugin-tds"
depends="qt5-plugin-sqlite"
short_desc="Weak-signal Amateur Radio communication program"
maintainer="bra1nwave <bra1nwave@protonmail.com>"
license="GPL-3.0-or-later"
homepage="https://www.physics.princeton.edu/pulsar/K1JT/wsjtx.html"
distfiles="http://www.physics.princeton.edu/pulsar/K1JT/wsjtx-${version}.tgz"
checksum=d4af8703abc0295bd1242a0707013708f3f2543841656af8961c4bd9cbe3432a
case $XBPS_TARGET_MACHINE in
# aarch64 builders can't fetch the distfile from the orig url.
aarch64*) distfiles="https://sources.voidlinux.org/wsjtx-${version}/wsjtx-${version}.tgz";;
esac
distfiles="https://www.physics.princeton.edu/pulsar/K1JT/wsjtx-${version}.tgz"
checksum=8143f43296dbd1dd21e3ca2ecaca6dfe84aac5e4cc7e01557fe93aba6ef62a3e
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" qt5-qmake qt5-host-tools"
@ -32,6 +28,5 @@ post_extract() {
}
post_install() {
rm -f ${DESTDIR}/usr/bin/rigctl{,d}-wsjtx
rm -f ${DESTDIR}/usr/share/man/man1/rigctl{,d,com}-wsjtx.1.gz
}