1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
|
# Maintainer: James Bowling <kf5u AT pm DOT me>
pkgname=wsjtx-improved
_pkgname=wsjtx
pkgver=2.7.1
_pkgver="-devel"
_build=241014-RC7
pkgrel=36
pkgdesc="Software for Amateur Radio Weak-Signal Communication (JT9 and JT65) - WSJT-X Improved by DG2YCB"
arch=('i686' 'x86_64' 'aarch64')
url="https://sourceforge.net/projects/wsjt-x-improved/"
license=('GPL3')
depends=(
'fftw'
'hamlib>=4.5'
'libusb'
'portaudio'
'qt5-base'
'qt5-multimedia'
'qt5-serialport'
'qt5-tools'
'readline'
)
makedepends=(
'cmake'
'asciidoc'
'asciidoctor'
'boost'
'gcc-fortran'
'texinfo'
)
install=wsjtx-improved.install
provides=('wsjtx')
conflicts=('wsjtx')
source=("https://downloads.sourceforge.net/project/wsjt-x-improved/WSJT-X_v$pkgver/Source%20code/$_pkgname-${pkgver}${_pkgver}_improved_PLUS_${_build}.tgz")
md5sums=('b06abe47dfde533afe39419984037521')
sha1sums=('16ba642a3290e4875e4d6eed27c46044a60ca864')
options=(!lto)
prepare() {
tar xzf ${_pkgname}-${pkgver}${_pkgver}_improved_PLUS_${_build}.tgz
mkdir -p "$srcdir"/$_pkgname-$pkgver/wsjtx-prefix/build
cd "$srcdir"/$_pkgname-$pkgver/wsjtx-prefix
tar xzf "$srcdir"/$_pkgname-$pkgver/src/wsjtx.tgz
}
build() {
cd "$srcdir"/$_pkgname-$pkgver/wsjtx-prefix/build
cmake \
-Wno-dev \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
../wsjtx
make || return 1
}
package() {
cd "$srcdir"/$_pkgname-$pkgver/wsjtx-prefix/build
make DESTDIR=$pkgdir install
install -Dm644 "$srcdir"/$_pkgname-$pkgver/wsjtx-prefix/wsjtx/sounds/{ContinentOnBand,Continent,CQ,CQZoneOnBand,CQZone,DXcall,DXCCOnBand,DXCC,GridOnBand,Grid,ITUZoneOnBand,ITUZone,MyCall,_Zone}.wav -t "$pkgdir"/opt/wsjtx/sounds
rm -rf "$pkgdir/home"
}
|