Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/ham/soapy-sdr ham/soapy-sdr: import soapy-sdr-0.7.2
details: https://anonhg.NetBSD.org/pkgsrc/rev/677e8d413b7b
branches: trunk
changeset: 436377:677e8d413b7b
user: tnn <tnn%pkgsrc.org@localhost>
date: Sat Aug 01 07:46:14 2020 +0000
description:
ham/soapy-sdr: import soapy-sdr-0.7.2
SoapySDR is an open-source generalized 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. Most off the shelf
SDR hardware platforms are supported by SoapySDR, and many open source
applications rely on SoapySDR for hardware integration support. In addition,
SoapySDR has bindings for development frameworks like GNU Radio and Pothos.
diffstat:
ham/soapy-sdr/DESCR | 6 +++++
ham/soapy-sdr/Makefile | 47 +++++++++++++++++++++++++++++++++++++++++++++
ham/soapy-sdr/PLIST | 34 ++++++++++++++++++++++++++++++++
ham/soapy-sdr/buildlink3.mk | 14 +++++++++++++
ham/soapy-sdr/distinfo | 6 +++++
5 files changed, 107 insertions(+), 0 deletions(-)
diffs (127 lines):
diff -r 6772cf375ee1 -r 677e8d413b7b ham/soapy-sdr/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/ham/soapy-sdr/DESCR Sat Aug 01 07:46:14 2020 +0000
@@ -0,0 +1,6 @@
+SoapySDR is an open-source generalized 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. Most off the shelf
+SDR hardware platforms are supported by SoapySDR, and many open source
+applications rely on SoapySDR for hardware integration support. In addition,
+SoapySDR has bindings for development frameworks like GNU Radio and Pothos.
diff -r 6772cf375ee1 -r 677e8d413b7b ham/soapy-sdr/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/ham/soapy-sdr/Makefile Sat Aug 01 07:46:14 2020 +0000
@@ -0,0 +1,47 @@
+# $NetBSD: Makefile,v 1.1 2020/08/01 07:46:14 tnn Exp $
+
+DISTNAME= soapy-sdr-0.7.2
+CATEGORIES= ham
+MASTER_SITES= ${MASTER_SITE_GITHUB:=pothosware/}
+GITHUB_PROJECT= SoapySDR
+GITHUB_TAG= ${DISTNAME}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://github.com/pothosware/SoapySDR/wiki
+COMMENT= Vendor and platform neutral SDR support library
+LICENSE= boost-license
+
+USE_CMAKE= yes
+USE_TOOLS+= pkg-config
+USE_LANGUAGES+= c c++
+
+# Uses PyObject_Compare() (Supports python 3.8 in master branch)
+PYTHON_VERSIONS_ACCEPTED= 27
+PY_PATCHPLIST= yes
+
+.include "../../lang/python/pyversion.mk"
+
+.if !empty(_PYTHON_VERSION:M3*)
+CMAKE_ARGS+= -DPYTHON3_EXECUTABLE=${PYTHONBIN:Q}
+CMAKE_ARGS+= -DPYTHON3_LIBRARIES=${PREFIX:Q}/${PYLIB:Q}
+CMAKE_ARGS+= -DPYTHON3_INCLUDE_DIRS=${PREFIX:Q}/${PYINC:Q}
+.endif
+
+SUBST_CLASSES+= getopt
+SUBST_STAGE.getopt= pre-configure
+SUBST_MESSAGE.getopt= Fixing getopt_long_only
+SUBST_FILES.getopt+= apps/SoapySDRUtil.cpp
+SUBST_SED.getopt+= -e s,getopt_long_only,getopt_long,
+
+SUBST_CLASSES+= mandir
+SUBST_STAGE.mandir= pre-configure
+SUBST_MESSAGE.mandir= Fixing manpage directory
+SUBST_FILES.mandir+= apps/CMakeLists.txt
+SUBST_SED.mandir+= -e 's,share/man,${PKGMANDIR},'
+
+# boost's posix_thread header causes pthread_create() reference
+LDFLAGS+= -lpthread
+
+.include "../../devel/boost-headers/buildlink3.mk"
+.include "../../lang/python/extension.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 6772cf375ee1 -r 677e8d413b7b ham/soapy-sdr/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/ham/soapy-sdr/PLIST Sat Aug 01 07:46:14 2020 +0000
@@ -0,0 +1,34 @@
+@comment $NetBSD: PLIST,v 1.1 2020/08/01 07:46:14 tnn Exp $
+bin/SoapySDRUtil
+include/SoapySDR/Config.h
+include/SoapySDR/Config.hpp
+include/SoapySDR/Constants.h
+include/SoapySDR/ConverterPrimitives.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.${PKGVERSION}
+lib/pkgconfig/SoapySDR.pc
+${PYSITELIB}/SoapySDR.py
+${PYSITELIB}/_SoapySDR.so
+man/man1/SoapySDRUtil.1
+share/cmake/SoapySDR/SoapySDRConfig.cmake
+share/cmake/SoapySDR/SoapySDRConfigVersion.cmake
+share/cmake/SoapySDR/SoapySDRUtil.cmake
diff -r 6772cf375ee1 -r 677e8d413b7b ham/soapy-sdr/buildlink3.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/ham/soapy-sdr/buildlink3.mk Sat Aug 01 07:46:14 2020 +0000
@@ -0,0 +1,14 @@
+# $NetBSD: buildlink3.mk,v 1.1 2020/08/01 07:46:14 tnn Exp $
+
+BUILDLINK_TREE+= soapy-sdr
+
+.if !defined(SOAPY_SDR_BUILDLINK3_MK)
+SOAPY_SDR_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.soapy-sdr+= soapy-sdr>=0.7.2
+BUILDLINK_PKGSRCDIR.soapy-sdr?= ../../ham/soapy-sdr
+
+#.include "../../devel/boost-libs/buildlink3.mk"
+.endif # SOAPY_SDR_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -soapy-sdr
diff -r 6772cf375ee1 -r 677e8d413b7b ham/soapy-sdr/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/ham/soapy-sdr/distinfo Sat Aug 01 07:46:14 2020 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2020/08/01 07:46:14 tnn Exp $
+
+SHA1 (soapy-sdr-0.7.2.tar.gz) = f2639510f2ba006c1f8f96e53de6809dbbf41c51
+RMD160 (soapy-sdr-0.7.2.tar.gz) = bea70c024d73ed0053d4ecc43c9b8a78fb7c60ea
+SHA512 (soapy-sdr-0.7.2.tar.gz) = 2454b9b6bf4542f3bce2c6a8e1c886cee9179ca0e13e3c1e22817a05ef671428a3cb8fea69e496c8b62573f360c248508edf3d0871ec5063dfac8211b122d371
+Size (soapy-sdr-0.7.2.tar.gz) = 124607 bytes
Home |
Main Index |
Thread Index |
Old Index