1 # Maintainer: Kyle Keen <keenerd@gmail.com?>
2 # Contributor: Dominik Heidler <dheidler@gmail.com>
5 pkgname=gnuradio-osmosdr
7 _commit=09257669f52605e2dad71e4035d7a3d73121ac68 # refs/tags/v0.2.4
9 pkgdesc='Source block for Funcube Dongle, RTL-SDR, USRP, OsmoSDR, BladeRF, HackRF and AirSpy devices'
10 url='https://osmocom.org/projects/gr-osmosdr'
32 optdepends=('python-opengl: for osmocom_fft')
33 provides=(libgnuradio-osmosdr.so)
34 replaces=('gr-osmosdr')
35 source=(git+https://gitea.osmocom.org/sdr/$_name.git#tag=$_commit)
41 -D CMAKE_BUILD_TYPE=None
42 -D CMAKE_INSTALL_PREFIX=/usr
43 -D Boost_NO_BOOST_CMAKE=ON
45 # -D ENABLE_AIRSPYHF=ON # TODO: package https://github.com/airspy/airspyhf
47 # -D ENABLE_FCD=ON # TODO: package https://github.com/dl1ksv/gr-funcube
49 # -D ENABLE_FREESRP=ON # TODO: package https://github.com/myriadrf/libfreesrp
51 -D ENABLE_IQBALANCE=ON
52 # -D ENABLE_MIRI=ON # TODO: package https://gitea.osmocom.org/sdr/libmirisdr
54 -D ENABLE_REDPITAYA=ON
60 # -D ENABLE_XTRX=ON # TODO: package https://github.com/xtrx-sdr/libxtrx
65 cmake "${cmake_options[@]}"
71 boost-libs libboost_{chrono,thread}.so
72 gnuradio libgnuradio-{blocks,runtime,pmt,uhd}.so
73 gnuradio-iqbal libgnuradio-iqbalance.so
76 DESTDIR="$pkgdir" cmake --install build