blob: 5276a2fbf2ba535c61e4ff596f277e6854d4a0b3 (
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
43
44
45
46
47
48
|
# Maintainer: Kyle Keen <keenerd@gmail.com>
# Contributor: Dominik Heidler <dheidler@gmail.com>
pkgname=gqrx
pkgver=2.17.5
pkgrel=2
pkgdesc="Interactive SDR receiver waterfall for many devices."
arch=(x86_64)
url="http://gqrx.dk/"
license=(GPL3)
depends=(gcc-libs glibc hicolor-icon-theme libvolk qt6-base qt6-svg)
makedepends=(
boost
cmake
gnuradio
gnuradio-osmosdr
libpulse
)
source=(https://github.com/gqrx-sdr/$pkgname/archive/v$pkgver/$pkgname-v$pkgver.tar.gz)
sha256sums=('d349185b3016bee7ea8f27d89f21eb65f5321e09590538f37186cdef78bf0ed7')
b2sums=('0437438e16c818be645e0ad9de02cb73e783218e06e97ba460a2553b89765b68e72d4c162d6ba0ed52da49795bd2807c9290f41cf20783c691cdd87a1564686c')
build() {
local cmake_options=(
-B build
-D CMAKE_BUILD_TYPE=None
-D CMAKE_INSTALL_PREFIX=/usr
-S $pkgname-$pkgver
-W no-dev
)
cmake "${cmake_options[@]}"
cmake --build build --verbose
}
check() {
ctest --test-dir build --output-on-failure
}
package() {
depends+=(
gnuradio libgnuradio-{analog,blocks,digital,fft,filter,network,pmt,runtime}.so
gnuradio-osmosdr libgnuradio-osmosdr.so
libpulse libpulse.so libpulse-simple.so
)
DESTDIR="$pkgdir" cmake --install build
}
|