onair
LOW
maintainer SteamedFish
0 votes
scanned 2026-10-17 15:18:35.857371
Why flagged
Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.
Triggered rules
Low
Few votes, recently uploaded
zero_votes_recent
Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.
PKGBUILD
1
# Maintainer: SteamedFish <steamedfish@hotmail.com>
2
3
pkgname=onair
4
pkgver=0.2.5
5
pkgrel=5
6
pkgdesc="SDR receiver for digital TV (DVB-T/T2, DVB-S/S2, ATSC), DAB+, FM, DRM, ADS-B, GNSS and DMR"
7
arch=('x86_64' 'aarch64')
8
url="https://github.com/adswill/OnAir"
9
license=('GPL-3.0-or-later')
10
# codec2 and mbelib are loaded at run time via dlopen (libcodec2.so.1.2 / libmbe.so.1
11
# are searched in /usr/lib), so the system packages from [extra] are used instead of
12
# the vendored copies. The two do not conflict with the vendored ones either way:
13
# the vendored codec2 is installed as a private libcodec2.so.1.2 under /usr/lib/onair
14
# (merely shadowing the system one at run time) and the vendored mbelib is linked
15
# statically, installing no files at all. If the system libraries ever prove
16
# unusable, fall back to the vendored ones: drop the codec2/mbelib depends and
17
# remove -DDECT2_BUNDLE_CODEC2=OFF and -DDECT2_BUNDLE_MBELIB=OFF below.
18
depends=('ffmpeg' 'glibc' 'libgcc' 'libstdc++' 'glfw' 'hackrf' 'hicolor-icon-theme' 'libusb' 'soapysdr'
19
# dlopen'd at run time, so namcap reports them as "may not be needed" - that is expected
20
'codec2' # FreeDV / M17 voice (dlopen'd, replaces vendored third_party/codec2)
21
'mbelib') # DMR / P25 / NXDN / dPMR / D-STAR voice (dlopen'd, replaces vendored third_party/mbelib)
22
makedepends=('cmake' 'pkgconf')
23
optdepends=('zenity: file dialogs'
24
'soapyrtlsdr: RTL-SDR support through SoapySDR'
25
'soapyairspy: Airspy support through SoapySDR'
26
'soapysdrplay: SDRplay support through SoapySDR')
27
conflicts=('onair-bin')
28
source=("$pkgname-$pkgver.tar.gz::https://github.com/adswill/OnAir/archive/refs/tags/v$pkgver.tar.gz"
29
# the udev-rule / blacklist fix-it hints tell the user to run
30
# install-udev-rules.sh, which only exists in the source tree (the
31
# official .deb has the same dangling hint); the package already
32
# installs 60-onair-sdr.rules and the modprobe blacklists, so reword
33
# the hints to reload the installed rules instead
34
"onair-package-hints.patch")
35
sha256sums=('1b8ab526052feebb2c233b8e8ea24640a0694a2c5e399ff162b59ce05ea56b09'
36
'2c15b70147548b4c50575db6d31dd50b8864344cce0a3e36fd5b94777ecc86ee')
37
38
prepare() {
39
patch -Np1 -d "OnAir-$pkgver" -i "$srcdir/onair-package-hints.patch"
40
}
41
42
build() {
43
# app/dtmb_ui.cpp passes a runtime fmt string to ImGui::Text (safe: callers
44
# pass literals); relax Arch's -Werror=format-security for this build
45
export CXXFLAGS="$CXXFLAGS -Wno-error=format-security"
46
cmake -B build -S "OnAir-$pkgver" \
47
-DCMAKE_BUILD_TYPE=Release \
48
-DCMAKE_INSTALL_PREFIX=/usr \
49
-DDECT2_BUILD_APP=ON \
50
-DDECT2_BUILD_TESTS=ON \
51
-DDECT2_BUNDLE_CODEC2=OFF \
52
-DDECT2_BUNDLE_MBELIB=OFF \
53
-DCMAKE_SKIP_INSTALL_ALL_DEPENDENCY=ON \
54
-DONAIR_VERSION="$pkgver" \
55
-Wno-dev
56
# only the app and the two CLI tools are installed; skip compiling the test
57
# suite and benchmarks that DECT2_BUILD_TESTS=ON would otherwise add to `all`
58
cmake --build build --target dect2 dect2cli dect2scan
59
}
60
61
package() {
62
DESTDIR="$pkgdir" cmake --install build
63
}
64
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-10-17 15:18:35 | Low | 1 |
| 2026-10-17 00:21:55 | Clean | 2 |
| 2026-10-16 11:16:06 | Low | 1 |