blob: f808fcd3ef8f830e72576ef1fad93fc8f0fb3d77 (
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
35
36
37
38
39
40
41
42
|
# Maintainer: SteamedFish <steamedfish@hotmail.com>
pkgname=dumphfdl
pkgver=1.6.1
pkgrel=2
pkgdesc="Multichannel HFDL decoder"
arch=('x86_64' 'aarch64')
url="https://github.com/szpajder/dumphfdl"
license=('GPL3')
depends=('libacars' 'glib2' 'liquid-dsp' 'fftw' 'libconfig' 'soapysdr' 'sqlite' 'statsd-c-client' 'zeromq')
makedepends=('cmake' 'git')
optdepends=(
'libsdrplay: Proprietary API service for SDRplay devices.'
'gperftools: for profiling'
)
source=(
"$pkgname"::"git+https://github.com/szpajder/dumphfdl#tag=v${pkgver}"
detect_liquid_dsp_version.patch
)
sha256sums=(
'SKIP'
'd1c9922e68b08b922865a1cab03b81d0fcadb310f7b664618645f58c0368b93a'
)
prepare() {
cd "$srcdir/$pkgname"
pwd
patch -p1 < $srcdir/detect_liquid_dsp_version.patch
}
build() {
cmake -B build \
-DCMAKE_POLICY_VERSION_MINIMUM=3.5 \
-S "$srcdir/$pkgname" \
-DCMAKE_INSTALL_PREFIX=/usr
make -C build
}
package() {
make -C build DESTDIR="$pkgdir/" install
}
|