blob: 1814e6ee8cba49f701a06c949ff00f9de2baab66 (
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
|
# Maintainer: Petr Kopecky <xkejpi at gmail dot com>
pkgname=abracadabra
_appname=AbracaDABra
pkgver=2.7.1
pkgrel=1
pkgdesc="Abraca DAB radio: DAB/DAB+ Software Defined Radio (SDR)"
arch=("x86_64" "aarch64")
url="https://github.com/KejPi/${_appname}"
license=("MIT")
depends=("faad2" "mpg123" "portaudio" "qt6-multimedia" "qt6-svg" "qt6-imageformats" "qt6-location" "qt6-positioning" "rtl-sdr" "qcustomplot-qt6")
optdepends=("airspy: support for AirSpy devices"
"soapysdr: support for SopaySDR vendor neutral and platform independent SDR support library"
"soapyairspy: Soapy SDR plugin for Airspy"
"soapybladerf: Soapy SDR plugin for bladeRF"
"soapyhackrf: Soapy SDR plugin for HackRF"
"soapyosmo: Soapy SDR plugin for OsmoSDR"
"soapyplutosdr: Soapy SDR plugin for Pluto SDR"
"soapyrtlsdr: Soapy SDR plugin for RTLSDR"
"soapysdrplay: Soapy SDR plugin for SDR Play")
makedepends=("cmake" "gcc" "qt6-tools" "qt6-translations" "qcustomplot")
provides=("${pkgname}")
conflicts=("${pkgname}")
source=("${_appname}-${pkgver}.tar.gz::https://github.com/KejPi/${_appname}/archive/refs/tags/v${pkgver}.tar.gz")
sha256sums=("da93ce5bb7267543dec1aa3d847047470169d81db9d4e086e4ec8b5b5f79b8f6")
build() {
mkdir -p "${srcdir}/${_appname}-${pkgver}/build"
cd "${srcdir}/${_appname}-${pkgver}/build"
cmake "${srcdir}/${_appname}-${pkgver}" -DSOAPYSDR=ON -DAIRSPY=ON -DUSE_SYSTEM_QCUSTOMPLOT=ON -DPROJECT_VERSION_RELEASE=ON
make
}
package() {
cd "${srcdir}/${_appname}-${pkgver}/build"
make DESTDIR=${pkgdir} install
mv "${pkgdir}/usr/local/"* "${pkgdir}/usr/"
rm -r "${pkgdir}/usr/local"
}
|