summaryrefslogtreecommitdiff
path: root/ham/gr-osmosdr
diff options
context:
space:
mode:
authormef <mef@pkgsrc.org>2014-10-13 13:00:27 +0000
committermef <mef@pkgsrc.org>2014-10-13 13:00:27 +0000
commitb12f8d7110874c40593201e5c06abba7ffaa9acc (patch)
treed0ad864a156f10ceeb010513c1a1b24196bd77f4 /ham/gr-osmosdr
parentd64f1a71ff05197e8c030f429e4c225904d62fa7 (diff)
downloadpkgsrc-b12f8d7110874c40593201e5c06abba7ffaa9acc.tar.gz
Import ham/gr-osmosdr-0.1.3
While primarily being developed for the OsmoSDR hardware, this block as well supports: * FUNcube Dongle through libgnuradio-fcd * FUNcube Dongle Pro+ through gr-fcdproplus * sysmocom OsmoSDR Devices through libosmosdr * RTL2832U based DVB-T dongles through librtlsdr * RTL-TCP spectrum server (see librtlsdr project) * MSi2500 based DVB-T dongles through libmirisdr * gnuradio .cfile input through libgnuradio-blocks * RFSPACE SDR-IQ, SDR-IP, NetSDR (incl. X2 option) * AirSpy Wideband Receiver through libairspy * Great Scott Gadgets HackRF through libhackrf * Nuand LLC bladeRF through libbladeRF library * Ettus USRP Devices through Ettus UHD library * Fairwaves UmTRX through Fairwaves' fork of UHD By using the OsmoSDR block you can take advantage of a common software api in your application(s) independent of the underlying radio hardware.
Diffstat (limited to 'ham/gr-osmosdr')
-rw-r--r--ham/gr-osmosdr/DESCR19
-rw-r--r--ham/gr-osmosdr/Makefile45
-rw-r--r--ham/gr-osmosdr/PLIST29
-rw-r--r--ham/gr-osmosdr/distinfo5
4 files changed, 98 insertions, 0 deletions
diff --git a/ham/gr-osmosdr/DESCR b/ham/gr-osmosdr/DESCR
new file mode 100644
index 00000000000..974a78f3f68
--- /dev/null
+++ b/ham/gr-osmosdr/DESCR
@@ -0,0 +1,19 @@
+While primarily being developed for the OsmoSDR hardware, this block
+as well supports:
+
+ * FUNcube Dongle through libgnuradio-fcd
+ * FUNcube Dongle Pro+ through gr-fcdproplus
+ * sysmocom OsmoSDR Devices through libosmosdr
+ * RTL2832U based DVB-T dongles through librtlsdr
+ * RTL-TCP spectrum server (see librtlsdr project)
+ * MSi2500 based DVB-T dongles through libmirisdr
+ * gnuradio .cfile input through libgnuradio-blocks
+ * RFSPACE SDR-IQ, SDR-IP, NetSDR (incl. X2 option)
+ * AirSpy Wideband Receiver through libairspy
+ * Great Scott Gadgets HackRF through libhackrf
+ * Nuand LLC bladeRF through libbladeRF library
+ * Ettus USRP Devices through Ettus UHD library
+ * Fairwaves UmTRX through Fairwaves' fork of UHD
+
+By using the OsmoSDR block you can take advantage of a common software api in
+your application(s) independent of the underlying radio hardware.
diff --git a/ham/gr-osmosdr/Makefile b/ham/gr-osmosdr/Makefile
new file mode 100644
index 00000000000..e691177f556
--- /dev/null
+++ b/ham/gr-osmosdr/Makefile
@@ -0,0 +1,45 @@
+# $NetBSD: Makefile,v 1.1 2014/10/13 13:00:27 mef Exp $
+
+DISTNAME= gr-osmosdr-0.1.3
+CATEGORIES= ham
+MASTER_SITES+= http://git.osmocom.org/gr-osmosdr/snapshot/
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://git.osmocom.org/gr-osmosdr
+COMMENT= SDR Hardware support for OsmoSDR and so many more
+LICENSE= gnu-gpl-v2
+
+USE_LANGUAGES= c c++
+USE_TOOLS= cmake
+USE_CMAKE= yes
+
+# Suppress warning for developer
+CMAKE_ARGS+= -Wno-dev
+# -- * Ettus USRP Devices
+CMAKE_ARGS+= -DGNURADIO_UHD_INCLUDE_DIRS=${PREFIX}/include/uhd
+CMAKE_ARGS+= -DGNURADIO_BLOCKS_INCLUDE_DIRS=${PREFIX}/include
+
+PLIST_SUBST+= PYSITELIB=${PYSITELIB}
+
+REPLACE_PYTHON+= apps/osmocom_siggen_base.py
+
+.include "../../devel/boost-headers/buildlink3.mk"
+.include "../../devel/boost-libs/buildlink3.mk"
+.include "../../devel/libusb1/buildlink3.mk"
+.include "../../devel/orc/buildlink3.mk"
+
+.include "../../ham/uhd/buildlink3.mk"
+.include "../../lang/python/application.mk"
+.include "../../lang/python/extension.mk"
+
+.include "../../ham/rtl-sdr/buildlink3.mk"
+.include "../../ham/libmirisdr/buildlink3.mk"
+.include "../../ham/osmo-sdr/buildlink3.mk"
+.include "../../ham/gr-fcdproplus/buildlink3.mk"
+.include "../../ham/hackrf/buildlink3.mk"
+
+.include "../../ham/gnuradio-core/buildlink3.mk"
+.include "../../ham/gnuradio-fcd/buildlink3.mk"
+.include "../../ham/gnuradio-uhd/buildlink3.mk"
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/ham/gr-osmosdr/PLIST b/ham/gr-osmosdr/PLIST
new file mode 100644
index 00000000000..3d352542ee9
--- /dev/null
+++ b/ham/gr-osmosdr/PLIST
@@ -0,0 +1,29 @@
+@comment $NetBSD: PLIST,v 1.1 2014/10/13 13:00:27 mef Exp $
+bin/osmocom_fft
+bin/osmocom_siggen
+bin/osmocom_siggen_nogui
+bin/osmocom_spectrum_sense
+include/osmosdr/api.h
+include/osmosdr/device.h
+include/osmosdr/pimpl.h
+include/osmosdr/ranges.h
+include/osmosdr/sink.h
+include/osmosdr/source.h
+include/osmosdr/swig/osmosdr_swig.i
+include/osmosdr/swig/osmosdr_swig_doc.i
+lib/libgnuradio-osmosdr.so
+lib/libgnuradio-osmosdr.so.${PKGVERSION}
+lib/pkgconfig/gnuradio-osmosdr.pc
+${PYSITELIB}/osmosdr/__init__.py
+${PYSITELIB}/osmosdr/__init__.pyc
+${PYSITELIB}/osmosdr/__init__.pyo
+${PYSITELIB}/osmosdr/_osmosdr_swig.so
+${PYSITELIB}/osmosdr/osmocom_siggen_base.py
+${PYSITELIB}/osmosdr/osmocom_siggen_base.pyc
+${PYSITELIB}/osmosdr/osmocom_siggen_base.pyo
+${PYSITELIB}/osmosdr/osmosdr_swig.py
+${PYSITELIB}/osmosdr/osmosdr_swig.pyc
+${PYSITELIB}/osmosdr/osmosdr_swig.pyo
+share/gnuradio/grc/blocks/osmosdr_sink.xml
+share/gnuradio/grc/blocks/osmosdr_source.xml
+share/gnuradio/grc/blocks/rtlsdr_source.xml
diff --git a/ham/gr-osmosdr/distinfo b/ham/gr-osmosdr/distinfo
new file mode 100644
index 00000000000..ba142e63637
--- /dev/null
+++ b/ham/gr-osmosdr/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2014/10/13 13:00:27 mef Exp $
+
+SHA1 (gr-osmosdr-0.1.3.tar.gz) = 15cccc2959800e446288ab65eaf38552e668f5df
+RMD160 (gr-osmosdr-0.1.3.tar.gz) = 10c692db1c43baabea730a3ccc24c4fb1b6c3e52
+Size (gr-osmosdr-0.1.3.tar.gz) = 222638 bytes