summaryrefslogtreecommitdiff
path: root/misc/soapysdr
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2018-06-19 05:09:33 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2018-06-19 05:09:33 +0000
commit9786b44a3dc8f591dfe06182785d791ab39c2e47 (patch)
tree2201ce0466a47e166fb970be54a06409b8036753 /misc/soapysdr
parentlang/phantomjs: Allow building on armv6 and armv7 platforms (diff)
New port: misc/soapysdr: Vendor and platform neutral SDR support library
Notes
Notes: svn path=/head/; revision=472755
Diffstat (limited to 'misc/soapysdr')
-rw-r--r--misc/soapysdr/Makefile20
-rw-r--r--misc/soapysdr/distinfo3
-rw-r--r--misc/soapysdr/files/patch-CMakeLists.txt19
-rw-r--r--misc/soapysdr/files/patch-apps_CMakeLists.txt8
-rw-r--r--misc/soapysdr/pkg-descr10
-rw-r--r--misc/soapysdr/pkg-plist31
6 files changed, 91 insertions, 0 deletions
diff --git a/misc/soapysdr/Makefile b/misc/soapysdr/Makefile
new file mode 100644
index 000000000000..14cf5f01de2d
--- /dev/null
+++ b/misc/soapysdr/Makefile
@@ -0,0 +1,20 @@
+# $FreeBSD$
+
+PORTNAME= SoapySDR
+DISTVERSIONPREFIX= soapy-sdr-
+DISTVERSION= 0.6.1-71
+DISTVERSIONSUFFIX= -g69c16e9
+CATEGORIES= misc
+
+MAINTAINER= yuri@FreeBSD.org
+COMMENT= Vendor and platform neutral SDR support library
+
+LICENSE= BSL
+LICENSE_FILE= ${WRKSRC}/LICENSE_1_0.txt
+
+USES= cmake:outsource
+USE_GITHUB= yes
+GH_ACCOUNT= pothosware
+USE_LDCONFIG= yes
+
+.include <bsd.port.mk>
diff --git a/misc/soapysdr/distinfo b/misc/soapysdr/distinfo
new file mode 100644
index 000000000000..4b890de9045e
--- /dev/null
+++ b/misc/soapysdr/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1529384177
+SHA256 (pothosware-SoapySDR-soapy-sdr-0.6.1-71-g69c16e9_GH0.tar.gz) = 308ea401054eb52bcce828012393fe143174f7b25d0e04ce189c00713645e1b5
+SIZE (pothosware-SoapySDR-soapy-sdr-0.6.1-71-g69c16e9_GH0.tar.gz) = 119259
diff --git a/misc/soapysdr/files/patch-CMakeLists.txt b/misc/soapysdr/files/patch-CMakeLists.txt
new file mode 100644
index 000000000000..1fcf1b378286
--- /dev/null
+++ b/misc/soapysdr/files/patch-CMakeLists.txt
@@ -0,0 +1,19 @@
+--- CMakeLists.txt.orig 2018-06-19 05:01:37 UTC
++++ CMakeLists.txt
+@@ -126,14 +126,14 @@ message(STATUS "########################
+ message(STATUS "## Begin configuration for Python support...")
+ message(STATUS "#############################################")
+ message(STATUS "Enabling optional Python bindings if possible...")
+-add_subdirectory(python)
++#add_subdirectory(python)
+
+ message(STATUS "")
+ message(STATUS "#############################################")
+ message(STATUS "## Begin configuration for Python3 support...")
+ message(STATUS "#############################################")
+ message(STATUS "Enabling optional Python3 bindings if possible...")
+-add_subdirectory(python3)
++#add_subdirectory(python3)
+
+
+ ########################################################################
diff --git a/misc/soapysdr/files/patch-apps_CMakeLists.txt b/misc/soapysdr/files/patch-apps_CMakeLists.txt
new file mode 100644
index 000000000000..9e1f6a5dd603
--- /dev/null
+++ b/misc/soapysdr/files/patch-apps_CMakeLists.txt
@@ -0,0 +1,8 @@
+--- apps/CMakeLists.txt.orig 2018-06-19 05:02:30 UTC
++++ apps/CMakeLists.txt
+@@ -17,4 +17,4 @@ target_link_libraries(SoapySDRUtil ${Soa
+ install(TARGETS SoapySDRUtil DESTINATION bin)
+
+ #install man pages for the application executable
+-install(FILES SoapySDRUtil.1 DESTINATION share/man/man1)
++install(FILES SoapySDRUtil.1 DESTINATION man/man1)
diff --git a/misc/soapysdr/pkg-descr b/misc/soapysdr/pkg-descr
new file mode 100644
index 000000000000..3136b9df0901
--- /dev/null
+++ b/misc/soapysdr/pkg-descr
@@ -0,0 +1,10 @@
+SoapySDR is an open-source generalized C/C++ API and runtime library for
+interfacing with SDR devices. With SoapySDR, you can instantiate, configure,
+and stream with an SDR device in a variety of environments. Both osmosdr and
+uhd devices are available within SoapySDR. In addition, vendors can directly
+support their hardware using SoapySDR device modules. There are wrappers for
+both gr-osmosdr, uhd, and gr-uhd to bring an ecosystem of existing applications
+to SoapySDR devices. And SoapySDR has support for powerful platforms like GNU
+Radio and Pothos.
+
+WWW: https://github.com/pothosware/SoapySDR
diff --git a/misc/soapysdr/pkg-plist b/misc/soapysdr/pkg-plist
new file mode 100644
index 000000000000..020bccb2c4d5
--- /dev/null
+++ b/misc/soapysdr/pkg-plist
@@ -0,0 +1,31 @@
+bin/SoapySDRUtil
+include/SoapySDR/Config.h
+include/SoapySDR/Config.hpp
+include/SoapySDR/Constants.h
+include/SoapySDR/ConverterPrimatives.hpp
+include/SoapySDR/ConverterRegistry.hpp
+include/SoapySDR/Device.h
+include/SoapySDR/Device.hpp
+include/SoapySDR/Errors.h
+include/SoapySDR/Errors.hpp
+include/SoapySDR/Formats.h
+include/SoapySDR/Formats.hpp
+include/SoapySDR/Logger.h
+include/SoapySDR/Logger.hpp
+include/SoapySDR/Modules.h
+include/SoapySDR/Modules.hpp
+include/SoapySDR/Registry.hpp
+include/SoapySDR/Time.h
+include/SoapySDR/Time.hpp
+include/SoapySDR/Types.h
+include/SoapySDR/Types.hpp
+include/SoapySDR/Version.h
+include/SoapySDR/Version.hpp
+lib/libSoapySDR.so
+lib/libSoapySDR.so.0.7
+lib/libSoapySDR.so.0.7.0
+libdata/pkgconfig/SoapySDR.pc
+man/man1/SoapySDRUtil.1.gz
+share/cmake/SoapySDR/SoapySDRConfig.cmake
+share/cmake/SoapySDR/SoapySDRConfigVersion.cmake
+share/cmake/SoapySDR/SoapySDRUtil.cmake