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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
|
# Maintainer: SteamedFish <steamedfish@hotmail.com>
# Contributor: tjbp (archlinux@tjbp.net)
pkgname='openwebrx-plus-git'
_pkgname='openwebrx'
pkgver=1.2.74.r1.g2438bc1d
pkgrel=1
pkgdesc='Open source, multi-user SDR receiver software with a web interface'
arch=('any')
url='https://luarvique.github.io/ppa/'
license=('AGPL3')
depends=('csdr-luarvique' 'python-csdr-luarvique' 'rtl-sdr' 'owrx_connector-luarvique' 'python-setuptools' 'python-distutils-extra')
install=openwebrx-plus.install
optdepends=(
# decoding
'python-digiham: use digital voice modes'
'codecserver: decode audio data from digital voice modes using the AMBE codec, leagally trustworthy'
'codecserver-softmbe: use LEGALLY DUBIOUS codecs to decode digital voice modes using the AMBE codec'
'codecserver-mbelib-module: use LEGALLY DUBIOUS codecs to decode digital voice modes using the AMBE codec'
'codec2: demodulate FreeDV digital transmissions'
'm17-cxx-demod: demodulate M17 digital voice signals'
'wsjtx: decode FT8, FST4, FST4, Q65 digital modes'
'msk144decoder: decode the MSK144 digimode'
'direwolf: decode Packet Radio and optionally report data back to APRS-IS'
'js8py: decode JS8'
'js8call: decode JS8'
'dream-nox: decode DRM broadcasts'
'dump1090: decode Mode-S and ADS-B traffic'
'rtl_433: decode various signals in the ISM bands'
'dumphfdl: decoding HFDL airplane communications'
'dumpvdl2-git: decoding VDL Mode 2 airplane communications'
'acarsdec: decode ACARS traffic'
'multimon-ng: decode FLEX, POCSAG, and several other digital modes'
'mbelib: Voice codecs for P25, ProVoice, Half Rate'
'redsea: decode RDS information from FM broadcasts'
'python-csdr-eti: decode DAB broadcast signals'
'dablin: decode DAB broadcast signals'
'satdump: receive weather satellite transmissions'
'nrsc5: decode HDRadio broadcasts'
'csdr-cwskimmer: decode multiple CW signals at once'
# tools
'imagemagick: automatically convert received images to the PNG format'
'sox: sound processing tools'
'python-paho-mqtt: send decoded signal data to an MQTT broker for further processing by third-party applications'
'hamlib: synchronize frequency and modulation with external transceivers'
# device support
'soapyrtlsdr: provides additional support for rtl-sdr devices, such as the direct sampling mod'
'soapysdrplay: interfacing with SDRPlay devices'
'soapymiri-git: interfacing with Mirics-based hardware (MSi001 + MSi2500)'
'soapyhackrf: interfacing with HackRF devices'
'libperseus-sdr: use the Microtelecom Perseus HF receiver'
'soapyairspy: interfacing with Airspy devices (Airspy R2, Airspy Mini)'
'soapyairspyhf: interfacing with Airspy HF devices (Airspy HF+, Airspy HF discovery)'
# soapyafedri, no aur package yet
'limesuite: interfacing with LimeSDR device series'
# fifi_sdr, no aur package yet
'soapyplutosdr: interfacing with PlutoSDR devices'
'soapyremote: allows the usage of remote SDR devices using the SoapySDRServer'
'soapyuhd: interfacing with UHD / USRP devices'
# radioberry, no aur package yet
'soapyfcdpp-git: interfacing with the Funcube Dongle Pro+'
'soapybladerf: interfacing with Blade RF devices'
# sddc, no aur package yet
# hpsdr, no aur package yet
# runds, no aur package yet
)
makedepends=('git')
source=(
"$_pkgname"::"git+https://github.com/luarvique/openwebrx.git"
'openwebrx-plus.sysusers'
'openwebrx-plus.tmpfiles'
)
sha256sums=(
'SKIP'
'4ec6dec1df40a1f3db62a2add760f97cf870d65a2c1d5b63cd9b22704754f997'
'eea488bd3f4c76b46bffbf3c88691818f93ad73db98c18659856d1690b0deade'
)
provides=('openwebrx' 'openwebrx-plus')
conflicts=('openwebrx' 'openwebrx-plus')
pkgver() {
cd "$srcdir/$_pkgname"
# use git tag or fall back to number of revisions
( set -o pipefail
git describe --long --tags 2>/dev/null | sed 's/\([^-]*-g\)/r\1/;s/-/./g' ||
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
)
}
build() {
cd "$srcdir/$_pkgname"
python setup.py build
}
package() {
cd "$srcdir/$_pkgname"
python setup.py install --prefix=/usr --root="$pkgdir" --skip-build --optimize=1
for config in bands.json bands-*.json bookmarks.json openwebrx.conf; do
install -Dm 0644 ${config} ${pkgdir}/etc/openwebrx/${config}
done
for config in bookmarks.d/*; do
install -Dm 0644 ${config} ${pkgdir}/etc/openwebrx/${config}
done
install -Dm 0644 ${srcdir}/openwebrx-plus.sysusers ${pkgdir}/usr/lib/sysusers.d/${_pkgname}.conf
install -Dm 0644 ${srcdir}/openwebrx-plus.tmpfiles ${pkgdir}/usr/lib/tmpfiles.d/${_pkgname}.conf
install -Dm 0644 systemd/openwebrx.service ${pkgdir}/usr/lib/systemd/system/openwebrx.service
}
|