blob: 31334a298336297cf22b680ac50f98cea59528f3 (
plain)
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
|
pkgname=wsjtz
pkgver=2.0.14
pkgrel=1
pkgdesc="Fork of WSJT-X with automation features"
arch=('i686' 'x86_64' 'aarch64')
url="https://github.com/sq9fve/wsjt-z"
license=('GPL-3')
makedepends=(cmake asciidoc asciidoctor boost dos2unix git)
options=('!lto')
depends=(hamlib qt5-base qt5-multimedia qt5-serialport qt5-tools libusb libusb-compat gcc-fortran libpulse libpng fftw qt5-websockets)
provides=(wsjtx)
conflicts=(wsjtx)
source=(https://codeload.github.com/sq9fve/wsjt-z/tar.gz/refs/tags/v$pkgver)
sha512sums=('SKIP')
prepare() {
# fix lib/jplsubs
sed -i '684a\ EXTERNAL SPLIT' $srcdir/wsjt-z-$pkgver/lib/jplsubs.f
}
build() {
cd $srcdir/wsjt-z-$pkgver
mkdir build && cd build
cmake -Wno-dev -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release .. \
-DCMAKE_Fortran_FLAGS="-std=legacy -fallow-argument-mismatch" \
-DCMAKE_CXX_FLAGS="-Wno-error -Wno-maybe-uninitialized" \
-DCMAKE_C_FLAGS="-Wno-error -Wno-maybe-uninitialized"
make || return 1
}
package() {
cd $srcdir/wsjt-z-$pkgver/build
make DESTDIR="${pkgdir}" install
}
|